---
title: "LargestBtcReOrg retrieves the largest BTC reorg"
method: GET
path: "/babylon/btcstaking/v1/largest_btc_reorg"
tags: ["Query"]
---

# LargestBtcReOrg retrieves the largest BTC reorg

`GET /babylon/btcstaking/v1/largest_btc_reorg`

## Request

- The document declares no server URL.
- Auth: none declared

## Response `200`

A successful response.

- object
  - `block_diff` integer
  - `rollback_from` object: BTCHeaderInfoResponse is a structure that contains all relevant information about a BTC header response - Full header as string hex. - Header hash for easy retrieval as string hex. - Height of the header in the BTC chain. - Total work spent on the header. This is the sum of the work corresponding to the header Bits field and the total work of the header.
    - `header_hex` string
    - `hash_hex` string
    - `height` integer
    - `work` string: Work is the sdkmath.Uint as string.
  - `rollback_to` object: BTCHeaderInfoResponse is a structure that contains all relevant information about a BTC header response - Full header as string hex. - Header hash for easy retrieval as string hex. - Height of the header in the BTC chain. - Total work spent on the header. This is the sum of the work corresponding to the header Bits field and the total work of the header.
    - `header_hex` string
    - `hash_hex` string
    - `height` integer
    - `work` string: Work is the sdkmath.Uint as string.

## Other responses

- `default`: An unexpected error response.

## Changes

- **2025-02-28** `d2e271819a19`: 1 info
  - endpoint added
- **2023-02-14** `56ada4e129e1`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/changes/babylon/btcstaking/v1/largest_btc_reorg/get.md)

---

[API](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/revisions/93a09c641887?raw)
