Block

Fetch the first block after jail for a specific block number

Fetches the first block after the jail period of a given block number has ended from the Nimiq RPC.

GET
/getBlockAfterJail/{blockNumber}
/getBlockAfterJail/3642366

Path Parameters

blockNumber
Required
integer

The block number to fetch the first block after the jail period.

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

Block after jail successfully retrieved

{
  "blockAfterJail": {
    "data": 3678934,
    "metadata": null
  }
}