Class ClientTransactionManager

java.lang.Object
org.web3j.tx.TransactionManager
org.web3j.quorum.tx.ClientTransactionManager

public class ClientTransactionManager extends org.web3j.tx.TransactionManager
TransactionManager implementation for using a Quorum node to transact.
  • Constructor Details

  • Method Details

    • getPrivateFrom

      public String getPrivateFrom()
    • getPrivateFor

      public List<String> getPrivateFor()
    • setPrivateFor

      public void setPrivateFor(List<String> privateFor)
    • sendTransaction

      public org.web3j.protocol.core.methods.response.EthSendTransaction sendTransaction(BigInteger gasPrice, BigInteger gasLimit, String to, String data, BigInteger value) throws IOException
      Overrides:
      sendTransaction in class org.web3j.tx.TransactionManager
      Throws:
      IOException
    • sendTransaction

      public org.web3j.protocol.core.methods.response.EthSendTransaction sendTransaction(BigInteger gasPrice, BigInteger gasLimit, String to, String data, BigInteger value, boolean constructor) throws IOException
      Specified by:
      sendTransaction in class org.web3j.tx.TransactionManager
      Throws:
      IOException
    • sendEIP1559Transaction

      public org.web3j.protocol.core.methods.response.EthSendTransaction sendEIP1559Transaction(long chainId, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, BigInteger value, boolean constructor) throws IOException
      Specified by:
      sendEIP1559Transaction in class org.web3j.tx.TransactionManager
      Throws:
      IOException
    • sendCall

      public String sendCall(String to, String data, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter) throws IOException
      Specified by:
      sendCall in class org.web3j.tx.TransactionManager
      Throws:
      IOException
    • getCode

      public org.web3j.protocol.core.methods.response.EthGetCode getCode(String contractAddress, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter) throws IOException
      Specified by:
      getCode in class org.web3j.tx.TransactionManager
      Throws:
      IOException
    • processResponse

      protected org.web3j.protocol.core.methods.response.TransactionReceipt processResponse(org.web3j.protocol.core.methods.response.EthSendTransaction transactionResponse) throws IOException, org.web3j.protocol.exceptions.TransactionException
      Overrides:
      processResponse in class org.web3j.tx.TransactionManager
      Throws:
      IOException
      org.web3j.protocol.exceptions.TransactionException