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