Get swap status
get_swapA swap's live status: waiting (for the deposit), confirming, exchanging, sending, finished, failed, refunding, refunded, expired, verifying (held for an ID check), action_required or unknown. instructions is the next step, for the user. Read it again after poll_after seconds, not sooner (each read asks the exchange), until is_final.
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": "get_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swap_id | Yes | The id create_swap returned ('sw_...'). |