Query editor
with txn as (selectdate_trunc('day', block_time) as day,avg(fee/1e9) as avg_fee,min(fee/1e9) as min_feefrom solana.transactionswhere block_date >= date(now() - interval '6' month)group by 1),price as (select date_trunc('day', minute) as day,avg(price) as pricefrom prices.usdwhere contract_address is nulland symbol = 'SOL'and blockchain is nulland date(minute) >= date(now() - interval '6' month)group by 1),daily_data as (select a.day, avg_fee, avg_fee*price as avg_fee_usd, min_fee*price as min_fee_usdfrom txn aleft join price bon a.day=b.dayorder by a.day)select min(min_fee_usd) from daily_data