Claiming rewards
Last updated
Last updated
When you stake your coins on a validator, you help it get the opportunity to generate blocks and vote for other creators' blocks.
In return, the validator will share part of its profits with you.
When the validator is working, rewards are accrued to the validator's storage.
However, only you have the right to take your rewards - so your funds are safe. Neither the validator itself, nor any of the stakers will be able to take what was earned by your stake.
In this tutorial, we will show you how to take your reward after you have been a staker of the pool for some time
On the page with info about validator you can find the list of stakers below
Now if you paste your address into the searchbar, you will see your address and the total number of coins you received during the staking
In order to receive your rewards, you need to call the getRewardFromPool()
method of the system smart contract system/staking
Output:
Using this TXID you can also check the status via explorer:
If the transaction is successful, you will receive your rewards in 2 epochs.