---
title: "EpochSubmissions returns all submissions for a given epoch"
method: GET
path: "/babylon/btccheckpoint/v1/{epoch_num}/submissions"
tags: ["Query"]
---

# EpochSubmissions returns all submissions for a given epoch

`GET /babylon/btccheckpoint/v1/{epoch_num}/submissions`

## Request

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

## Path parameters

- `epoch_num` string, uint64, required

## Response `200`

A successful response.

- object
  - `keys` object[]: Keys All submissions transactions key saved during an epoch.
    - `first_tx_block_hash` string: FirstTxBlockHash is the BTCHeaderHashBytes in hex.
    - `first_tx_index` integer
    - `second_tx_block_hash` string: SecondBlockHash is the BTCHeaderHashBytes in hex.
    - `second_tx_index` integer

## Other responses

- `default`: An unexpected error response.

## Changes

- **2024-07-30** `e8e8caa945e0`: 5 warning
  - deleted the `query` request parameter `pagination.count_total`
  - deleted the `query` request parameter `pagination.key`
  - deleted the `query` request parameter `pagination.limit`
  - deleted the `query` request parameter `pagination.offset`
  - …1 more
- **2024-07-30** `4a7685452e73`: 5 info
  - added the new optional `query` request parameter `pagination.count_total`
  - added the new optional `query` request parameter `pagination.key`
  - added the new optional `query` request parameter `pagination.limit`
  - added the new optional `query` request parameter `pagination.offset`
  - …1 more
- **2024-07-29** `59918c862468`: 5 warning
  - deleted the `query` request parameter `pagination.count_total`
  - deleted the `query` request parameter `pagination.key`
  - deleted the `query` request parameter `pagination.limit`
  - deleted the `query` request parameter `pagination.offset`
  - …1 more
- **2023-02-14** `56ada4e129e1`: 5 info
  - added the new optional `query` request parameter `pagination.count_total`
  - added the new optional `query` request parameter `pagination.key`
  - added the new optional `query` request parameter `pagination.limit`
  - added the new optional `query` request parameter `pagination.offset`
  - …1 more

[Operation history](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/changes/babylon/btccheckpoint/v1/:epoch_num/submissions/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)
