Get a List of Stake & Rewards for Multiple Validators
Stake & Rewards for Multiple Validators
API Parameters
aggregate
- Type: boolean
- Description: Set to true for the rewards to be aggregated across addresses.
- Defaults to:
false
addresses
- Type: array of strings
- Description: A list of addresses.
- Defaults to:
11VR4pF6c7kfBhfmuwwjWY3FodeYBKWx7ix2rsRCU2q6hqJ
Request Header
accept
- Type: string enum
- Defaults to:
application/json - Allowed:
application/jsontext/plain
Example CURL Command
curl --request POST \
--url https://svc.blockdaemon.com/reporting/staking/v1/polkadot/mainnet/validator/rewards \
--header 'X-API-Key: ••••' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"addresses": [\
"11VR4pF6c7kfBhfmuwwjWY3FodeYBKWx7ix2rsRCU2q6hqJ"\
]
}'
Response Status Codes
- 200: Success
- 400: Invalid value for query parameter or body, or both.
- 401: Invalid or expired token
- 404: Not Found
- 405: Method Not Allowed
- 429: Rate Limit Exceeded
- 500: Internal Server Error
- 503: Service Unavailable
Updated 2 months ago