Class DefaultGasProvider

  • All Implemented Interfaces:
    org.web3j.tx.gas.ContractGasProvider

    @Deprecated
    public class DefaultGasProvider
    extends org.web3j.tx.gas.StaticGasProvider
    Deprecated.
    This class is deprecated since caver-java:1.5.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.math.BigInteger GAS_LIMIT
      Deprecated.
       
      static java.math.BigInteger GAS_PRICE
      Deprecated.
       
    • Method Summary

      • Methods inherited from class org.web3j.tx.gas.StaticGasProvider

        getGasLimit, getGasLimit, getGasPrice, getGasPrice
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • GAS_LIMIT

        public static final java.math.BigInteger GAS_LIMIT
        Deprecated.
      • GAS_PRICE

        public static final java.math.BigInteger GAS_PRICE
        Deprecated.
    • Constructor Detail

      • DefaultGasProvider

        public DefaultGasProvider()
        Deprecated.
      • DefaultGasProvider

        public DefaultGasProvider​(Caver caver)
                           throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception