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
float
The amount of tokens to swap
β
OutputAmount
float
The amount of tokens to recieve
β
EnableGasEstimate
bool
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