reth_primitives_traits::receipt

Function gas_spent_by_transactions

Source
pub fn gas_spent_by_transactions<I, T>(receipts: I) -> Vec<(u64, u64)>
where I: IntoIterator<Item = T>, T: TxReceipt,
Expand description

Retrieves gas spent by transactions as a vector of tuples (transaction index, gas used).