Ariooptimism and ftx - velodrome - 3
    Updated 2022-11-17
    with tab1 as (
    select
    concat(SYMBOL_IN, '-->', SYMBOL_OUT) as SwapPairs,
    sum(AMOUNT_IN_USD) as VolumeUSD
    from optimism.velodrome.ez_swaps
    where BLOCK_TIMESTAMP >= CURRENT_DATE - 17
    group by 1
    )
    select Top 10 SwapPairs,
    VolumeUSD
    from tab1
    where VolumeUSD is not null
    order by VolumeUSD desc
    Run a query to Download Data