Election
Fetch the election block number before a given block number
Fetches the number (height) of the preceding election macro block before a given block number from the Nimiq RPC. If the given block number is an election macro block, it returns the election macro block before it.
GET
/
getElectionBlockBefore
/{blockNumber}
Path Parameters
blockNumber
Requiredinteger
The block number to fetch the preceding election block before.
Election block number successfully retrieved