gas

Documentation for eth_defi.gas Python module.

Gas price strategies.

Web3.py no longer support gas price strategies post London hard work.

Functions

apply_gas(tx, suggestion)

Apply gas fees to a raw transaction dict.

estimate_gas_fees(web3)

Get a good gas price for a transaction.

node_default_gas_price_strategy(web3, ...)

Gas price strategy for blockchains not supporting dynamic gas fees.

Classes

GasPriceMethod

What method we did use for setting the gas price.

GasPriceSuggestion

Gas price details.