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
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.trusset.org/llms.txt

Use this file to discover all available pages before exploring further.

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
    }
  }
}