Class: Privy::Models::EmbeddedWalletInputSchema

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

Direct Known Subclasses

EmbeddedWalletConfigSchema

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(create_on_login:, ethereum:, solana:, user_owned_recovery_options:, require_user_owned_recovery_on_create: nil, require_user_password_on_create: nil) ⇒ Object

Input configuration for embedded wallets.

Parameters:



# File 'lib/privy/models/embedded_wallet_input_schema.rb', line 40

Instance Attribute Details

#create_on_loginSymbol, Privy::Models::EmbeddedWalletCreateOnLogin

Whether to create embedded wallets on login.



10
# File 'lib/privy/models/embedded_wallet_input_schema.rb', line 10

required :create_on_login, enum: -> { Privy::EmbeddedWalletCreateOnLogin }

#ethereumPrivy::Models::EmbeddedWalletChainConfig

Chain-specific configuration for embedded wallets.



16
# File 'lib/privy/models/embedded_wallet_input_schema.rb', line 16

required :ethereum, -> { Privy::EmbeddedWalletChainConfig }

#require_user_owned_recovery_on_createBoolean?

Returns:

  • (Boolean, nil)


33
# File 'lib/privy/models/embedded_wallet_input_schema.rb', line 33

optional :require_user_owned_recovery_on_create, Privy::Internal::Type::Boolean

#require_user_password_on_createBoolean?

Returns:

  • (Boolean, nil)


38
# File 'lib/privy/models/embedded_wallet_input_schema.rb', line 38

optional :require_user_password_on_create, Privy::Internal::Type::Boolean

#solanaPrivy::Models::EmbeddedWalletChainConfig

Chain-specific configuration for embedded wallets.



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

required :solana, -> { Privy::EmbeddedWalletChainConfig }

#user_owned_recovery_optionsArray<Symbol, Privy::Models::UserOwnedRecoveryOption>

Returns:



27
28
# File 'lib/privy/models/embedded_wallet_input_schema.rb', line 27

required :user_owned_recovery_options,
-> { Privy::Internal::Type::ArrayOf[enum: Privy::UserOwnedRecoveryOption] }