Get a Stream of Rewards for a Single Address
Network
Type: string
Required: Yes
Defaults to mainnet
The network to look up against.
Type
Type: string
Enum:
Required: Yes
Allowed: validator, delegator
The type of request.
Address
Type: string
Required: Yes
Defaults to 0xAB30eF276ADC2bE22CE58d75B4F4009173A73676
The address to look up rewards for.
Start Time
Type: number
Defaults to 1706659200
Epoch-based start time for reward queries. You cannot specify both an epoch and start/end times.
End Time
Type: number
Defaults to 1712059200
Epoch-based end time for reward queries. You cannot specify both an epoch and start/end times.
Epoch
Type: number
Defaults to 80000
The epoch to look up rewards for; you cannot specify both an epoch and start/end times.
Period
Type: string
Enum:
Required: Yes
Defaults to monthly
Allowed: yearly, monthly, raw, daily, weekly, epoch
The type of aggregation to apply.
Denomination
Type: string
Enum:
Defaults to wei
Allowed: wei, kwei, mwei, gwei, szabo, finney, ether, pol, mpl, gpol, polt
The denomination to return the rewards in.
Accept
Type: string
Enum:
Defaults to application/json
Allowed: application/json, application/x-ndjson
Generated from available response content types.
Example CURL Request
curl --request GET \
--url 'https://svc.blockdaemon.com/reporting/staking/v2/polygon/mainnet/validator/rewards/0xAB30eF276ADC2bE22CE58d75B4F4009173A73676?startTime=1706659200&endTime=1712059200&epoch=80000&period=monthly&denomination=wei' \
--header 'X-API-Key: ••••' \
--header 'accept: application/json'
Response Codes
200 - OK
400 - Bad Request
422 - Validation Error
Updated 2 months ago.