Batch

Fetch batch number at a specific block height

Fetches the batch number at the given block height from the Nimiq RPC.

GET
/getBatchAt/{blockNumber}
/getBatchAt/3642366

Path Parameters

blockNumber
Required
integer

The block height to fetch the batch number for.

curl -X GET "https://api.nimiqhub.com/getBatchAt/3642366"

Batch number successfully retrieved

{
  "batchNumber": {
    "data": 5023,
    "metadata": null
  }
}