- awaitHeight(height: number, options: { interval?: number; onNode: Node } & { _expectedMineRate?: number; _maxPollInterval?: number; _microBlockCycle?: number }): Promise<number>
-
Parameters
-
height: number
-
options: { interval?: number; onNode: Node } & { _expectedMineRate?: number; _maxPollInterval?: number; _microBlockCycle?: number }
Returns Promise<number>
Wait for the chain to reach a specific height
Returns
Current chain height