Execute Swap
execute_swapExecute a pre-signed swap transaction with automatic energy delegation. Get the unsigned TX from get_swap_quote, sign it, and submit here. Energy is delegated before broadcast. Works with API key (balance deduction) or x402 USDC payment.
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": {
"txData": "<txData>"
},
"name": "execute_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txData | Yes | Pre-signed swap transaction from get_swap_quote |