VySwapRequestDto
\!! 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 | ✗ |
FromSecretType | The blockchain of source wallet | ✗ | |
ToSecretType | The blockchain 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 | ✗ |
OrderType | The type of order. We only allow `SELL` and `BUY`. | ✗ | |
Exchange | The name of exchange to use for the swap | ✗ | |
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