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
Parameter | Type | Required |
---|---|---|
blockNumber | number | Yes |
Result
Property | Type | Required |
---|---|---|
u32 | number | Yes |