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

Overview

Defined Under Namespace

Modules: Asset, Chain, Token

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class 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, #initialize, 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

This class inherits a constructor from Privy::Internal::Type::BaseModel

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



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

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

#cursorString?

Returns:

  • (String, nil)


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

optional :cursor, String

#limitFloat?

Returns:

  • (Float, nil)


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

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?

Returns:

  • (String, nil)


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

optional :tx_hash, String

#wallet_idString

ID of the wallet.

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 84