Skip to content
docs

epochStartsAt

epochStartsAt(epoch, height): number

Defined in: protocol-staking-native-near/src/epoch.ts:93

Unix ms estimate of the start of epoch height. Past and current epochs count from startedAt; later ones from endsAt (which follows the current epoch’s real progress), one epochMs each. The liquid module dates epochs the same way.

NearEpoch

bigint

number