Get one swap
swap_statusFull state of ONE swap: status, both legs (chain, asset, amount, escrow, funding/claim/refund tx), timelocks, addresses and the hashlock. Use it to follow a swap through settlement; to list swaps use list_swaps.
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": {
"id": "<id>"
},
"name": "swap_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Swap id from list_swaps or the thread once agreed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swap | No |