Score staking reward fairness
staking-operations_reward-fairnessCompare each supplied allocation with the share of the reward pool its weight implies. The rounding error is the total absolute gap, divided by the reward. Equal weights with uneven payouts lower the fairness score. No reward balance is fetched. Price $0.04 USDC. POST /api/v1/staking-operations/reward-fairness. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"reward": "<reward>",
"shares": "<shares>"
},
"name": "staking-operations_reward-fairness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reward | Yes | reward, integer, from any to 9007199254740991. Required. | |
| shares | Yes | shares, array. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allocation_fairness_score | No | allocation_fairness_score. Number. | |
| rounding_error_percentage | No | rounding_error_percentage. Number. |