Skip to main content
POST
Triggers liquidation of an unhealthy loan. The oracle is updated automatically if stale. Depending on market configuration, this creates either an instant liquidation (collateral sent to the router) or a Dutch auction. When autoSell is true (default), the orchestrator attempts to sell the seized collateral through the configured order book and settle proceeds back to the lending pool.
This is a write operation. Requires LIQUIDATOR_ROLE granted to the registered wallet on the market contract.

Path Parameters

string
required
Market ID.
integer
required
On-chain loan ID.

Body Parameters

boolean
default:"true"
Whether to automatically route seized collateral through the order book.
string
Hash of the transaction you broadcast for this operation. Send it to confirm the transaction and record the result. Omit it to receive the calldata.