Skip to main content
GET
Returns the market’s global and per-borrower collateral caps alongside the collateral currently locked. Use this before quoting a borrower a size. Open Loan and Add Collateral refuse a request that would pass either cap with SUPPLY_CAP_EXCEEDED or USER_SUPPLY_CAP_EXCEEDED before a wallet signs, and the contract reverts on it too. The per-borrower cap counts everything a borrower holds as collateral across all of their loans on this market, not the size of one loan. All three values are formatted in the collateral token’s own decimals.

Path Parameters

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

Response Fields

object
Returns data: null if the contract read fails. Both caps are set through Update Market Config.

Error Codes