Skip to main content
GET
Returns the unsigned transaction that settles one pending settlement. Use it to recover a payload you did not keep from Submit Order, and to work through the queue from List Pending Settlements. The transaction is rebuilt each time from the signed orders behind the trades, and simulated as the book’s current settlement operator before it is returned. A settlement that can no longer succeed is diagnosed here rather than reverting on chain at your expense. Only the trades still awaiting settlement are included, so a partially confirmed settlement produces a smaller transaction on the second attempt.

Path Parameters

string
required
Settlement ID.

Response Fields

object
A settlement whose revert is permanent is marked FAILED and unwound as it is diagnosed. Permanent means a cancelled or expired signature, an invalidated nonce, an over-filled order, a self-trade, or a side or market mismatch. The trades are reversed and both reservations released, and the request returns the diagnosis rather than a transaction. A transient failure, such as an unreachable node, leaves the settlement pending and is safe to retry.

Error Codes