Skip to main content
GET
Returns the work a market still needs before it can lend, as an ordered checklist. The first step is always a lender of record taking the market. Each step after it names the role required to execute it. Every incomplete step after it comes with ready-to-sign calldata, unless it is blocked or delegated to another party. The checklist fails closed. When the factory cannot be read, or holds no deployment record for the market, the lender-of-record step is reported blocked rather than done, and complete stays false. The token-side steps differ by collateral mode, because freeze markets and custody markets rely on different token-side permissions. They also differ by how the collateral token gates its holders: through a contract allow-list, or through an identity registry.

Path Parameters

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

Response Fields

object

Steps

Every checklist opens with the lender-of-record step and closes with the two steps the market admin and the oracle owner sign. The token-side steps sit between them. A market whose lender of record declared AUCTION as its realization path adds enableAuctionRealization last.
Two step keys differ from the calldata keys they produce: verifyRouterOnRegistry emits verifyRouterAsHolder, and authorizeOracleSigner emits authorizeRelayerOnOracle. Look up calldata by the calldata object’s own keys rather than by step key. Configure Market names the agent-role grant grantAgentRoleToAdapter, not grantAdapterAgentRole.

Blocked Codes

grantAdapterAgentRole reports blocked: true without a code when the token does not implement the freeze interface. That market has to be redeployed in CUSTODY mode.
The token-side steps are executed by whoever administers the collateral token. For an imported third-party security that is the original issuer or its transfer agent, not Trusset and not necessarily you. Plan for that dependency before announcing a market.
Set Liquidator Role builds the same LIQUIDATOR_ROLE grant for any address, for the market admin to sign.

Error Codes