ReadEpochOptions
Defined in: protocol-staking-native-near/src/epoch.ts:47
Options of readEpoch: share the module’s cached validator set and block times.
Properties
Section titled “Properties”blockTimes?
Section titled “blockTimes?”
optionalblockTimes?:Map<bigint,number>
Defined in: protocol-staking-native-near/src/epoch.ts:50
Timestamps of blocks already read, by height (block times never change).
validators?
Section titled “validators?”
optionalvalidators?: () =>Promise<ValidatorSet>
Defined in: protocol-staking-native-near/src/epoch.ts:48
Returns
Section titled “Returns”Promise<ValidatorSet>