v1

latestOpenAPI 3.0.32026-07-173986194.3 KB

Returns a consensus epoch.

get/consensus/epochs/{epoch}

Path parameters

epochinteger required

The epoch number of the epoch to return.

Response

A JSON object containing a consensus epoch.

idinteger required

The epoch number.

start_heightinteger required

The (inclusive) height at which this epoch started.

end_heightinteger

The (inclusive) height at which this epoch ended. Omitted if the epoch is still active.

Example response

{
  "id": 13402,
  "start_height": 8048956,
  "end_height": 8049555
}