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

How do I get staking rewards from a node via API? #124

Open
taiki94 opened this issue Apr 9, 2024 · 0 comments
Open

How do I get staking rewards from a node via API? #124

taiki94 opened this issue Apr 9, 2024 · 0 comments

Comments

@taiki94
Copy link

taiki94 commented Apr 9, 2024

This may not be the right place to ask this question, but I didn't know where to ask it.

I am building an XDC node following the Git instructions here.
I think the basic API specifications are the same as Ethereum, but I have no information on how to get the staking rewards, so I would like to know how to get them.

For example, the following blockchain explorer appears to have several staking rewards for "81408".
I would like to retrieve these staking rewards through the node's API.

https://observer.xdc.org/epochs/81408#voters

Best regards

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

No branches or pull requests

1 participant