Preparing search index...
The search index is not available
rubic-sdk
rubic-sdk
DlnOnChainProvider
Class DlnOnChainProvider
Hierarchy
AggregatorOnChainProvider
DlnOnChainProvider
Index
Constructors
constructor
Properties
trade
Type
Methods
calculate
Constructors
constructor
new
Dln
On
Chain
Provider
(
)
:
DlnOnChainProvider
Returns
DlnOnChainProvider
Properties
Readonly
trade
Type
trade
Type
:
"DLN"
= ON_CHAIN_TRADE_TYPE.DLN
Methods
calculate
calculate
(
from
:
PriceTokenAmount
<
"ETH"
|
"BSC"
|
"POLYGON"
|
"AVALANCHE"
|
"ARBITRUM"
|
"OPTIMISM"
|
"LINEA"
|
"BASE"
|
"SOLANA"
>
, toToken
:
PriceToken
<
"ETH"
|
"BSC"
|
"POLYGON"
|
"AVALANCHE"
|
"ARBITRUM"
|
"OPTIMISM"
|
"LINEA"
|
"BASE"
|
"SOLANA"
>
, options
:
DlnOnChainCalculationOptions
)
:
Promise
<
OnChainTrade
|
OnChainTradeError
>
Parameters
from:
PriceTokenAmount
<
"ETH"
|
"BSC"
|
"POLYGON"
|
"AVALANCHE"
|
"ARBITRUM"
|
"OPTIMISM"
|
"LINEA"
|
"BASE"
|
"SOLANA"
>
toToken:
PriceToken
<
"ETH"
|
"BSC"
|
"POLYGON"
|
"AVALANCHE"
|
"ARBITRUM"
|
"OPTIMISM"
|
"LINEA"
|
"BASE"
|
"SOLANA"
>
options:
DlnOnChainCalculationOptions
Returns
Promise
<
OnChainTrade
|
OnChainTradeError
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
rubic-
sdk
Dln
On
Chain
Provider
constructor
trade
Type
calculate
Generated using
TypeDoc