Skip to content

Conversation

@imabdulbasit
Copy link
Contributor

@imabdulbasit imabdulbasit commented Nov 24, 2025

This PR adds an endpoint to get all the reward accounts at a block height. This is used by the staking UI to catchup when the service reboots. This reason for adding this endpoint is to catchup quickly, otherwise we need to query all the epoch stake tables and then hit the reward-balance endpoint for each account


@imabdulbasit imabdulbasit marked this pull request as ready for review November 24, 2025 21:49
@imabdulbasit imabdulbasit requested a review from jbearer November 24, 2025 23:04
@imabdulbasit imabdulbasit merged commit f40ce46 into main Nov 25, 2025
118 of 119 checks passed
@imabdulbasit imabdulbasit deleted the ab/all-accts-endpiint branch November 25, 2025 14:21
rob-maron pushed a commit that referenced this pull request Dec 2, 2025
* add endpoint to get all the reward amounts

* fix query, add test

* fix comment

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants