getLastElectionBlock method

Returns the block number (height) of the last election macro block at a given block number (height). If the given block number is an election macro block, then it returns that block number.

Params

ParameterTypeRequired
blockNumbernumberYes

Result

PropertyTypeRequired
u32numberYes

Code Examples

Copy page
Create issue