# EpochInfo

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

Current epoch information.

```
type EpochInfo {

  epochNo: Int!

  durationSeconds: Int!

  elapsedSeconds: Int!

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`EpochInfo.epochNo`](#epoch-no) ● [`Int!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/int.md) non-null scalar[​](#epoch-no "Direct link to epoch-no")

#### [`EpochInfo.durationSeconds`](#duration-seconds) ● [`Int!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/int.md) non-null scalar[​](#duration-seconds "Direct link to duration-seconds")

#### [`EpochInfo.elapsedSeconds`](#elapsed-seconds) ● [`Int!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/int.md) non-null scalar[​](#elapsed-seconds "Direct link to elapsed-seconds")

### Returned By[​](#returned-by "Direct link to Returned By")

[`currentEpochInfo`](https://docs.midnight.network/api-reference/midnight-indexer/operations/queries/current-epoch-info.md) query
