---
title: "Changes to HeaderDepth returns the depth of the header in main chain or error if the\nblock is not found or it exists on fork"
method: GET
path: "/babylon/btclightclient/v1/depth/{hash}"
---

# Changes to HeaderDepth returns the depth of the header in main chain or error if the
block is not found or it exists on fork

`GET /babylon/btclightclient/v1/depth/{hash}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 50 revisions.

- **2023-07-25** `6b97e8198167`: 1 info
- **2023-02-14** `56ada4e129e1`: 1 breaking

## Changes

- **2023-07-25** `6b97e8198167`: 1 info
  - endpoint added
- **2023-02-14** `56ada4e129e1`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/docs/babylon/btclightclient/v1/depth/:hash/get.md) - [API](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs.md) - [Page](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/changes/babylon/btclightclient/v1/depth/:hash/get)
