Skip to main content
GET
Reports whether the market’s liquidation router runs the atomic sale, and whether the sale recipient can buy right now. In atomic mode a liquidation sells the seized collateral to the sale recipient at its standing bid and settles the record in the same transaction. If the sale recipient cannot buy, the liquidation reverts and the loan stays liquidatable. In two-step mode, the default, seized collateral waits on the router for the sale desk. See Liquidations. The sale recipient is the wallet the lender of record fixed when it took the role. It buys from its own wallet. It posts a standing bid with Set Sale Bid, a price factor of the oracle price with an expiry, and approves the router to take the payment. The money stays in its wallet until a liquidation sells to it.

When the atomic sale is offered

The atomic sale carries out the free-hand sale of a MARKET-priced market, described under Professional Borrowers, in one transaction. It is offered only on a market priced from a live market price (MARKET) whose lender of record declared EXCHANGE_SALE as its realization mode. The market and its router must both run the implementation that carries it. saleBasis reports the first condition and supported the second, and available is true only when both hold. On any other market Set Atomic Mode refuses to switch atomic mode on, Set Sale Bid refuses a bid above 0 or a non-zero allowance, and Sell Pending Liquidation refuses to sell, all with 409 ATOMIC_SALE_UNAVAILABLE. The router contract itself does not apply this rule. A router that runs atomic mode on such a market, for example one switched directly on chain, reads effective: true with available: false. Liquidate Loan refuses every liquidation there until the router administrator switches the router back to two-step.
The sale recipient can also be the market’s lender of record, collateral agent, liquidation operator or controller. An atomic sale then sells the seized collateral to the lender’s own side, and saleRecipientLenderSide names the roles where the atomic sale can run. Whether such a sale at the standing bid is a free-hand sale at the current price is open with counsel. It may instead be an appropriation that credits the claim at the full price. Until counsel confirms, keep the bid at 100 percent or above, or name an independent sale recipient.

Path Parameters

string
required
The market’s record ID, as id on List Markets, not its contract address. See Market IDs.

Query Parameters

string
A wallet whose router roles to report in signer. Anything that is not a 0x address is ignored.

Response Fields

object

Error Codes

A fact that cannot be read never fails the request. It comes back as null with readFailed: true, which is not a verdict either way.