Inherent

Fetch all inherents for a block number

Fetches all the inherents (including reward inherents) for the given block number from the Nimiq RPC. Note that this only considers blocks in the main chain.

GET
/getInherentsByBlockNumber/{blockNumber}
/getInherentsByBlockNumber/3032557

Path Parameters

blockNumber
Required
integer

The block number to fetch the inherents for.

curl -X GET "https://api.nimiqhub.com/getInherentsByBlockNumber/3032557"

Inherents successfully retrieved

{
  "data": [
    {
      "type": "penalize",
      "blockNumber": 3032557,
      "blockTime": 1720804270685,
      "validatorAddress": "NQ57 2F6C X3GB Y9B7 04U5 2BVA 4BVC M2T0 ELRL",
      "offenseEventBlock": 3032557
    }
  ],
  "metadata": null
}