Swap status
swap_statusAfter swap_tokens: has your user sent the swap, and did it go through on Base? Waits up to 25 seconds for a change. status: waiting (give them approve_url again if needed), approving, swapping, done, failed, changed (what was sent is not what presign-guard checked: tell your user), denied or expired.
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": {
"swap_id": "<swap_id>"
},
"name": "swap_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swap_id | Yes | swap_id from swap_tokens |