Markets
Get Supply Caps
Read collateral caps and current usage
GET
Returns the market’s global and per-borrower collateral caps alongside the collateral currently locked. Use this before quoting a borrower a size, since a loan that would push total collateral past
maxTotalCollateral reverts at the contract.
All three values are formatted in the collateral token’s own decimals.
Path Parameters
string
required
Market ID.
Response Fields
object
Returns
data: null if the contract read fails. Both caps are set through Update Market Config.