Skip to main content
GET
Returns the asset register the deployer named for the collateral token behind a market, and whether that register has imported the market. The record opens to every instance that holds a record of the market: the instance that deployed it and the instance of its lender of record. canEdit says which of the two is calling. Only the deploying instance can change the register, with Set Market Register and Clear Market Register.
The asset register is recorded beside the market, not in it. onChain is always false and appliesTo is always TOKEN: the assignment covers every market of the same deployer on the same collateral token.
A register provider does not read this endpoint for its own markets. It holds no record of the market, so the call answers 404 MARKET_NOT_FOUND. It reads List Register Markets instead.

Path Parameters

string
required
The market contract address, 0x followed by 40 hex characters. Lowercase or correctly checksummed.

Response Fields

object

Error Codes