Comment on page
Resources dedicated to exposing and explaining the various endpoints that the Rated API supports.
The standard form of the Rated API looks something like this
At the highest level, here's how you should interpret the class of instructions you are passing to it:
All rewards and performance metrics are hosted under the "effectiveness" endpoint.
By default, the API returns data in daily chunks (24h / 225 epoch / 7200 slot increments), starting from Beacon Chain genesis.
Day 0encompasses the 225 epoch period between epochs [0, 225), and maps to datetime
2020-12-01 12:00:23 UTCto
2022-12-02 12:00:11 UTC.
The Rated API supports querying for rewards, performance and metadata at the validator pubkey level, all the way up to a pre-configured operator (list of pubkeys) or pool (list of operators).
The Rated API also supports aggregation, so days can be rolled up in weeks, months, quarters, years and even all time.
To use this feature, the
granularityquery parameter can be used. For example, to obtain monthly aggregates for validator index
curl -X 'GET' \\
-H 'accept: application/json' \\
-H 'X-Rated-Network: mainnet'