Batch

Check if the batch is the first of the epoch

Fetches a boolean indicating if the batch at a given block number is the first batch of the epoch from the Nimiq RPC.

GET
/getFirstBatchOfEpoch/{blockNumber}
/getFirstBatchOfEpoch/4229568

Path Parameters

blockNumber
Required
integer

The block number to check if it's the first batch of the epoch.

curl -X GET "https://api.nimiqhub.com/getFirstBatchOfEpoch/4229568"

First batch status successfully retrieved

{
  "isFirstBatch": {
    "data": false,
    "metadata": null
  }
}