Get the Historical Stake & Rewards of a Validator

Address

string
required
^1[a-zA-Z0-9]{40,50}$
Defaults to 11VR4pF6c7kfBhfmuwwjWY3FodeYBKWx7ix2rsRCU2q6hqJ
A single public address to check.

fromTime

int64
required
Defaults to 1678174507000
The millisecond timestamp from which you wish to retrieve the historical stake and rewards.

toTime

int64
required
Defaults to 1678779307000
The millisecond timestamp until which you wish to retrieve the historical stake and rewards.

timeUnit

string
enum
required
Defaults to week
This parameter is used to aggregate rewards. It must be one of era, day, week, or month.

Allowed values:

accept

string
enum
Defaults to application/json
Generated from available response content types

Allowed values:

HTTP Status Codes

Example Call

curl --request POST \
     --url https://svc.blockdaemon.com/reporting/staking/v1/polkadot/mainnet/validator/history/11VR4pF6c7kfBhfmuwwjWY3FodeYBKWx7ix2rsRCU2q6hqJ \
     --header 'X-API-Key: ••••' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{
  "fromTime": 1678174507000,
  "toTime": 1678779307000,
  "timeUnit": "week"
}'

Response Content Types

Update: 2 months ago