This endpoint allows you to retrieve a quote for swapping assets.
Key | Required | Type | Description |
---|---|---|---|
fromAssetId | true | string | The master wallet asset id to swap from. |
toAssetId | true | string | The master wallet asset id to swap to. |
amount | true | string | The amount to swap. |
recipientAddress | false | string | The external address you want to swap to |
order | false | string | eg, FASTEST, CHEAPEST, RECOMMENDED, NO_SLIPPAGE |
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
"YOUR_WALLET_ID"
"ADDRESS_ID"
The body is of type any
.
200 - External Recipient Address / 200 - Recipient Master Wallet
The response is of type object
.