---
title: "Get header by hash"
method: GET
path: "/header_by_hash"
tags: ["Info"]
---

# Get header by hash

`GET /header_by_hash`

Get Header By Hash.

Upon success, the `Cache-Control` header will be set with the default
maximum age.

## Query parameters

- `hash` string, required

## Response `200`

Header informations.

- BlockHeader
  - `version` object, required
    - `block` string, required
    - `app` string, required
  - `chain_id` string, required
  - `height` string, required
  - `time` string, required
  - `last_block_id` BlockID, required
    - `hash` string, required
    - `parts` object, required
      - `total` integer, required
      - `hash` string, required
  - `last_commit_hash` string, required
  - `data_hash` string, required
  - `validators_hash` string, required
  - `next_validators_hash` string, required
  - `consensus_hash` string, required
  - `app_hash` string, required
  - `last_results_hash` string, required
  - `evidence_hash` string, required
  - `proposer_address` string, required

## Other responses

- `500` — Error

---

[API](https://skmtc.dev/hetu-project/apis/cometbft-rpc.md) · [All operations](https://skmtc.dev/hetu-project/apis/cometbft-rpc/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hetu-project/cometbft-rpc/revisions/8fdc73beaae2/schema)
