Nimiq
policy

Get macro block before

Returns the block number (height) of the preceding macro block before a given block number (height). If the given block number is a macro block, it returns the macro block before it.

getMacroBlockBeforerpc method

Parameters

blockNumbernumberrequired

Response fields

u32number

Interactive playground

Try the method against a public RPC endpoint.

Copyright © 2026