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

[API] Necessity of another staking query API #1863

Open
hyunsooda opened this issue Jun 14, 2023 · 1 comment
Open

[API] Necessity of another staking query API #1863

hyunsooda opened this issue Jun 14, 2023 · 1 comment
Labels
enhancement New feature or enhancement

Comments

@hyunsooda
Copy link
Contributor

Is your request related to a problem? Please describe.

The klay_getStakingInfo() API provides information on CN addresses, reward addresses of CnStaking contracts (CNS), CNS addresses, and their corresponding staking amounts. However, it lacks the crucial information of consolidated staking values, which are essential for identifying validators. Although the klay_getCommittee() API can retrieve the committee list at a specific block number, it only provides a partial snapshot that is valid solely at that particular block.

Therefore, the purpose of raising this issue is to kindly inquire about the necessity of either introducing a new API or revising the existing one. The aim is to obtain more informative values, specifically a consolidated staking amount collection.

Describe the solution you'd like
Revision of the existing API or introduce a new API.

Describe alternatives you've considered
None

Additional context
None

@exalate-issue-sync
Copy link

Exalate commented: Issue Created by: hyunsooda

@sjnam sjnam added enhancement New feature or enhancement and removed Github labels Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants