Function waitForTransactionReceiptWithRetry

  • Parameters

    • client: {}
      • hash: `0x${string}`

      Returns Promise<TransactionReceipt>

      See

      https://github.com/Crossbell-Box/crossbell.js/issues/40

      This function is used to retry waitForTransactionReceipt because sometimes the transaction is not mined on a load-balanced node.

      The retry time is 100ms, 200ms, 400ms, 800ms, 1600ms, 3200ms, i.e. 6300ms in total.

    Generated using TypeDoc