pub fn gas_spent_by_transactions<T: Deref<Target = Receipt>>( receipts: impl IntoIterator<Item = T>, ) -> Vec<(u64, u64)>
Retrieves gas spent by transactions as a vector of tuples (transaction index, gas used).