lendborrow

Get Claimed Rewards

Fetch the history and cumulative amount of protocol rewards you have claimed. This endpoint provides insight into your reward accrual over time, helping you track your earnings and assess the overall profitability of your lending activities.

💡 Compute Unit Value: 100 (Fixed)

get/defi/v1/lendborrow/getclaimedrewards

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/lendborrow/getclaimedrewards
  • Auth
    API key in header X-API-Key

Query parameters

lendborrowId'1300' | '1302'

The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.

Example:1300
addressstring required

Public address of the user to retrieve claimed rewards for.

Example:0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402
marketstring

Standard market choice like USDC or WETH. Defaults to USDC if not specified.

Example:USDC

Response

Successful response

statusnumber

Numeric status code indicating success or failure of the API call

msgstring

Human-readable message describing the API result or error

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "rewardAccured": "249597000000000000"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.