getEpochIndexAt method

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

Params1 param
blockNumbernumberrequired

Result Schema

Fields1 field
u32numberrequired

Code Examples

Copy page
Create issue