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