compute_reward
Calculate claimable XAH network rewards using the time-weighted model. Supply reward fields directly or read them live from an address.
Instructions
Project claimable XAH network reward using the documented time-weighted model. Supply reward fields directly, or an address to read them live. Labelled DOCUMENTED_MODEL. LEGACY approximation — prefer reward_status, which applies the exact genesis reward-hook formula with live parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | ||
| network | No | mainnet | |
| balanceXAH | No | ||
| currentLedger | No | ||
| rewardLgrFirst | No | ||
| rewardAccumulator | No |