Macro block

Fetch the next macro block after a specified block number

Retrieves the block number (height) of the next macro block after the specified block number from the Nimiq RPC.

GET
/getMacroBlockAfter/{blockNumber}
/getMacroBlockAfter/4158990

Path Parameters

blockNumber
Required
integer

The height of the block to retrieve the next macro block after

curl -X GET "https://api.nimiqhub.com/getMacroBlockAfter/4158990"

Macro block number retrieved successfully

{
  "macroBlockNumber": {
    "data": 3333390,
    "metadata": null
  }
}