Claim Staking Reward

Users can claim their staking rewards at any time.

  • Function: claimStakeReward(uint stakeId)

  • Parameters:

    • stakeId: The ID of the stake.

  • Event Emitted:

event claimReward(
    uint stakeId,
    address staker,
    uint claimedAmount,
    uint claimedTimestamp
);

Last updated