Positions & Queries
Get User Collateral
Get total collateral deposited by a user across all their loans
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get total collateral deposited by a user across all their loans
curl "https://api.trusset.org/lending-stocks/api/positions/{marketId}/user-collateral/0xabc...def" \
-H "X-API-Key: trusset_your_key_here"
{
"success": true,
"data": {
"userAddress": "0xabc...def",
"collateral": "100.000000000000000000"
}
}
curl "https://api.trusset.org/lending-stocks/api/positions/{marketId}/user-collateral/0xabc...def" \
-H "X-API-Key: trusset_your_key_here"
{
"success": true,
"data": {
"userAddress": "0xabc...def",
"collateral": "100.000000000000000000"
}
}
curl "https://api.trusset.org/lending-stocks/api/positions/{marketId}/user-collateral/0xabc...def" \
-H "X-API-Key: trusset_your_key_here"
{
"success": true,
"data": {
"userAddress": "0xabc...def",
"collateral": "100.000000000000000000"
}
}
