Skip to main content
GET
/
lending-stocks
/
api
/
markets
/
{marketId}
/
configuration-status
curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}/configuration-status" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "liquidationConfigured": true,
    "insuranceFundConfigured": true,
    "routerAuthorized": true,
    "fullyConfigured": true,
    "stockTokenAuthStatus": {
      "marketAuthorized": true,
      "routerAuthorized": true,
      "fullyAuthorized": true
    }
  }
}
Returns the setup status of the market’s infrastructure contracts (liquidation router, insurance fund) and whether the stock token has authorized the market and router contracts.

Path Parameters

marketId
string
required
Market ID.

Response Fields

data
object
curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}/configuration-status" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "liquidationConfigured": true,
    "insuranceFundConfigured": true,
    "routerAuthorized": true,
    "fullyConfigured": true,
    "stockTokenAuthStatus": {
      "marketAuthorized": true,
      "routerAuthorized": true,
      "fullyAuthorized": true
    }
  }
}