Get a Stream of Rewards
Network
The network to look up against.
Allowed
mainnetholeskyhoodi
Start Time
Epoch-based start time for reward queries.
End Time
Epoch-based end time for reward queries.
Epoch
The epoch to look up rewards for.
Addresses
List of addresses to retrieve rewards for.
Required
- Addresses (array of strings)
Period
How the data is aggregated.
Defaults to monthly
Allowed
yearlydailyweeklymonthlyepochraw
Aggregate
Whether to aggregate across provided addresses or per address - true to aggregate across all addresses.
Defaults to false
Denomination
Denomination
Defaults to wei
Allowed
weikweimweigweiszabofinneyetherkethermethergethertether
Accept
Generated from available response content types.
Defaults to application/json
Allowed
application/jsonapplication/x-ndjson
API Example
curl --request POST \
--url https://svc.blockdaemon.com/reporting/staking/v2/ethereum/mainnet/validator/rewards \
--header 'X-API-Key: ••••' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '\n{\n "period": "monthly",\n "aggregate": false,\n "denomination": "wei"\n}\n'
Responses
| Status Code | Meaning |
|---|---|
200 |
OK |
400 |
Bad Request |
422 |
Validation Error |
Updated 2 months ago.