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