> For the complete documentation index, see [llms.txt](https://xai-foundation.gitbook.io/xai-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xai-foundation.gitbook.io/xai-network/kn/about-xai/sentry-keys-explained/referee-smart-contract/claiming-rewards.md).

# Claiming Rewards

The contract includes a function that allows a user to claim a reward for a successful assertion. This function checks if the challenge is closed for submissions. If this condition is met and the assertion is valid for a payout, a reward is sent to the user.
