Get a Yield for a Validator Address
Network
- Type:
string - Required: Defaults to mainnet
The blockchain network to query (e.g., mainnet).
Type
- Type:
string - Enum:
validator,delegator - Required: The type of yield data to retrieve:
validator: includes the validator’s own rewards.delegator: includes rewards distributed to delegators of that validator.
Address
- Type:
string - Required: Defaults to
FQwewNXahV7MiZcLpY6p1xhUs2acVGQ3U5Xxc7FzV571The validator address to query yield data for.
Start Time
- Type:
number - Required: Epoch-based start time for reward queries.
End Time
- Type:
number - Required: Epoch-based end time for reward queries.
Denomination
- Type:
string - Enum:
lamports,sol - Defaults:
lamportsThe unit to return the yield in (e.g.,lamports).
API Response
200OK400Bad Request422Validation Error
Example Request
curl --request GET \
--url 'https://svc.blockdaemon.com/reporting/staking/v2/solana/mainnet/validator/yield/FQwewNXahV7MiZcLpY6p1xhUs2acVGQ3U5Xxc7FzV571?denomination=lamports' \
--header 'X-API-Key: ••••' \
--header 'accept: application/json'
Example Responses
- application/json:
200400422
Updated 2 months ago