ML6Average block gas price hourly on Osmosis
    Updated 2022-11-12
    select avg(price) * sum(gas_used/1e9) / count(distinct block_id) as Average_block , hour(block_timestamp)
    from osmosis.core.dim_prices inner join osmosis.core.fact_transactions
    on recorded_at::date=block_timestamp::date
    where
    symbol ='OSMO'
    and recorded_at::date > current_date - interval '30 days'
    and block_timestamp::date > current_date - interval '30 days'
    group by 2


    Run a query to Download Data