Skip to main content
POST
/
lending-stocks
/
api
/
positions
/
{marketId}
/
claim-escrowed-collateral
curl -X POST "https://api.trusset.org/lending-stocks/api/positions/{marketId}/claim-escrowed-collateral" \
  -H "X-API-Key: trusset_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"useRelayer": true}'
{
  "success": true,
  "data": { "txHash": "0xabc...def" }
}

Documentation Index

Fetch the complete documentation index at: https://docs.trusset.org/llms.txt

Use this file to discover all available pages before exploring further.

When a borrower’s KYC expires, collateral returns are held in escrow. After renewing KYC verification, the borrower calls this endpoint to claim their escrowed collateral.

Path Parameters

marketId
string
required
Market ID.

Body Parameters

useRelayer
boolean
default:"false"
Execute via relayer or return calldata.
curl -X POST "https://api.trusset.org/lending-stocks/api/positions/{marketId}/claim-escrowed-collateral" \
  -H "X-API-Key: trusset_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"useRelayer": true}'
{
  "success": true,
  "data": { "txHash": "0xabc...def" }
}