---
title: "BtcCheckpointsInfo returns checkpoint info for a range of epochs"
method: GET
path: "/babylon/btccheckpoint/v1"
tags: ["Query"]
---

# BtcCheckpointsInfo returns checkpoint info for a range of epochs

`GET /babylon/btccheckpoint/v1`

## Request

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

## Query parameters

- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.count_total` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- object
  - `info_list` object[]
    - `epoch_number` string, uint64: EpochNumber of this checkpoint.
    - `best_submission_btc_block_height` integer
    - `best_submission_btc_block_hash` string
    - `best_submission_transactions` object[]
      - `index` integer: Index Bitcoin Transaction index in block.
      - `hash` string: Hash BTC Header hash as hex.
      - `transaction` string: transaction is the full transaction data as str hex.
      - `proof` string
    - `best_submission_vigilante_address_list` object[]
      - `submitter` string: submitter is the address of the checkpoint submitter to BTC, extracted from the checkpoint itself.
      - `reporter` string
  - `pagination` object: PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
    - `next_key` string, byte: next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
    - `total` string, uint64

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