Swap status
swap_statusCheck the status of one swap or list every swap made by this kit, including stage, outcome, deadlines, and transaction details; read-only and changes nothing.
Instructions
Show the status of one swap, or of every swap this kit has made. Read-only and instant: it reads the kit's local swap records and changes nothing. Returns swaps, a list (empty when swap_id is unknown). Each entry has swap_id, stage and stage_label, step and steps_total, done, outcome (delivered, settled, refunded or failed), usdc_in, bsv_quoted, bsv_received once settled, deliver_to, eta_minutes, deadlines, txids with explorer links, needs_attention and what_to_do. To wait for the next change, use wait_for_swap rather than calling this in a loop.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "swap_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swap_id | No | Optional swap_id from swap_asset_to_bsv. Omit it to list every swap this kit has made. |