Master Wallet Execute
This endpoint allows the execution of a swap.
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 source amount when amountSide is source, or the target amount when amountSide is target. |
| amountSide | false | string | source or target. Defaults to source. Use target to request an exact destination amount. |
| recipientAddress | false | string | The external address you want to swap to. For Stellar destinations, use a G… base account or M… muxed account. |
| recipientRouting | false | object | Supported only when the destination chain is Stellar. G… recipients must use none or memo_id; M… recipients must omit this field. Non-Stellar requests that include this field are rejected. |
| reference | false | string | This would be the transaction reference |
| metadata | false | object | This would be atteched to the transaction payload |
| order | false | string | eg, FASTEST, CHEAPEST, RECOMMENDED, NO_SLIPPAGE |
Autorisations
Paramètres de chemin
"YOUR_WALLET_ID"
Corps
The asset ID to swap from.
"eda105b9-9471-4149-adb3-7dbf285ec0ab"
The asset ID to swap to.
"84c8ad33-1450-4d61-9f8f-f0505039f2ec"
The source amount when amountSide is source, or the target amount when amountSide is target.
"1000"
Use source when amount is the asset amount to spend. Use target when amount is the destination asset amount to receive.
source, target "source"
The external address you want to swap to. For Stellar destinations, send a G... base account or M... muxed account.
Recipient routing is supported only when the destination chain is Stellar. Non-Stellar requests that include this field are rejected. A G... Stellar base account must specify none or memo_id; an M... muxed account already embeds the routing ID and must not include this field. No separate recipient memo field is accepted or exposed. When type is memo_id, the backend normalizes the G... address to an M... address before requesting a quote or execution.
- Option 1
- Option 2
Show child attributes
Show child attributes
Quote preference.
FASTEST, CHEAPEST, RECOMMENDED, NO_SLIPPAGE "RECOMMENDED"

