Get a Stream of Rewards for a Single Address
API Request Parameters
network
- Type: string
- Required: Yes
- Defaults to: mainnet
- Description: The network to look up against.
type
- Type: string
- Required: Yes
- Enum: validatordelegator
- Allowed:
validator,delegator - Description: Specifies whether the request is for a validator or delegator.
address
- Type: string
- Required: Yes
- Defaults to: FQwewNXahV7MiZcLpY6p1xhUs2acVGQ3U5Xxc7FzV571
- Description: The address to look up rewards for.
startTime
- Type: number
- Defaults to: 1709251200
- Description: Epoch-based start time for reward queries. You cannot specify both an epoch and start/end times.
endTime
- Type: number
- Defaults to: 1711929600
- Description: Epoch-based end time for reward queries. You cannot specify both an epoch and start/end times.
epoch
- Type: number
- Defaults to: 755
- Description: The epoch to look up rewards for; you cannot specify both an epoch and start/end times.
period
- Type: string
- Required: Yes
- Defaults to: monthly
- Enum: yearlydailyweeklymonthlyepochraw
- Allowed:
yearly,daily,weekly,monthly,epoch,raw - Description: The type of aggregation to apply.
denomination
- Type: string
- Enum:
- Defaults to: lamports
- Description: The denomination to return the rewards in.
accept
- Type: string
- Enum:
- Defaults to: application/json
- Description: Generated from available response content types.
Example CURL Request
curl --request GET \
--url 'https://svc.blockdaemon.com/reporting/staking/v2/solana/mainnet/validator/rewards/FQwewNXahV7MiZcLpY6p1xhUs2acVGQ3U5Xxc7FzV571?startTime=1709251200&endTime=1711929600&epoch=755&period=monthly&denomination=lamports' \
--header 'X-API-Key: ••••' \
--header 'accept: application/json'
HTTP Response Codes
- 200: OK
- 400: Bad Request
- 422: Validation Error
Last Updated
Updated 2 months ago