Query editor
with txs as (select evt_block_time,evt_tx_id,name,symbolfrom pumpdotfun_solana.pump_evt_createeventwhere evt_block_date >= date '2026-06-01'and evt_block_date < date '2026-08-01'),activity as (SELECTf.tx_hash,f.block_date,-- SOLelement_at(f.tx_fee_breakdown, 'base_fee') AS base_fee_sol,element_at(f.tx_fee_breakdown, 'prioritization_fee') AS priority_fee_sol,-- USDelement_at(f.tx_fee_breakdown_usd, 'base_fee') AS base_fee_usd,element_at(f.tx_fee_breakdown_usd, 'prioritization_fee') AS priority_fee_usd,element_at(f.tx_fee_breakdown_usd, 'base_fee') + element_at(f.tx_fee_breakdown_usd, 'prioritization_fee') as total_fee_usdFROM gas_solana.fees fJOIN txs tON f.tx_hash = t.evt_tx_idWHERE f.block_date >= DATE '2026-06-01'and f.block_date < date '2026-08-01')selectblock_date,avg(total_fee_usd) as avg_tx_fee_usd,approx_percentile(total_fee_usd,0.5) as median_tx_fee_usd,avg(base_fee_usd) as avg_tx_fee_usd,approx_percentile(base_fee_usd,0.5) as median_base_fee_usd,avg(priority_fee_usd) as avg_priority_fee_usd,approx_percentile(priority_fee_usd,0.5) as median_priority_fee_usdfrom activitygroup by 1order by 1 desc