The steps this route will take. Used to show the route breakdown.
Number of steps the route will take.
Optional
price?: stringExpected price of toToken
.
Optional
minMinimum accepted price for a successful transaction.
Optional
fromPrice of fromToken
in US dollars.
Optional
fromAmount of fromToken
to send.
Optional
fromValue of fromTokenAmount
in US dollars.
Optional
toPrice of toToken
in US dollars.
Optional
toExpected amount of toToken
to receive.
Optional
toValue of toTokenAmount
in US dollars.
Optional
expectedExpected slippage calculated from fromTokenAmountUsdValue
and toTokenAmountUsdValue
.
If the value returned is < 0, the zap is expected to result in positive slippage.
Optional
minMinimum amount of the to token the user is willing to accept for a successful transaction.
Optional
from?: Web3AddressUser address who should be sending the tx.
Optional
to?: Web3AddressContract address where the unsigned transaction needs to be sent.
Optional
data?: stringUnsigned transaction data.
Optional
value?: stringAmount of native tokens that need to be sent.
Optional
gasOptional
gasOptional
feeOptional
feeService fee denoted in the 'from' token units
Optional
bridgeBridge fee value in US dollars.
Optional
feeService fee value in US dollars.
Generated using TypeDoc
Whether the route is supported or not.