Class GasOracle

java.lang.Object
io.goodforgod.api.etherscan.model.GasOracle

public class GasOracle extends Object
Since:
14.11.2022
  • Constructor Details

    • GasOracle

      protected GasOracle()
  • Method Details

    • getLastBlock

      public Long getLastBlock()
    • getSafeGasPriceInWei

      public Wei getSafeGasPriceInWei()
    • getProposeGasPriceInWei

      public Wei getProposeGasPriceInWei()
    • getFastGasPriceInWei

      public Wei getFastGasPriceInWei()
    • getSuggestBaseFee

      public BigDecimal getSuggestBaseFee()
    • getGasUsedRatio

      public List<BigDecimal> getGasUsedRatio()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static GasOracle.GasOracleBuilder builder()