Block

Fetch the first block number of the batch

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

GET
/getFirstBlockOfBatch/{batch}
/getFirstBlockOfBatch/18783

Path Parameters

batch
Required
integer

The batch number to fetch the first block for.

curl -X GET "https://api.nimiqhub.com/getFirstBlockOfBatch/18783"

First block number of the batch successfully retrieved

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