lightning_transaction_status
Check a Lightning swap's status by swap ID. Auto-claims L-BTC for settled receives and queries the provider for sends, returning provider status and the preimage once claimed.
Instructions
Check the status of a Lightning swap (send or receive). For receive: auto-claims L-BTC when settled. For send: queries the provider the swap was created with (returned as provider / provider_status) and retrieves the preimage when claimed.
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": "lightning_transaction_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swap_id | Yes | Swap ID returned from lightning_receive or lightning_send |