---
title: "Returns a consensus block."
method: GET
path: "/consensus/blocks/{height}"
---

# Returns a consensus block.

`GET /consensus/blocks/{height}`

## Path parameters

- `height` integer, required

## Response `200`

A JSON object containing a consensus block.

- Block — A consensus block.
  - `height` integer, required — The block height.
  - `hash` string, required — The block header hash.
  - `timestamp` string, date-time, required — The second-granular consensus time.
  - `num_transactions` integer, required — Number of transactions in the block.
  - `gas_limit` string, bigint, required
  - `size_limit` string, bigint
  - `epoch` integer, required — The epoch number of the epoch in which the block was produced.
  - `state_root` string, required — The Merkle root of the state tree after applying 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.

## Changes

- **2024-10-25** `51ea4d2cd991` — 1 breaking, 1 warning
  - removed the required property `proposer` from the response with the `200` status
  - removed the optional property `signers` from the response with the `200` status

[Change history](https://skmtc.dev/oasisprotocol/apis/oasis-nexus-api-v1/changes/consensus/blocks/:height/get.md)

---

[API](https://skmtc.dev/oasisprotocol/apis/oasis-nexus-api-v1.md) · [All operations](https://skmtc.dev/oasisprotocol/apis/oasis-nexus-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oasisprotocol/oasis-nexus-api-v1/revisions/51ea4d2cd991/schema)
