---
title: "Get Block Header"
method: GET
path: "/getBlockHeader"
tags: ["blocks"]
---

# Get Block Header

`GET /getBlockHeader`

Get metadata of a given block.

## Query parameters

- `workchain` integer, required
- `shard` union, required — Shard identifier. Use string form to pass full 64-bit values without precision loss.
  - integer
  - string
- `seqno` integer, required
- `root_hash` string
- `file_hash` string

## Response `200`

Successful Response

- TonResponse
  - `ok` boolean, required
  - `result` union
    - string
    - unknown[]
      - unknown
    - object
  - `error` string
  - `code` integer

## Other responses

- `404` — Block Not Found
- `422` — Validation Error
- `504` — Lite Server Timeout

---

[API](https://skmtc.net/rsquad/apis/ton-http-api.md) · [All operations](https://skmtc.net/rsquad/apis/ton-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rsquad/ton-http-api/versions/73848a110060/schema)
