Skip to main content
GET
Returns the complete market record plus five enrichment blocks read live from the chain: onChain, oracleStatus, configurationStatus, identityGate, and liquidationStats. The lender-of-record fields are reconciled against the factory on the same call, so curator, seekingCurator, realizationMode, liquidityCommitment and collateralAgent are the chain’s answer rather than a stored one. Unlike List Markets, which returns a fixed projection, this endpoint returns every stored field on the market, including the settlement asset triple and the decimals the backend uses when parsing your amounts.
Each block falls back on its own. One failed read leaves that block null and does not empty the others, and a null block signals an unavailable RPC rather than a misconfigured market.errors names every section that could not be read, as { section, message }. It is empty on a clean read. Branch on it rather than inferring an outage from a null, because some blocks are legitimately null on a market that has no address or no oracle yet.

Path Parameters

string
required
Market ID.

Response Fields

object
An identityGate of shape: "bool" is not a configuration problem that can be fixed. The gate is written at deployment and can never be replaced, so taking the lender-of-record role would revert, and so would every deposit and every borrow. Such a market has to be redeployed, with the identity registry left empty or naming one that answers in the shape the market decodes. note says so in full: show it verbatim.
The configurationStatus block here covers contract wiring only. It does not include the token-side authorizations a market needs before loans can be opened. Use Get Configuration Status or Get Setup Steps for readiness.