Swap
Get Quote
This endpoint allows you to retrieve a quote for swapping assets.
Body Parameters
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 |
POST
Authorizations
Path Parameters
Example:
"YOUR_WALLET_ID"
Body
application/json
Example:
"1000"
Example:
"eda105b9-9471-4149-adb3-7dbf285ec0ab"
Example:
"84c8ad33-1450-4d61-9f8f-f0505039f2ec"