Query editor
-- results:-- total_fee: 45991.34545750572-- total_burn: 41611.17928392635-- total_rewards: 4,380 ETH-- MEV-Boost Rewards during that period were: 21,674 ETH-- Public mempool transactions therefore accounted for 20.2% of validator execution layer rewards.-- A little bit less actually b/c this ignores the 10% of self-built blocks.with mempool_hashes as (SELECTdistinct(hash) as hashFROM dune.flashbots.dataset_mempool_dumpsterwherefrom_unixtime(cast(timestamp_ms AS DECIMAL)/1000) >= cast('2023-10-08' as timestamp)and from_unixtime(cast(timestamp_ms AS DECIMAL)/1000) < cast('2023-11-08' as timestamp)--limit 5),tx_info as (selectq2.gas_price as gas_price,q2.gas_used as gas_used,q2.priority_fee_per_gas as priority_fee_per_gas,q2.block_number as block_number,q1.hashfrom mempool_hashes q1 JOIN ethereum.transactions q2ON q1.hash = cast(q2.hash as varchar)),blk_info as (select(q1.gas_price - q2.base_fee_per_gas) / 1e9 as tip_price,q1.gas_price as gas_price,q1.gas_used as gas_used,q1.hash as hash,q1.priority_fee_per_gas as priority_fee_per_gas,q2.base_fee_per_gas as base_feefrom tx_info q1 JOIN ethereum.blocks q2ON q1.block_number = q2.number)selectsum(gas_price / 1e18 * gas_used) as total_fee,sum(base_fee / 1e18 * gas_used) as total_burnfrom blk_info-- gas_price * gas_used / 1e18 == total fee.-- base_fee * gas_used / 1e18 == burn