Options for waitForBlockCompressed and waitForBlockExpanded methods.

interface WaitForBlockOptions {
    intervalMs?: number;
    timeoutMs?: number;
}

Properties

intervalMs?: number

Interval in milliseconds. The method will check the blocks status every intervalMs milliseconds.

timeoutMs?: number

Timeout in milliseconds. After this time, the method will throw an error.