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