Class: Privy::Models::CustodialWallet
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::CustodialWallet
- Defined in:
- lib/privy/models/custodial_wallet.rb
Instance Attribute Summary collapse
-
#additional_signers ⇒ Array<Privy::Models::WalletAdditionalSignerItem>?
Additional signers for the wallet.
- #address ⇒ String
-
#chain_type ⇒ Symbol, Privy::Models::CustodialWalletChainType
The chain type of the custodial wallet.
-
#custody ⇒ Privy::Models::WalletCustodian
Information about the custodian managing this wallet.
- #id ⇒ String
- #owner_id ⇒ String?
- #policy_ids ⇒ Array<String>?
Instance Method Summary collapse
-
#initialize(id:, address:, chain_type:, custody:, owner_id:, additional_signers: nil, policy_ids: nil) ⇒ Object
constructor
Information about a custodial wallet.
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(id:, address:, chain_type:, custody:, owner_id:, additional_signers: nil, policy_ids: nil) ⇒ Object
Information about a custodial wallet.
|
|
# File 'lib/privy/models/custodial_wallet.rb', line 44
|
Instance Attribute Details
#additional_signers ⇒ Array<Privy::Models::WalletAdditionalSignerItem>?
Additional signers for the wallet.
37 |
# File 'lib/privy/models/custodial_wallet.rb', line 37 optional :additional_signers, -> { Privy::Internal::Type::ArrayOf[Privy::WalletAdditionalSignerItem] } |
#address ⇒ String
14 |
# File 'lib/privy/models/custodial_wallet.rb', line 14 required :address, String |
#chain_type ⇒ Symbol, Privy::Models::CustodialWalletChainType
The chain type of the custodial wallet.
20 |
# File 'lib/privy/models/custodial_wallet.rb', line 20 required :chain_type, enum: -> { Privy::CustodialWalletChainType } |
#custody ⇒ Privy::Models::WalletCustodian
Information about the custodian managing this wallet.
26 |
# File 'lib/privy/models/custodial_wallet.rb', line 26 required :custody, -> { Privy::WalletCustodian } |
#id ⇒ String
9 |
# File 'lib/privy/models/custodial_wallet.rb', line 9 required :id, String |
#owner_id ⇒ String?
31 |
# File 'lib/privy/models/custodial_wallet.rb', line 31 required :owner_id, String, nil?: true |