Borrowing
Withdraw Collateral
Remove excess collateral while keeping the loan healthy
POST
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Remove excess collateral while keeping the loan healthy
curl -X POST "https://api.trusset.org/lending-stocks/api/positions/{marketId}/withdraw-collateral" \
-H "X-API-Key: trusset_your_key_here" \
-H "Content-Type: application/json" \
-d '{"loanId": 5, "amount": "10"}'
{
"success": true,
"data": { "txHash": "0xabc...def", "loanId": 5, "amount": "10" }
}
curl -X POST "https://api.trusset.org/lending-stocks/api/positions/{marketId}/withdraw-collateral" \
-H "X-API-Key: trusset_your_key_here" \
-H "Content-Type: application/json" \
-d '{"loanId": 5, "amount": "10"}'
{
"success": true,
"data": { "txHash": "0xabc...def", "loanId": 5, "amount": "10" }
}
curl -X POST "https://api.trusset.org/lending-stocks/api/positions/{marketId}/withdraw-collateral" \
-H "X-API-Key: trusset_your_key_here" \
-H "Content-Type: application/json" \
-d '{"loanId": 5, "amount": "10"}'
{
"success": true,
"data": { "txHash": "0xabc...def", "loanId": 5, "amount": "10" }
}
