Class QuorumPollingTransactionReceiptProcessor

java.lang.Object
org.web3j.tx.response.TransactionReceiptProcessor
org.web3j.tx.response.PollingTransactionReceiptProcessor
org.web3j.quorum.tx.response.QuorumPollingTransactionReceiptProcessor

public class QuorumPollingTransactionReceiptProcessor extends org.web3j.tx.response.PollingTransactionReceiptProcessor
Quorum's Transaction Receipt Processor object.

This is almost identical to the Ethereum PollingTransactionReceiptProcessor with the exception that it returns a QuorumTransactionReceipt object. Note that this class currently pretty much replaces the superclass, as PollingTransactionReceiptProcessor doesn't really lend itself to reuse.

  • Constructor Details

    • QuorumPollingTransactionReceiptProcessor

      public QuorumPollingTransactionReceiptProcessor(Quorum quorum, long sleepDuration, int attempts)
  • Method Details

    • waitForTransactionReceipt

      public org.web3j.protocol.core.methods.response.TransactionReceipt waitForTransactionReceipt(String transactionHash) throws IOException, org.web3j.protocol.exceptions.TransactionException
      Overrides:
      waitForTransactionReceipt in class org.web3j.tx.response.PollingTransactionReceiptProcessor
      Throws:
      IOException
      org.web3j.protocol.exceptions.TransactionException