---
title: "returns the miniblock with the given hash following the protocol structure"
method: GET
path: "/internal/{shard}/raw/miniblock/by-hash/{hash}/epoch/{epoch}"
tags: ["internal"]
---

# returns the miniblock with the given hash following the protocol structure

`GET /internal/{shard}/raw/miniblock/by-hash/{hash}/epoch/{epoch}`

## Path parameters

- `shard` integer, required
- `hash` string, required
- `epoch` integer, required

## Response `200`

successful operation

- GenericResponse
  - `data` object
  - `error` string
  - `code` string

## Other responses

- `400` — validation error

---

[API](https://skmtc.net/multiversx/apis/multiversx-gateway-api.md) · [All operations](https://skmtc.net/multiversx/apis/multiversx-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/multiversx/multiversx-gateway-api/versions/44c49bc12621/schema)
