Interface GasTrackerAPI


public interface GasTrackerAPI
EtherScan - API Descriptions ...
Since:
14.11.2022
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Duration
    estimate(@NotNull Wei wei)
    Returns the estimated time for a transaction to be confirmed on the blockchain.
    @NotNull GasOracle
    Returns the current Safe, Proposed and Fast gas prices.
  • Method Details

    • estimate

      @NotNull @NotNull Duration estimate(@NotNull @NotNull Wei wei) throws EtherScanException
      Returns the estimated time for a transaction to be confirmed on the blockchain.
      Returns:
      estimated time
      Throws:
      EtherScanException - parent exception class
    • oracle

      @NotNull @NotNull GasOracle oracle() throws EtherScanException
      Returns the current Safe, Proposed and Fast gas prices.
      Returns:
      fast, suggested gas price
      Throws:
      EtherScanException - parent exception class