Class: Privy::Models::PrivateKeyInitInput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::PrivateKeyInitInput
- Defined in:
- lib/privy/models/private_key_init_input.rb
Defined Under Namespace
Modules: EntropyType
Instance Attribute Summary collapse
-
#address ⇒ String
The address of the wallet to import.
-
#chain_type ⇒ Symbol, Privy::Models::WalletImportSupportedChains
The chain type of the wallet to import.
-
#encryption_type ⇒ Symbol, Privy::Models::HpkeEncryption
The encryption type of the wallet to import.
- #entropy_type ⇒ Symbol, Privy::Models::PrivateKeyInitInput::EntropyType
Instance Method Summary collapse
-
#initialize(address:, chain_type:, encryption_type:, entropy_type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see PrivateKeyInitInput for more details.
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:, chain_type:, encryption_type:, entropy_type:) ⇒ Object
Some parameter documentations has been truncated, see Privy::Models::PrivateKeyInitInput for more details.
The input for private key wallets.
|
|
# File 'lib/privy/models/private_key_init_input.rb', line 30
|
Instance Attribute Details
#address ⇒ String
The address of the wallet to import.
10 |
# File 'lib/privy/models/private_key_init_input.rb', line 10 required :address, String |
#chain_type ⇒ Symbol, Privy::Models::WalletImportSupportedChains
The chain type of the wallet to import. Currently supports ‘ethereum` and `solana`.
17 |
# File 'lib/privy/models/private_key_init_input.rb', line 17 required :chain_type, enum: -> { Privy::WalletImportSupportedChains } |
#encryption_type ⇒ Symbol, Privy::Models::HpkeEncryption
The encryption type of the wallet to import. Currently only supports ‘HPKE`.
23 |
# File 'lib/privy/models/private_key_init_input.rb', line 23 required :encryption_type, enum: -> { Privy::HpkeEncryption } |
#entropy_type ⇒ Symbol, Privy::Models::PrivateKeyInitInput::EntropyType
28 |
# File 'lib/privy/models/private_key_init_input.rb', line 28 required :entropy_type, enum: -> { Privy::PrivateKeyInitInput::EntropyType } |