Class: Privy::Models::GetByWalletAddressRequestBody
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::GetByWalletAddressRequestBody
- Defined in:
- lib/privy/models/get_by_wallet_address_request_body.rb,
sig/privy/models/get_by_wallet_address_request_body.rbs
Direct Known Subclasses
Instance Attribute Summary collapse
-
#address ⇒ String
A blockchain wallet address.
-
#include_archived ⇒ Boolean?
Include archived wallets in lookup.
Instance Method Summary collapse
-
#initialize(address:, include_archived: nil) ⇒ GetByWalletAddressRequestBody
constructor
Some parameter documentations has been truncated, see GetByWalletAddressRequestBody for more details.
- #to_hash ⇒ { address: String, include_archived: bool }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(address:, include_archived: nil) ⇒ GetByWalletAddressRequestBody
Some parameter documentations has been truncated, see Privy::Models::GetByWalletAddressRequestBody for more details.
Request body for looking up a wallet by its blockchain address.
|
|
# File 'lib/privy/models/get_by_wallet_address_request_body.rb', line 21
|
Instance Attribute Details
#address ⇒ String
A blockchain wallet address. Ethereum addresses are normalized to EIP-55 checksum format. Solana addresses are validated as base58. All other chain addresses (Stellar, Tron, Sui, Aptos, etc.) are accepted as-is.
12 |
# File 'lib/privy/models/get_by_wallet_address_request_body.rb', line 12 required :address, String |
#include_archived ⇒ Boolean?
Include archived wallets in lookup. Defaults to false (archived wallets return 404).
19 |
# File 'lib/privy/models/get_by_wallet_address_request_body.rb', line 19 optional :include_archived, Privy::Internal::Type::Boolean |
Instance Method Details
#to_hash ⇒ { address: String, include_archived: bool }
15 |
# File 'sig/privy/models/get_by_wallet_address_request_body.rbs', line 15
def to_hash: -> { address: String, include_archived: bool }
|