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

Extend returning info in the getValidators() API #157

Closed
pshenmic opened this issue Jun 18, 2024 · 0 comments · Fixed by #161
Closed

Extend returning info in the getValidators() API #157

pshenmic opened this issue Jun 18, 2024 · 0 comments · Fixed by #161
Assignees
Labels
backend Related to backend (API)

Comments

@pshenmic
Copy link
Owner

Issue

To finish validators page (#152), we need to add few metadata fields in the response of the getValidators() query with such data:

  • Total proposed blocks count
  • Last proposed block height ( + timestamp)

https://platform-explorer-zham-git-feat-valid-61bc18-pshenmics-projects.vercel.app/validators

Possible solution

Add more fields in the Validator model and query missing data from the PostgreSQL

@pshenmic pshenmic added the backend Related to backend (API) label Jun 18, 2024
@owl352 owl352 linked a pull request Jun 22, 2024 that will close this issue
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
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants