---
title: "Get block by hash"
method: GET
path: "/blocks/{blockHash}"
tags: ["Blocks"]
---

# Get block by hash

`GET /blocks/{blockHash}`

Retrieve detailed information about a specific block using its hash.

## Path parameters

- `blockHash` string, required — Block number, block hash (0x-prefixed hex), or "pre_confirmed" for pending blocks.

## Response `200`

Block details

- BlockDetails
  - `blockNumber` number, nullable, required
  - `hash` string, nullable
  - `timestamp` number, nullable, required
  - `stateRoot` string, nullable
  - `txnCount` number, nullable, required
  - `messageCount` number, nullable, required
  - `eventCount` number, nullable, required
  - `l1VerificationTxHash` string, nullable
  - `status` string, nullable
  - `prevBlockHash` string, nullable
  - `nextBlockHash` string, nullable
  - `confirmations` number, nullable, required
  - `sequencerAddress` string, nullable
  - `totalFee` string, nullable
  - `timeToMine` number, nullable, required
  - `version` string, nullable
  - `ethGasPrice` string, nullable
  - `strkGasPrice` string, nullable
  - `l1AcceptTime` number, nullable, required

## Other responses

- `400` — Bad Request
- `403` — Forbidden - Missing or invalid API key
- `404` — Not Found
- `429` — Too Many Requests - Rate limit exceeded

---

[API](https://skmtc.net/voyager/apis/voyager-public-api.md) · [All operations](https://skmtc.net/voyager/apis/voyager-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voyager/voyager-public-api/versions/172c04ee8115/schema)
