reth_primitives

Function gas_spent_by_transactions

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). Retrieves gas spent by transactions as a vector of tuples (transaction index, gas used).