FVyBuildTokenSwapRequest

\!! DESCRIPTION MISSING !!

Properties

Field
Type
Description
Required

WalletId

FString

The wallet `ID` of the source wallet

DestinationWalletId

FString

The wallet `ID` of the destination wallet

FromSecretType

The blockchain of source wallet

ToSecretType

The blockchain of the destination wallet

FromToken

FString

Source token contract address

ToToken

FString

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