lendborrow
Exit Market
Process your exit from a lending market. By executing this transaction, you effectively remove your participation (and any associated collateral) from the market, thereby ceasing deposit or borrowing operations on that asset. The endpoint supports customizable gas settings to optimize the exit process.
💡 Compute Unit Value: 10 (Fixed)
post/defi/v1/lendborrow/exitmarket
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/lendborrow/exitmarket
- AuthAPI key in header X-API-Key
Request body
Example request
{
"lendborrowId": "1100",
"asset": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"gas": "100000",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"gasPriority": "low",
"enableFee": false,
"simulate": false
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
"to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
"value": "0",
"gas": "40000",
"data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
"estimationCheck": true,
"referenceId": "2a7d6bd372b14b20b4d854daa01487b3"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.