Skip to main content
Version: Next

emulator.ledgertimer

Home > @blaze-cardano/emulator > LedgerTimer

LedgerTimer class

Tracks slot, block, and epoch progression for the emulator.

Signature:

export declare class LedgerTimer 

Constructors

Constructor

Modifiers

Description

(constructor)(slotConfig, slotsPerEpoch)

Constructs a new instance of the LedgerTimer class

Properties

Property

Modifiers

Type

Description

block

number

epoch

number

slot

number

slotLength

number

slotsPerEpoch

number

time

number

zeroSlot

number

zeroTime

number