getBatchIndexAt method

Returns the batch index at a given block number. The batch index is the number of a block relative to the batch it is in. For example, the first block of any batch always has an batch index of 0.

Params

ParameterTypeRequired
blockNumbernumberYes

Result

PropertyTypeRequired
u32numberYes

Code Examples

Copy page
Create issue