Module: Privy::Models::Wallets::TransactionGetParams::Chain

Extended by:
Internal::Type::Enum
Defined in:
lib/privy/models/wallets/transaction_get_params.rb,
sig/privy/models/wallets/transaction_get_params.rbs

Constant Summary collapse

ETHEREUM =

Returns:

  • (:ethereum)
:ethereum
ARBITRUM =

Returns:

  • (:arbitrum)
:arbitrum
BASE =

Returns:

  • (:base)
:base
TEMPO =

Returns:

  • (:tempo)
:tempo
LINEA =

Returns:

  • (:linea)
:linea
OPTIMISM =

Returns:

  • (:optimism)
:optimism
POLYGON =

Returns:

  • (:polygon)
:polygon
SOLANA =

Returns:

  • (:solana)
:solana
SEPOLIA =

Returns:

  • (:sepolia)
:sepolia

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values

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

Instance Method 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.

Parameters:

  • wallet_id (String)

    ID of the wallet.

  • chain (Symbol, Privy::Models::Wallets::TransactionGetParams::Chain)
  • token (String, Array<String>) (defaults to: nil)

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

  • asset (Symbol, Array<Symbol, Privy::Models::WalletAsset>, Privy::Models::Wallets::TransactionGetParams::Asset) (defaults to: nil)

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

  • cursor (String) (defaults to: nil)
  • include_archived (Boolean) (defaults to: nil)

    Include archived wallets in lookup. Defaults to false.

  • limit (Float, nil) (defaults to: nil)
  • tx_hash (String) (defaults to: nil)
  • request_options (Privy::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'lib/privy/models/wallets/transaction_get_params.rb', line 79

module Chain
  extend Privy::Internal::Type::Enum

  ETHEREUM = :ethereum
  ARBITRUM = :arbitrum
  BASE = :base
  TEMPO = :tempo
  LINEA = :linea
  OPTIMISM = :optimism
  POLYGON = :polygon
  SOLANA = :solana
  SEPOLIA = :sepolia

  # @!method self.values
  #   @return [Array<Symbol>]
end

#self?.values::Array[Privy::Models::Wallets::TransactionGetParams::chain]

Returns:

  • (::Array[Privy::Models::Wallets::TransactionGetParams::chain])


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

def self?.values: -> ::Array[Privy::Models::Wallets::TransactionGetParams::chain]