stats
Get histogram for staking with precomputed stats
Changed onReturns a time-series histogram of staking metrics (rewards, commissions, delegation flows, etc.) for the specified validator and timeframe.
get/stats/staking/series/{id}/{name}/{timeframe}
Request
- Base URLapi-mainnet.celenium.io (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header apikey
Path parameters
idinteger required
Internal validator id
timeframe'hour' | 'day' | 'month' required
Timeframe
name'rewards' | 'commissions' | 'flow' | 'delegations' | 'unbondings' | 'delegations_count' | 'unbondings_count' | 'cumulative_flow' required
Series name
Query parameters
frominteger
Time from in unix timestamp
tointeger
Time to in unix timestamp
Response
OK
Example response
[
{
"max": "0.17632",
"min": "0.17632",
"time": "2023-07-04T03:10:57+00:00",
"value": "0.17632"
}
]Changes
- info
endpoint added
- info