Block

Fetch the first block number of the epoch

Fetches the block number of the first block of the given epoch from the Nimiq RPC. The first block of the epoch is always a micro block.

GET
/getFirstBlockOf/{epoch}
/getFirstBlockOf/7

Path Parameters

epoch
Required
integer

The epoch number to fetch the first block for.

curl -X GET "https://api.nimiqhub.com/getFirstBlockOf/7"

First block number of the epoch successfully retrieved

{
  "firstBlockNumber": {
    "data": 3032011,
    "metadata": null
  }
}