Skip to main content
GET
Returns the instance’s liquidation bots, newest first, with each bot’s state read from the chain. It also returns the instance’s deployed markets, which are the markets a bot can be connected to. Archived bots are left out unless includeArchived is set. A liquidation bot is a contract the operator deploys and owns, which holds LIQUIDATOR_ROLE on the markets it is connected to so that any caller can trigger a liquidation through it. The owner wallet signs every change to a bot. Trusset holds no key to it and never calls it. Deploy Liquidation Bot explains what it does and who calls it. Chain reads are cached for up to 15 seconds. A read that fails is marked readFailed, never reported as a disconnected market.

Query Parameters

boolean
default:"false"
true or 1 includes archived bots. Any other value counts as false.

Response Fields

object

Error Codes