lendborrow
Claim Rewards
Trigger a transaction to claim any accrued rewards from your participation in lending protocols. This endpoint collects your earned rewards and returns detailed transaction data, such as sender/receiver addresses, gas usage, and a reference ID. Customizable gas parameters allow you to optimize for transaction speed and cost.
💡 Compute Unit Value: 125 (Fixed)
post/defi/v1/lendborrow/claimrewards
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/lendborrow/claimrewards
- AuthAPI key in header X-API-Key
Request body
Example request
{
"lendborrowId": "1300",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"gas": "100000",
"gasPriority": "low",
"market": "USDC",
"enableFee": false,
"simulate": false
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0x6Fb447Ae94F5180254D436A693907a1f57696900",
"to": "0x1B0e765F6224C21223AeA2af16c1C46E38885a40",
"value": "0",
"gas": "5300000",
"estimationCheck": true,
"data": "0xb7034f7e000000000000000000000000c3d688b66703497daa19211eedff47f25384cdc30000000000000000000000006fb447ae94f5180254d436a693907a1f576969000000000000000000000000000000000000000000000000000000000000000001",
"referenceId": "782d9a6145af46d8b80a844263817758"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.