UNPKG

305 BTypeScriptView Raw
1export declare class Slots {
2 static getTime(time?: number): number;
3 static getTimeInMsUntilNextSlot(): number;
4 static getSlotNumber(epoch?: number): number;
5 static getSlotTime(slot: number): number;
6 static getNextSlot(): number;
7 static isForgingAllowed(epoch?: number): boolean;
8}