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", "useRelayer": true}'
{ "success": true, "data": { "txHash": "0xabc...def", "loanId": 5, "amount": "10" } }
Remove excess collateral while keeping the loan healthy