Class EthGasStation

  • All Implemented Interfaces:
    FeePolicy

    public class EthGasStation
    extends java.lang.Object
    implements FeePolicy
    Helper class for calculating Ethereum gas
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.math.BigInteger calculate​(network.quant.api.FEE_POLICY fee_policy)
      Calculate Bitcoin fee
      • Methods inherited from class java.lang.Object

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

      • calculate

        public java.math.BigInteger calculate​(network.quant.api.FEE_POLICY fee_policy)
        Description copied from interface: FeePolicy
        Calculate Bitcoin fee
        Specified by:
        calculate in interface FeePolicy
        Parameters:
        fee_policy - FEE_POLICY containing fee policy
        Returns:
        BigInteger containing Ethereum fee