VyBuildTokenSwapRequest
\!! DESCRIPTION MISSING !!
Properties
Field
Type
Description
Required
walletId
string
The wallet `ID` of the source wallet
β
destinationWalletId
string
The wallet `ID` of the destination wallet
β
fromToken
string
Source token contract address
β
toToken
string
Destination token contract address
β
inputAmount
number
The amount of tokens to swap
β
outputAmount
number
The amount of tokens to recieve
β
enableGasEstimate
boolean
Indicate to include gas estimate (response will contain value for the `gas` field). The response will include the `gasLimit` that needs to be used to execute the swap.
β
References
Operation
Last updated