Function awaitHeight

  • Wait for the chain to reach a specific height

    Returns

    Current chain height

    Parameters

    • height: number

      Height to wait for

    • options: { interval?: number; onNode: Node } & { _expectedMineRate?: number; _maxPollInterval?: number; _microBlockCycle?: number }

      Options

    Returns Promise<number>

Generated using TypeDoc