TradeResult
Documentation for eth_defi.trade.TradeResult Python class.
- class TradeResult[source]
A base class for Success/Fail trade result.
Attributes summary
How many units of gas we burned
What as the gas price used in wei.
Methods summary
__init__
(gas_used, effective_gas_price)This will return the gas cost of the transaction in blockchain's native currency e.g.
get_effective_gas_price_gwei
()