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