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

to calculate rewards #1048

Open
xgracias opened this issue Dec 10, 2024 · 3 comments
Open

to calculate rewards #1048

xgracias opened this issue Dec 10, 2024 · 3 comments

Comments

@xgracias
Copy link

how to calculate the rewards for validators. let's say i am a validator with minimum 20k $COREUM staked

@miladz68
Copy link
Contributor

You should provide more context to further clarify the question, but I will answer it based on what I understood.

to get the yearly interest you should multiply the APR (you can get it from here https://www.mintscan.io/coreum), and multiply it by your stake. For example if you have 20k CORE and the current APR is 28.16%, then you will get 20,000 * 0.2816 = 5632 CORE after a year.

@xgracias
Copy link
Author

You should provide more context to further clarify the question, but I will answer it based on what I understood.

to get the yearly interest you should multiply the APR (you can get it from here https://www.mintscan.io/coreum), and multiply it by your stake. For example if you have 20k CORE and the current APR is 28.16%, then you will get 20,000 * 0.2816 = 5632 CORE after a year.

that's cool. i am asking for validator reward. validators get reward from the tx they verified

@miladz68
Copy link
Contributor

Validators get rewards from 2 sources, first inflation and second fees (which you are referring to).
what I described was the source of rewards from inflation which is the major part of the reward (more than 95% as of now). As for the fees, all fees are gathered from all the transactions in a block and are distributed to all the validators proportional to their stake. This is highly dependent on the number of transactions in a block.
The calculations I provided in the previous comment is the best estimate you can get and are highly accurate as of now.

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

2 participants