• Obtain current height of the chain

    Parameters

    • options: {
          cached?: boolean;
          onNode: Node;
      } & {
          _expectedMineRate?: number;
          _microBlockCycle?: number;
          onNode: Node;
      }

      Options

    Returns Promise<number>

    Current chain height