curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}" \
-H "X-API-Key: trusset_your_key_here"
{
"success": true,
"data": {
"id": "clx_market_001",
"marketAddress": "0x70A0...",
"stockTokenSymbol": "tAAPL",
"onChain": {
"isOnChain": true,
"totalDeposits": "500000.000000",
"totalBorrows": "125000.000000",
"availableLiquidity": "375000.000000",
"activeLoans": 12,
"activeAuctions": 0
},
"oracleStatus": {
"price": "185.500000",
"isStale": false,
"priceAge": 1200,
"signerAuthorized": true
},
"configurationStatus": {
"fullyConfigured": true,
"routerAuthorized": true
},
"liquidationStats": {
"totalLiquidations": 3,
"pendingLiquidationDebt": "0.000000",
"totalAuctions": 1
}
}
}
Retrieve detailed information for a single lending market
curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}" \
-H "X-API-Key: trusset_your_key_here"
{
"success": true,
"data": {
"id": "clx_market_001",
"marketAddress": "0x70A0...",
"stockTokenSymbol": "tAAPL",
"onChain": {
"isOnChain": true,
"totalDeposits": "500000.000000",
"totalBorrows": "125000.000000",
"availableLiquidity": "375000.000000",
"activeLoans": 12,
"activeAuctions": 0
},
"oracleStatus": {
"price": "185.500000",
"isStale": false,
"priceAge": 1200,
"signerAuthorized": true
},
"configurationStatus": {
"fullyConfigured": true,
"routerAuthorized": true
},
"liquidationStats": {
"totalLiquidations": 3,
"pendingLiquidationDebt": "0.000000",
"totalAuctions": 1
}
}
}
onChain metrics, oracleStatus, configurationStatus, and liquidationStats.curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}" \
-H "X-API-Key: trusset_your_key_here"
{
"success": true,
"data": {
"id": "clx_market_001",
"marketAddress": "0x70A0...",
"stockTokenSymbol": "tAAPL",
"onChain": {
"isOnChain": true,
"totalDeposits": "500000.000000",
"totalBorrows": "125000.000000",
"availableLiquidity": "375000.000000",
"activeLoans": 12,
"activeAuctions": 0
},
"oracleStatus": {
"price": "185.500000",
"isStale": false,
"priceAge": 1200,
"signerAuthorized": true
},
"configurationStatus": {
"fullyConfigured": true,
"routerAuthorized": true
},
"liquidationStats": {
"totalLiquidations": 3,
"pendingLiquidationDebt": "0.000000",
"totalAuctions": 1
}
}
}