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

Validator rewards statistic #300

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

owl352
Copy link
Collaborator

@owl352 owl352 commented Oct 27, 2024

Issue

A recent design update added a tab for “Rewards” charts, but the logic for this section was not implemented on the backend

Things done

Added new endpoint for chart data: validator/:hash/rewards/stats?start=:date&end=:date
Added new test for validators
Updated readme.md

Also this endpoint still suppot query in old format (?timespan=)

@owl352 owl352 added the backend Related to backend (API) label Oct 27, 2024
@owl352 owl352 self-assigned this Oct 27, 2024
Copy link

vercel bot commented Oct 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-explorer-mainnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 27, 2024 4:06pm
platform-explorer-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 27, 2024 4:06pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend (API)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant