---
title: "EpochInfo queries the information of a given epoch"
method: GET
path: "/babylon/epoching/v1/epochs/{epoch_num}"
tags: ["Query"]
---

# EpochInfo queries the information of a given epoch

`GET /babylon/epoching/v1/epochs/{epoch_num}`

## Request

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

## Path parameters

- `epoch_num` string, uint64, required

## Response `200`

A successful response.

- object
  - `epoch` object
    - `epoch_number` string, uint64
    - `current_epoch_interval` string, uint64
    - `first_block_height` string, uint64
    - `last_block_time` string, date-time: last_block_time is the time of the last block in this epoch. Babylon needs to remember the last header's time of each epoch to complete unbonding validators/delegations when a previous epoch's checkpoint is finalised. The last_block_time field is nil in the epoch's beginning, and is set upon the end of this epoch.
    - `sealer_app_hash_hex` string: sealer is the last block of the sealed epoch sealer_app_hash points to the sealer but stored in the 1st header of the next epoch as hex string.
    - `sealer_block_hash` string: sealer_block_hash is the hash of the sealer the validator set has generated a BLS multisig on the hash, i.e., hash of the last block in the epoch as hex 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)
