---
title: "Tip return best header on canonical chain"
method: GET
path: "/babylon/btclightclient/v1/tip"
tags: ["Query"]
---

# Tip return best header on canonical chain

`GET /babylon/btclightclient/v1/tip`

## Request

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

## Response `200`

A successful response.

- object: QueryTipResponse is the response type for the Query/Tip RPC method.
  - `header` 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.

---

[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)
