---
title: "Changes to returns a block by hash."
method: GET
path: "/block/{shard}/by-hash/{hash}"
---

# Changes to returns a block by hash.

`GET /block/{shard}/by-hash/{hash}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 32 revisions.

- **2023-02-09** `f5970dfcecba`: 1 breaking, 1 info
- **2023-02-08** `82d543636074`: 1 breaking, 1 warning

## Changes

- **2023-02-09** `f5970dfcecba`: 1 breaking, 1 info
  - added the new path request parameter `shard`
  - for the `path` request parameter `hash`, the type was generalized from `integer` to `string`
- **2023-02-08** `82d543636074`: 1 breaking, 1 warning
  - for the `path` request parameter `hash`, the type changed from `string` to `integer`
  - deleted the `path` request parameter `shard`

---

[Operation](https://skmtc.dev/multiversx/apis/multiversx-gateway-api/docs/block/:shard/by-hash/:hash/get.md) - [API](https://skmtc.dev/multiversx/apis/multiversx-gateway-api.md) - [Page](https://skmtc.dev/multiversx/apis/multiversx-gateway-api/changes/block/:shard/by-hash/:hash/get)
