Skip to main content
Version: Next

emulator.emulator.stepforwardtoslot

Home > @blaze-cardano/emulator > Emulator > stepForwardToSlot

Emulator.stepForwardToSlot() method

Advances the emulator forward to the provided slot, triggering epoch transitions and materialising the mempool as needed.

Signature:

stepForwardToSlot(slot: number | bigint): void;

Parameters

Parameter

Type

Description

slot

number | bigint

Target slot to advance to.

Returns:

void

{void}