Get swap status
get_swap_statusRead-onlyIdempotent
Step 3. waiting_for_funding -> deposit_detected -> swap_processing -> completed, or refunding / terminal_failure (outcome refunded, failed, expired). Long-poll with waitSec 25 and sinceState = the last state; repeat next until terminal. Call it before funding or showing a deposit again. payment: what your wallet will sign; sign only if paymentCheck.safeToSend.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | ||
| verify | No | Destination address (optional extra check). | |
| orderId | Yes | From create_swap or list_swaps. | |
| payment | No | Unsigned only: tx JSON {to,data,value,chainId}, an ethereum:/monero: URI, calldata or an unsigned raw tx. Never a signed transaction. | |
| waitSec | No | Long-poll seconds for a change from sinceState (max 25; more is capped). | |
| sinceState | No | State from your previous call. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| next | Yes | ||
| error | No | ||
| state | No | ||
| status | No | ||
| waited | No | ||
| deposit | No | ||
| orderId | No | ||
| outcome | No | ||
| payable | No | ||
| evidence | No | ||
| received | No | ||
| terminal | No | ||
| trackUrl | No | ||
| attention | No | ||
| mayChange | No | ||
| operation | Yes | ||
| destination | No | ||
| userMessage | No | ||
| paymentCheck | No | ||
| payableReason | No | ||
| receivedBelowMinimum | No |