Package org.web3j.tx

Class ReadonlyTransactionManager


  • public class ReadonlyTransactionManager
    extends TransactionManager
    Transaction manager implementation for read-only operations on smart contracts.
    • Constructor Detail

      • ReadonlyTransactionManager

        public ReadonlyTransactionManager​(Web3j web3j,
                                          java.lang.String fromAddress)
    • Method Detail

      • sendTransaction

        public EthSendTransaction sendTransaction​(java.math.BigInteger gasPrice,
                                                  java.math.BigInteger gasLimit,
                                                  java.lang.String to,
                                                  java.lang.String data,
                                                  java.math.BigInteger value,
                                                  boolean constructor)
                                           throws java.io.IOException
        Specified by:
        sendTransaction in class TransactionManager
        Throws:
        java.io.IOException
      • sendTransactionEIP1559

        public EthSendTransaction sendTransactionEIP1559​(java.math.BigInteger gasPremium,
                                                         java.math.BigInteger feeCap,
                                                         java.math.BigInteger gasLimit,
                                                         java.lang.String to,
                                                         java.lang.String data,
                                                         java.math.BigInteger value,
                                                         boolean constructor)
                                                  throws java.io.IOException
        Specified by:
        sendTransactionEIP1559 in class TransactionManager
        Throws:
        java.io.IOException
      • sendCall

        public java.lang.String sendCall​(java.lang.String to,
                                         java.lang.String data,
                                         DefaultBlockParameter defaultBlockParameter)
                                  throws java.io.IOException
        Specified by:
        sendCall in class TransactionManager
        Throws:
        java.io.IOException