> For the complete documentation index, see [llms.txt](https://docs.idrx.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.idrx.co/smart-contract/staking/claim-staking-reward.md).

# Claim Staking Reward

* **Function**: `claimStakeReward(uint stakeId)`
* **Parameters**:
  * `stakeId`: The ID of the stake.
* **Event Emitted**:

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