Class: Privy::Models::Wallets::TransactionGetParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::Wallets::TransactionGetParams
- 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
Defined Under Namespace
Instance Attribute Summary collapse
-
#asset ⇒ Symbol, ...
Exactly one of
assetortokenis required. -
#chain ⇒ Symbol, Privy::Models::TransactionChainNameInput
Chains supported for transaction history queries.
- #cursor ⇒ String?
-
#include_archived ⇒ Boolean?
Include archived wallets in lookup.
- #limit ⇒ Float?
-
#token ⇒ String, ...
Exactly one of
tokenorassetis required. - #tx_hash ⇒ String?
-
#wallet_id ⇒ String
ID of the wallet.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(wallet_id:, chain:, token: nil, asset: nil, cursor: nil, include_archived: nil, limit: nil, tx_hash: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see TransactionGetParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(wallet_id:, chain:, token: nil, asset: nil, cursor: nil, include_archived: nil, limit: nil, tx_hash: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Privy::Models::Wallets::TransactionGetParams for more details.
|
|
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 58
|
Instance Attribute Details
#asset ⇒ Symbol, ...
Exactly one of asset or token is required. Cannot be used together with
token.
35 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 35 optional :asset, union: -> { Privy::Wallets::TransactionGetParams::Asset } |
#chain ⇒ Symbol, Privy::Models::TransactionChainNameInput
Chains supported for transaction history queries.
21 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 21 required :chain, enum: -> { Privy::TransactionChainNameInput } |
#cursor ⇒ String?
40 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 40 optional :cursor, String |
#include_archived ⇒ Boolean?
Include archived wallets in lookup. Defaults to false.
46 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 46 optional :include_archived, Privy::Internal::Type::Boolean |
#limit ⇒ Float?
51 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 51 optional :limit, Float, nil?: true |
#token ⇒ String, ...
Exactly one of token or asset is required. Cannot be used together with
asset.
28 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 28 optional :token, union: -> { Privy::Wallets::TransactionGetParams::Token } |
#tx_hash ⇒ String?
56 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 56 optional :tx_hash, String |
#wallet_id ⇒ String
ID of the wallet.
15 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 15 required :wallet_id, String |
Instance Method Details
#to_hash ⇒ {
63 |
# File 'sig/privy/models/wallets/transaction_get_params.rbs', line 63
def to_hash: -> {
|