get_total_validator_earnings
Retrieve total earnings for a validator over a specified time range, defaulting to the last hour.
Instructions
Gets the total earnings for a specific validator. If startTime and endTime are not provided, it defaults to the last hour.
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>"
},
"name": "get_total_validator_earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| validator | Yes | The name, public key, address, or zil_address of the validator. | |
| startTime | No | The start of the time range in ISO 8601 format. Defaults to 1 hour ago if not provided. | |
| endTime | No | The end of the time range in ISO 8601 format. Defaults to the current time if not provided. |