Skip to main content
POST
/
lending-stocks
/
api
/
liquidations
/
settle
/
{liquidationId}
curl -X POST "https://api.trusset.org/lending-stocks/api/liquidations/settle/4" \
  -H "X-API-Key: trusset_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"usdcProceeds": "4272.50"}'
{
  "success": true,
  "data": {
    "liquidationId": "4",
    "usdcProceeds": "4272.50",
    "txHash": "0xabc...def"
  }
}
Routes USDC proceeds from a completed collateral sale back to the lending market through the liquidation router.
This is a write operation. The relayer must hold sufficient USDC and have OPERATOR_ROLE on the router.

Path Parameters

liquidationId
string
required
Liquidation ID from the router.

Body Parameters

usdcProceeds
string
required
USDC amount to settle (e.g. "4272.50"). Must be positive.
curl -X POST "https://api.trusset.org/lending-stocks/api/liquidations/settle/4" \
  -H "X-API-Key: trusset_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"usdcProceeds": "4272.50"}'
{
  "success": true,
  "data": {
    "liquidationId": "4",
    "usdcProceeds": "4272.50",
    "txHash": "0xabc...def"
  }
}