Indexer: Validator missed blocks percentage (v1)
getValidatorMissedPercentageCalculate the percentage of missed blocks for a validator over an inclusive block range, returning a score from 0 to 100.
Instructions
Calculate percentage of missed blocks for a validator in a block range via /api/v1/validators/blocks/missed/{validator}. Provide startBlock (inclusive) and endBlock (inclusive). Returns a percentage (0..100).
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": {
"validator": "<validator>",
"startBlock": "<startBlock>"
},
"name": "getValidatorMissedPercentage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endBlock | No | Optional end block, inclusive; defaults to best/latest | |
| validator | Yes | Validator address (path parameter) | |
| startBlock | Yes | Start block, inclusive |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | Percentage of missed blocks in the given range (0..100, not a decimal) | |
| error | No | ||
| network | Yes |