Nimiq
policy

Get last election block

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.

getLastElectionBlockrpc method

Parameters

blockNumbernumberrequired

Response fields

u32number

Interactive playground

Try the method against a public RPC endpoint.

Copyright © 2026