Class: Privy::Models::Wallets::TransactionGetParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/privy/models/wallets/transaction_get_params.rb,
sig/privy/models/wallets/transaction_get_params.rbs

Overview

See Also:

  • Privy::Resources::Wallets::Transactions#get

Defined Under Namespace

Modules: Asset, Chain, Token

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

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

#initializeObject



51
# File 'sig/privy/models/wallets/transaction_get_params.rbs', line 51

def initialize: (

Instance Attribute Details

#assetSymbol, ...

Exactly one of asset or token is required. Cannot be used together with token.



34
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 34

optional :asset, union: -> { Privy::Wallets::TransactionGetParams::Asset }

#chainSymbol, Privy::Models::Wallets::TransactionGetParams::Chain

Parameters:

  • value (Privy::Models::Wallets::TransactionGetParams::chain)

Returns:



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

required :chain, enum: -> { Privy::Wallets::TransactionGetParams::Chain }

#cursorString?

Parameters:

  • (String)

Returns:

  • (String, nil)


39
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 39

optional :cursor, String

#include_archivedBoolean?

Include archived wallets in lookup. Defaults to false.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


45
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 45

optional :include_archived, Privy::Internal::Type::Boolean

#limitFloat?

Parameters:

  • value (Float, nil)

Returns:

  • (Float, nil)


50
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 50

optional :limit, Float, nil?: true

#tokenString, ...

Exactly one of token or asset is required. Cannot be used together with asset.

Returns:

  • (String, Array<String>, nil)


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

optional :token, union: -> { Privy::Wallets::TransactionGetParams::Token }

#tx_hashString?

Parameters:

  • (String)

Returns:

  • (String, nil)


55
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 55

optional :tx_hash, String

#wallet_idString

ID of the wallet.

Parameters:

  • value (String)

Returns:

  • (String)


15
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 15

required :wallet_id, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/privy/models/wallets/transaction_get_params.rb', line 92

Instance Method Details

#to_hash{

Returns:

  • ({)


63
# File 'sig/privy/models/wallets/transaction_get_params.rbs', line 63

def to_hash: -> {