liquidstaking

Get Rewards

Retrieve comprehensive staking metrics for a given user address. The response details historical reward events, cumulative reward totals (both in ETH and equivalent currency), average APR, and current stake-to-share ratios—offering a full picture of your staking performance and reward accrual.

💡 Compute Unit Value: 10 (Fixed)

get/defi/v1/liquidstaking/getrewards

Request

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

Query parameters

liquidStakingId'1' | '200' | '201' | '2' | '56' | '97' | '137' | '43114' | '900'

The unique ID to specify the liquid staking protocol for routing staking-related queries or transactions.

Example:1
addressstring required

Public address of the user.

Example:0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402
pagestring

The page number that the user wants to fetch. Defaults to 1 if not specified.

Example:1
startBlockstring

Starting block of the range.

Example:100000
endBlockstring

Ending block of the range.

Example:100010

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "events": [
      {
        "apr": "3.937496701524082809229480683079713",
        "block": "18634427",
        "blockTime": "1700742443",
        "id": "0x03f3622b45a9edbfe95325ff82295f5607bad59b0ad2c685b9466a9095ac61da",
        "logIndex": "10",
        "totalPooledEtherAfter": "9157899107759077846808314",
        "totalPooledEtherBefore": "9166748915742419188288274",
        "totalSharesAfter": "7979812024150962005298647",
        "totalSharesBefore": "7988385045435518208987747",
        "type": "reward",
        "reportShares": "18867868971733625201",
        "balance": "21653397335501660877",
        "rewards": "2335643397182351",
        "change": "2335643397182351",
        "currencyChange": "4.826179060422565701819216607798",
        "epochDays": "19684.519016203703703704",
        "epochFullDays": "19684"
      },
      {
        "apr": "4.055508196694252655350449732776334",
        "block": "18627274",
        "blockTime": "1700656079",
        "id": "0xd675c60b908931ab56b5fdabe6ef9e2c087c98d35d90fc1469bfa66767488628",
        "logIndex": "10",
        "totalPooledEtherAfter": "9102161623476534577713402",
        "totalPooledEtherBefore": "9107756642154064122216622",
        "totalSharesAfter": "7932100296676238065535304",
        "totalSharesBefore": "7937857964883158472876527",
        "type": "reward",
        "reportShares": "18867868971733625201",
        "balance": "21651061692104478526",
        "rewards": "2405378167906481",
        "change": "2405378167906481",
        "currencyChange": "4.6676294187476755809931606548492",
        "epochDays": "19683.51943287037037037",
        "epochFullDays": "19683"
      }
    ],
    "totals": {
      "ethRewards": "653197335501660878",
      "currencyRewards": "1173.1516994959593645694978037777253"
    },
    "averageApr": "4.30030827194990587",
    "ethToStEthRatio": 1.000684768587144,
    "stETHCurrencyPrice": {
      "eth": 0.9993157,
      "usd": 3084.04
    },
    "totalItems": 260
  }
}

Changes

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