Skip to main content
GET
Returns liquidation totals from two sources side by side: counters read from the market contract, and record counts grouped by status from the Trusset database. The endpoint reconciles pending liquidations from the chain before counting, so adopted records are included.

Path Parameters

string
required
Market ID.

Response Fields

object
stuck counts intermediate states produced by the automated sell orchestrator, which external securities markets do not use. It is always 0 here and carries no signal. A settlement that has genuinely stalled shows up as a long-lived pending record. Compare createdAt on Get Pending Liquidations against the 7 day write-off window to find them.
onChain.pendingLiquidationDebt above zero with database.pending at zero means the chain holds unsettled debt the backend has not recorded. Call Get Pending Liquidations, which runs a reconciliation pass and adopts anything missing.