v1

latestOpenAPI 3.0.32026-07-173986194.3 KB

Returns a list of consensus epochs.

get/consensus/epochs

Query parameters

limitinteger

The maximum numbers of items to return.

offsetinteger

The number of items to skip before starting to collect the result set.

Response

A JSON object containing a list of consensus epochs.

total_countinteger required

The total number of records that match the query, i.e. the number of records the query would return with limit=infinity.

is_total_count_clippedboolean required

Whether total_count is clipped for performance reasons.

Example response

{
  "total_count": 412,
  "is_total_count_clipped": true,
  "epochs": [
    {
      "id": 13402,
      "start_height": 8048956,
      "end_height": 8049555
    }
  ]
}