Module: WhopSDK::Models::SwapCreateQuoteParams::ToChain

Extended by:
Internal::Type::Union
Defined in:
lib/whop_sdk/models/swap_create_quote_params.rb,
sig/whop_sdk/models/swap_create_quote_params.rbs

Overview

Destination chain name or chain ID. Defaults to the destination token's chain when omitted.

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

.variantsArray(String, Integer)

Returns:

  • (Array(String, Integer))


# File 'lib/whop_sdk/models/swap_create_quote_params.rb', line 112

Instance Method Details

#self?.variants::Array[WhopSDK::Models::SwapCreateQuoteParams::to_chain]

Returns:

  • (::Array[WhopSDK::Models::SwapCreateQuoteParams::to_chain])


80
# File 'sig/whop_sdk/models/swap_create_quote_params.rbs', line 80

def self?.variants: -> ::Array[WhopSDK::Models::SwapCreateQuoteParams::to_chain]