Skip to main content
GET
/
lending-stocks
/
api
/
markets
/
{marketId}
/
supply-caps
curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}/supply-caps" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "maxTotalCollateral": "0.000000000000000000",
    "maxUserCollateral": "0.000000000000000000",
    "currentTotalCollateral": "2500.000000000000000000"
  }
}
Returns the global and per-user collateral caps along with the current total collateral deposited.

Path Parameters

marketId
string
required
Market ID.
curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}/supply-caps" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "maxTotalCollateral": "0.000000000000000000",
    "maxUserCollateral": "0.000000000000000000",
    "currentTotalCollateral": "2500.000000000000000000"
  }
}