kingharald-ethAverage Daily Amount of swap transactions of Optimism users
    Updated 2022-07-23
    select date_trunc('day', a.block_timestamp) as date, avg(eth_value) as average from optimism.core.fact_transactions a
    join optimism.core.fact_event_logs b on a.tx_hash = b.tx_hash
    where event_name = 'Swap'
    and tx_status = 'SUCCESS'
    group by date
    Run a query to Download Data