• waits for transaction confirmation

    Parameters

    • timeoutStrategy: awaitTransactionSignatureConfirmationProps

      TimeStrategy | BlockHeightStrategy

      TimeStrategy: pure timeout strategy

      timeout: optional, (secs) after how much secs not confirmed transaction will be considered timeout, default: 90 getSignatureStatusesPoolIntervalMs: optional, (ms) pool interval of getSignatureStatues, default: 2000

      BlockHeightStrategy: blockheight pool satrategy

      startBlockCheckAfterSecs: optional, (secs) after that time we will start to pool current blockheight and check if transaction will reach blockchain, default: 90 block: BlockhashWithExpiryBlockHeight getSignatureStatusesPoolIntervalMs: optional, (ms) pool interval of getSignatureStatues and blockheight, default: 2000

    Returns Promise<unknown>

Generated using TypeDoc