Skip to main content
GET
Reports whether the market’s liquidation threshold may move now and, if not, when it may. While debt is outstanding the market refuses a second threshold move inside 24 hours of the previous one, on top of the 10 percentage point step per update that Update Market Config describes. Read this before building a threshold change. The clock starts at the last configuration write that changed the threshold. A write that leaves the threshold where it is never counts. A debt-free market is not held to the cooldown, but the move it makes starts the clock all the same, so a threshold set just before the first loan opens cannot move again for a day once that loan exists. The last move and the debt are both read from the chain: the market stamps the time of every write that changes the threshold, and the cooldown counts from that stamp, exactly as the contract does. The lending index only adds the transaction and the threshold that write set.

Path Parameters

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

Response Fields

object
When canMoveNow is null, a chain read failed and cooldownRunning reads false. The contract still refuses a move inside the day, so a configuration write built then can revert ConfigChangeTooSoon. Read again before building.

Error Codes