Module: Privy::Models::Wallets::BalanceGetParams::Asset
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/privy/models/wallets/balance_get_params.rb,
sig/privy/models/wallets/balance_get_params.rbs
Overview
Named asset(s) to query (e.g. eth, usdc). Use together with chain to scope
the query. Cannot be used with token.
collapse
- USDC =
:usdc- USDC_E =
:"usdc.e"- ETH =
:eth- AVAX =
:avax- POL =
:pol- USDT =
:usdt- EURC =
:eurc- USDB =
:usdb- SOL =
:sol
Constant Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Class Method Details
.variants ⇒ Array(Symbol, Array<Symbol, Privy::Models::WalletAsset>)
117 118 119 |
# File 'lib/privy/models/wallets/balance_get_params.rb', line 117 define_sorbet_constant!(:Variants) do T.type_alias { T.any(Privy::Wallets::BalanceGetParams::Asset::TaggedSymbol, T::Array[Privy::WalletAsset::TaggedSymbol]) } end |
Instance Method Details
#self?.variants ⇒ ::Array[Privy::Models::Wallets::BalanceGetParams::asset]
94 |
# File 'sig/privy/models/wallets/balance_get_params.rbs', line 94
def self?.variants: -> ::Array[Privy::Models::Wallets::BalanceGetParams::asset]
|