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::Wallets::TransactionGetParams::Chain
- #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
Class Method Summary collapse
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #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 ⇒ Object
51 |
# File 'sig/privy/models/wallets/transaction_get_params.rbs', line 51
def initialize: (
|
Instance Attribute Details
#asset ⇒ Symbol, ...
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 } |
#chain ⇒ Symbol, Privy::Models::Wallets::TransactionGetParams::Chain
20 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 20 required :chain, enum: -> { Privy::Wallets::TransactionGetParams::Chain } |
#cursor ⇒ String?
39 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 39 optional :cursor, String |
#include_archived ⇒ Boolean?
Include archived wallets in lookup. Defaults to false.
45 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 45 optional :include_archived, Privy::Internal::Type::Boolean |
#limit ⇒ Float?
50 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 50 optional :limit, Float, nil?: true |
#token ⇒ String, ...
Exactly one of token or asset is required. Cannot be used together with
asset.
27 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 27 optional :token, union: -> { Privy::Wallets::TransactionGetParams::Token } |
#tx_hash ⇒ String?
55 |
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 55 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 |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 92
|
Instance Method Details
#to_hash ⇒ {
63 |
# File 'sig/privy/models/wallets/transaction_get_params.rbs', line 63
def to_hash: -> {
|