Create 8DX Swap Calldata
eightdx_create_swapCreate swap calldata from a quoted path to prepare on-chain transactions. Use it to build unsigned swap transactions without handling private keys or funds.
Instructions
Creates swap calldata from a quoted path. This tool does not sign transactions, does not send transactions, and does not custody funds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"blockchain": "<blockchain>",
"dstAddress": "<dstAddress>",
"path": "<path>"
},
"name": "eightdx_create_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Route path returned by eightdx_get_quote. | |
| permit | No | ||
| deadline | No | ||
| usePermit | No | ||
| blockchain | Yes | Blockchain network with live 8DX API support. | |
| dstAddress | Yes | Destination wallet address for the swap result. Use the token identifier format accepted by the 8DX API. | |
| fromAddress | No | ||
| slippageBps | No | ||
| skipSimulation | No |