Returns a timeline of the transaction volume at the chosen granularity combined for all layers.
Changed onget/stats/tx_volume
Request
- Base URL: https://nexus.oasis.io/v1
- URL: https://nexus.oasis.io/v1/stats/tx_volume
- Auth: none declared
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
}
]
}Changes
- info
endpoint added
- info