Nimiq
policy

Get last macro block

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

getLastMacroBlockrpc method

Parameters

blockNumbernumberrequired

Response fields

u32number

Interactive playground

Try the method against a public RPC endpoint.

Copyright © 2026