Class: Privy::Models::WalletListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/privy/models/wallet_list_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(authorization_key: nil, chain_type: nil, cursor: nil, external_id: nil, limit: nil, user_id: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Privy::Models::WalletListParams for more details.

Parameters:

  • authorization_key (String) (defaults to: nil)

    Filter wallets by authorization public key. Returns wallets owned by key quorums

  • chain_type (Symbol, Privy::Models::WalletChainType) (defaults to: nil)

    The wallet chain types.

  • cursor (String) (defaults to: nil)
  • external_id (String) (defaults to: nil)

    Filter wallets by external ID.

  • limit (Float, nil) (defaults to: nil)
  • user_id (String) (defaults to: nil)

    Filter wallets by user ID. Cannot be used together with authorization_key.

  • request_options (Privy::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/privy/models/wallet_list_params.rb', line 46

Instance Attribute Details

#authorization_keyString?

Filter wallets by authorization public key. Returns wallets owned by key quorums that include the specified P-256 public key (base64-encoded DER format). Cannot be used together with user_id.

Returns:

  • (String, nil)


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

optional :authorization_key, String

#chain_typeSymbol, ...

The wallet chain types.

Returns:



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

optional :chain_type, enum: -> { Privy::WalletChainType }

#cursorString?

Returns:

  • (String, nil)


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

optional :cursor, String

#external_idString?

Filter wallets by external ID.

Returns:

  • (String, nil)


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

optional :external_id, String

#limitFloat?

Returns:

  • (Float, nil)


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

optional :limit, Float, nil?: true

#user_idString?

Filter wallets by user ID. Cannot be used together with authorization_key.

Returns:

  • (String, nil)


44
# File 'lib/privy/models/wallet_list_params.rb', line 44

optional :user_id, String