Indexer: Validator block rewards (v1)
getValidatorBlockRewardsRetrieve VTHO validator block rewards with details on base, priority, and delegator splits. Filter by block, validator, or status.
Instructions
Fetch VTHO rewards per block via /api/v1/validators/blocks. Returns blockReward (base), priorityReward (mempool priority fees), total, and the split into delegatorRewards and validatorRewards. Filter by blockNumber, validator, and status. Use status=VALIDATED for produced blocks or status=MISSED for blocks the validator missed. Supports pagination and sort direction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based results page number (0 is the first page) | |
| size | No | Results per page (1..150); API default is typically 20 | |
| cursor | No | Opaque cursor for fetching the next page when provided by the API | |
| status | No | Filter by block status ('VALIDATED' or 'MISSED') | |
| direction | No | Sort direction for time-based queries; defaults to 'DESC' (newest first) | |
| validator | No | Optional validator address filter | |
| blockNumber | No | Optional specific block number to query |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| network | Yes |