v1
latestOpenAPI 3.0.32026-07-173986194.3 KBReturns a timeline of the transaction volume at the chosen granularity, for either consensus or one of the paratimes.
get/{layer}/stats/tx_volume
Path parameters
layer'emerald' | 'sapphire' | 'pontusxtest' | 'pontusxdev' | 'cipher' | 'consensus' required
The layer for which to return the transaction volume timeline.
Query parameters
limitinteger
The maximum numbers of items to return.
offsetinteger
The number of items to skip before starting to collect the result set.
window_size_secondsinteger
The size of windows into which the statistic is grouped, in seconds. The backend supports a limited number of window sizes: 300 (5 minutes) and 86400 (1 day). Requests with other values may be rejected.
window_step_secondsinteger
The size of the step between returned statistic windows, in seconds. The backend supports a limited number of step sizes: 300 (5 minutes) and 86400 (1 day). Requests with other values may be rejected.
Response
A JSON object containing a list of TPS values for each interval.
Example response
{
"windows": [
{
"window_end": "2022-03-01T00:00:00Z",
"tx_volume": 420
}
]
}