Query editor
selectdate_trunc('hour', block_time) as hour, 'ethereum' as chain, approx_percentile(gas_price, 0.5)/1e9 as median_gas_price_gweifrom ethereum.transactionswhere block_time >= now() - interval '7' daygroup by 1,2unionselectdate_trunc('hour', block_time) as hour, 'base' as chain, approx_percentile(gas_price, 0.5)/1e9 as median_gas_price_gweifrom base.transactionswhere block_time >= now() - interval '7' daygroup by 1,2unionselectdate_trunc('hour', block_time) as hour, 'arbitrum' as chain, approx_percentile(effective_gas_price, 0.5)/1e9 as median_gas_price_gweifrom arbitrum.transactionswhere block_time >= now() - interval '7' daygroup by 1,2unionselectdate_trunc('hour', block_time) as hour, 'optimism' as chain, approx_percentile(gas_price, 0.5)/1e9 as median_gas_price_gweifrom optimism.transactionswhere block_time >= now() - interval '7' daygroup by 1,2unionselectdate_trunc('hour', block_time) as hour, 'linea' as chain, approx_percentile(gas_price, 0.5)/1e9 as median_gas_price_gweifrom linea.transactionswhere block_time >= now() - interval '7' daygroup by 1,2unionselectdate_trunc('hour', block_time) as hour, 'unichain' as chain, approx_percentile(gas_price, 0.5)/1e9 as median_gas_price_gweifrom unichain.transactionswhere block_time >= now() - interval '7' daygroup by 1,2