Class PolygonContractGasProvider

java.lang.Object
io.meeds.tenant.hub.service.PolygonContractGasProvider
All Implemented Interfaces:
org.web3j.tx.gas.ContractGasProvider

@Component public class PolygonContractGasProvider extends Object implements org.web3j.tx.gas.ContractGasProvider
  • Constructor Details

    • PolygonContractGasProvider

      public PolygonContractGasProvider()
  • Method Details

    • getGasPrice

      public BigInteger getGasPrice()
      Specified by:
      getGasPrice in interface org.web3j.tx.gas.ContractGasProvider
    • getGasPrice

      public BigInteger getGasPrice(String contractFunc)
      Specified by:
      getGasPrice in interface org.web3j.tx.gas.ContractGasProvider
    • getGasLimit

      public BigInteger getGasLimit(String contractFunc)
      Specified by:
      getGasLimit in interface org.web3j.tx.gas.ContractGasProvider
    • getGasLimit

      public BigInteger getGasLimit()
      Specified by:
      getGasLimit in interface org.web3j.tx.gas.ContractGasProvider
    • getChainId

      public long getChainId()
    • getWeb3j

      public org.web3j.protocol.Web3j getWeb3j()