Aqua0
API ReferenceSwaps

Get the lifecycle status of a swap

Returns a focused view of one swap's lifecycle for cheap UI polling: the settlement breakdown plus its cross-chain repayment jobs. Status is COMPLETE (settled and every repayment delivered), SETTLED_DST (settled, repayments still in flight), or UNKNOWN (not yet seen on this server).

GET
/api/swap/status/{swapId}

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Path Parameters

swapId*string

The swap's identifier, returned by /api/swap/authorize or /api/swap/quote.

Response Body

curl -X GET "https://example.com/api/swap/status/string"
Empty
Empty