---
title: "Returns a list of Runtime blocks."
method: GET
path: "/{runtime}/blocks"
---

# Returns a list of Runtime blocks.

`GET /{runtime}/blocks`

## Path parameters

- `runtime` 'emerald' | 'sapphire' | 'pontusxtest' | 'pontusxdev' | 'cipher', required

## Query parameters

- `limit` integer
- `offset` integer
- `from` integer
- `to` integer
- `after` string, date-time
- `before` string, date-time
- `hash` string

## Response `200`

A JSON object containing a list of Runtime blocks.

- RuntimeBlockList — A list of consensus blocks.
  - `total_count` integer, required — The total number of records that match the query, i.e. the number of records the query would return with limit=infinity.
  - `is_total_count_clipped` boolean, required — Whether total_count is clipped for performance reasons.
  - `blocks` RuntimeBlock[], required
    - `round` integer, required — The block round.
    - `hash` string, required — The block header hash.
    - `timestamp` string, date-time, required — The second-granular consensus time.
    - `num_transactions` integer, required — The number of transactions in the block.
    - `size` integer, required — The total byte size of all transactions in the block.
    - `gas_used` integer, required — The total gas used by all transactions in the block.

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