Type alias WaitForTransactionReceiptParameters<TChain>

WaitForTransactionReceiptParameters<TChain>: {
    confirmations?: number;
    hash: Hash;
    onReplaced?: ((response) => void);
    pollingInterval?: number;
    timeout?: number;
}

Type Parameters

  • TChain extends Chain | undefined = Chain | undefined

Type declaration

  • Optional confirmations?: number

    The number of confirmations (blocks that have passed) to wait before resolving.

    Default

    1
    
  • hash: Hash

    The hash of the transaction.

  • Optional onReplaced?: ((response) => void)

    Optional callback to emit if the transaction has been replaced.

      • (response): void
      • Optional callback to emit if the transaction has been replaced.

        Parameters

        Returns void

  • Optional pollingInterval?: number

    Polling frequency (in ms). Defaults to the client's pollingInterval config.

    Default

    client.pollingInterval
    
  • Optional timeout?: number

    Optional timeout (in milliseconds) to wait before stopping polling.

Generated using TypeDoc