Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Historical pool rewards to Staking API, replace Subscan #2376

Merged
merged 9 commits into from
Dec 22, 2024

Conversation

rossbulat
Copy link
Collaborator

@rossbulat rossbulat commented Dec 22, 2024

This PR removes pool reward fetching via Subscan and uses Staking API instead.

  • Pool rewards are now indexed instantly and available to query as soon as rewards are claimed.
  • Fixes an issue where Subscan throttles pool reward requests, that would fail and result in empty payout graphs.
  • Greatly improves typing of graph utilities.
  • Overview payout days increased from 19 to 30.

@rossbulat rossbulat merged commit 9233131 into main Dec 22, 2024
7 checks passed
@rossbulat rossbulat deleted the rb-staking-api-pool-rewards branch December 22, 2024 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

1 participant