Class PolygonTransactionManagerProxy

java.lang.Object
org.web3j.tx.TransactionManager
io.meeds.deeds.common.blockchain.PolygonTransactionManagerProxy

public class PolygonTransactionManagerProxy extends org.web3j.tx.TransactionManager
  • Constructor Details

    • PolygonTransactionManagerProxy

      public PolygonTransactionManagerProxy()
  • Method Details

    • initTransactionManager

      public static void initTransactionManager(org.web3j.crypto.ECKeyPair ecKeyPair)
    • 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
    • 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
    • sendEIP1559Transaction

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

      public String getFromAddress()
      Overrides:
      getFromAddress in class org.web3j.tx.TransactionManager