Query editor
with blob_fees as (selectdate_trunc('week', block_time) as time,sum(gas_price / 1e9 * gas_used / 1e9) as fees_paid,sum(gas_price / 1e9 * gas_used / 1e9 * pu.price) as fees_paid_usdfrom ethereum.transactions q1 JOIN prices.usd puON pu.symbol='ETH'AND pu.contract_address IS NULLAND pu.minute = date_trunc('minute', q1.block_time)where q1.type = '3'group by 1), blob_counts as (selectdate_trunc('week', beacon_slot_time) as time,count(*) as blob_countfrom ethereum.blobsgroup by 1)select*,q1.time as dt,q1.fees_paid / q2.blob_count as fee_per_blob_eth,q1.fees_paid_usd / q2.blob_count as fee_per_blob_usdfrom blob_fees q1 JOIN blob_counts q2ON q1.time = q2.time