Class: Privy::Models::ExportSeedPhraseRpcInput

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/export_seed_phrase_rpc_input.rb

Defined Under Namespace

Modules: Method

Instance Attribute Summary collapse

Instance Method Summary collapse

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:, method_:, params:) ⇒ Object

Exports the seed phrase of the wallet.

Parameters:



# File 'lib/privy/models/export_seed_phrase_rpc_input.rb', line 22

Instance Attribute Details

#addressString

Returns:

  • (String)


9
# File 'lib/privy/models/export_seed_phrase_rpc_input.rb', line 9

required :address, String

#method_Symbol, Privy::Models::ExportSeedPhraseRpcInput::Method



14
# File 'lib/privy/models/export_seed_phrase_rpc_input.rb', line 14

required :method_, enum: -> { Privy::ExportSeedPhraseRpcInput::Method }, api_name: :method

#paramsPrivy::Models::SeedPhraseExportInput

Input for exporting a wallet (private key or seed phrase) with HPKE encryption.



20
# File 'lib/privy/models/export_seed_phrase_rpc_input.rb', line 20

required :params, -> { Privy::SeedPhraseExportInput }