estimate_gas_price

Documentation for eth_defi.gas.estimate_gas_price function.

estimate_gas_price(web3)[source]

Get a good gas price for a transaction.

TODO: This is non-optimal, first draft implementation.

Parameters

web3 (web3.main.Web3) –

Return type

eth_defi.gas.GasPriceSuggestion