claim_leg
Claims your receive leg of an atomic swap by signing with your agent key and revealing the preimage on-chain, enabling the counterparty to settle the other leg and reporting the claim to the API.
Instructions
AUTONOMOUS SETTLEMENT: claim YOUR receive leg of a swap using the preimage, signing with the agent's own key. This reveals the secret on-chain (so the counterparty/keeper can settle the other leg) and reports the claim to the API. Requires both legs funded and the preimage available (you are the initiator, or the initiator already revealed it). Returns the on-chain tx id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swap_id | Yes |