Documentation Index
Fetch the complete documentation index at: https://berachain-422fce37-fix-pol-diagrams.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Partial Reward Claims
getPartialReward lets integrators claim a selected portion of accrued Reward Vault rewards instead of claiming the entire balance in one call.
Reward Vault emissions are distributed in $WBERA.
getReward vs getPartialReward
| Method | Amount claimed | Remaining rewards | Common use case |
|---|---|---|---|
getReward | Full accrued amount | 0 | Full claim |
getPartialReward | Caller-selected amount | Non-zero | Streaming or periodic claims |
getPartialReward call settles the requested amount in $WBERA. rewardToken() reads $WBERA.
Solidity example
Integration guidance
- Read
earned(account)before submitting a claim. - Keep claim sizes below available rewards to avoid
AmountGreaterThanReward. - For delegated claim flows, enforce explicit operator authorization.