---
title: "Returns a timeline of the transaction volume at the chosen granularity,
for either consensus or one of the paratimes."
method: GET
path: "/{layer}/stats/tx_volume"
---

# Returns 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

## Query parameters

- `limit` integer
- `offset` integer
- `window_size_seconds` integer
- `window_step_seconds` integer

## Response `200`

A JSON object containing a list of TPS values for each interval.

- TxVolumeList — A list of daily transaction volumes.
  - `window_size_seconds` integer, required
  - `windows` TxVolume[], required — The list of daily transaction volumes.
    - `window_end` string, date-time, required — The end timestamp for this daily transaction volume measurement.
    - `tx_volume` integer, required — The transaction volume for this window.

## Other responses

- `400` — A human-readable error message.
- `404` — An empty response indicating that the requested resource was not found.
- `500` — A human-readable error message.

---

[API](https://skmtc.net/oasisprotocol/apis/oasis-nexus-api-v1.md) · [All operations](https://skmtc.net/oasisprotocol/apis/oasis-nexus-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oasisprotocol/oasis-nexus-api-v1/versions/a841981f8ee1/schema)
