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

Feature: Add API for validator economics #216

Open
18 tasks
ghost opened this issue Aug 10, 2021 · 0 comments
Open
18 tasks

Feature: Add API for validator economics #216

ghost opened this issue Aug 10, 2021 · 0 comments
Labels
api Adding/updating an API data Updates related to data service functionality Improving functionality at the service level. May affect any area of the project

Comments

@ghost
Copy link

ghost commented Aug 10, 2021

Summary

Add an API to return data used to calculate validator economics

Problem Definition

Validator economics are important to show the viability and returns a validator can make over time. See here. Per the request, we should add an API to return the necessary data for those calculations.

Proposal

Add API that returns:

  • total # of validators
  • Per validator
    • self bonded
    • delegator bonded
    • total bonded
    • bonded percentages
    • commission rate
    • block proposer fee amount (verify
    • Last updated date ←--- Will require db change
  • Daily volume amounts
    • Fee
    • gas used
    • gas wanted
  • gas fee factor (have ira make grpc to return that) - validator specific

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@ghost ghost added api Adding/updating an API service functionality Improving functionality at the service level. May affect any area of the project data Updates related to data labels Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Adding/updating an API data Updates related to data service functionality Improving functionality at the service level. May affect any area of the project
Projects
Development

No branches or pull requests

0 participants