Gas¶
-
class
ethextended.gas¶
This class is the parent of all functions related to Ethereum gas.
-
gas.fast_wei()¶
- Uses
ethgasstation.infoAPI
Returns fast gas price (in wei)
>>> ethextended.gas.fast_wei()
24000000000
-
gas.fast_waittime()¶
- Uses
ethgasstation.infoAPI
Returns calculated fast waiting time.
>>> ethextended.gas.fast_waittime()
24.0
-
gas.avg_wei()¶
- Uses
ethgasstation.infoAPI
Returns average gas price (in wei)
>>> ethextended.gas.avg_wei()
22100000000
-
gas.avg_waittime()¶
- Uses
ethgasstation.infoAPI
Returns calculated average waiting time.
>>> ethextended.gas.avg_waittime()
216.0
-
gas.slow_wei()¶
- Uses
ethgasstation.infoAPI
Returns slow gas price (in wei)
>>> ethextended.gas.slow_wei()
22000000000
-
gas.slow_waittime()¶
- Uses
ethgasstation.infoAPI
Returns calculated slow waiting time.
>>> ethextended.gas.slow_waittime()
474.0