Election

Check if a block is an election macro block

Returns a boolean indicating if the block at the given block number is an election macro block.

GET
/isElectionBlockAt/{blockNumber}
/isElectionBlockAt/{blockNumber}

Path Parameters

blockNumber
Required
integer

The block number to check if it's an election block

curl -X GET "https://api.nimiqhub.com/isElectionBlockAt/0"

Election block status retrieved successfully

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