ML66Daily amount spent on gas by Ethereum tracked over the last 30 days
    Updated 2022-11-12
    select avg(price) as price ,avg(price) * sum(gas_used/1e9) as gas_usd , block_timestamp::date
    from ethereum.core.fact_hourly_token_prices inner join ethereum.core.fact_transactions
    on hour::date=block_timestamp::date
    where
    TOKEN_ADDRESS is null
    and hour::date > current_date - interval '30 days'
    and block_timestamp::date > current_date - interval '30 days'
    group by 3
    Run a query to Download Data