Function waitForTxConfirm
- waitForTxConfirm(txHash, options): Promise<number>
-
Parameters
-
txHash: `th_${string}`
-
options: {
confirm?: number;
onNode: Node;
} & {
interval?: number;
onNode: Node;
} & {
_expectedMineRate?: number;
_maxPollInterval?: number;
_microBlockCycle?: number;
}
Returns Promise<number>
Current Height
Wait for transaction confirmation