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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compute_reward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | ||
| network | No | mainnet | |
| balanceXAH | No | ||
| currentLedger | No | ||
| rewardLgrFirst | No | ||
| rewardAccumulator | No |