Preparing search index...
The search index is not available
rubic-sdk
rubic-sdk
XyDexProvider
Class XyDexProvider
Hierarchy
AggregatorOnChainProvider
XyDexProvider
Index
Constructors
constructor
Properties
trade
Type
Methods
calculate
Constructors
constructor
new
Xy
Dex
Provider
(
)
:
XyDexProvider
Returns
XyDexProvider
Properties
Readonly
trade
Type
trade
Type
:
"XY_DEX"
= ON_CHAIN_TRADE_TYPE.XY_DEX
Methods
calculate
calculate
(
from
:
PriceTokenAmount
<
EvmBlockchainName
>
, toToken
:
PriceToken
<
EvmBlockchainName
>
, options
?:
OnChainCalculationOptions
)
:
Promise
<
OnChainTradeError
|
XyDexTrade
>
Parameters
from:
PriceTokenAmount
<
EvmBlockchainName
>
toToken:
PriceToken
<
EvmBlockchainName
>
Optional
options:
OnChainCalculationOptions
Returns
Promise
<
OnChainTradeError
|
XyDexTrade
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
rubic-
sdk
Xy
Dex
Provider
constructor
trade
Type
calculate
Generated using
TypeDoc