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