Election
Fetch last election block at a given block number
Fetches the block number (height) of the last election macro block at a given block number from the Nimiq RPC. If the given block number is an election macro block, it returns that block number.
GET
/
getLastElectionBlock
/{blockNumber}
Path Parameters
blockNumber
Requiredinteger
The block number to check for the last election macro block.
Last election block data successfully retrieved