dr1888Top 5 inflow to DEX
    Updated 2023-05-21
    -- forked from Top 5 inflow to CEX @ https://flipsidecrypto.xyz/edit/queries/3db0f976-80ef-40d7-aa8c-639050bad81c

    -- forked from Top 5 outflow from CEX @ https://flipsidecrypto.xyz/edit/queries/5069f61f-b1a2-4f9b-b176-340f34afea81

    select
    label,
    sum(amount_usd) as Volume
    from ethereum.core.ez_token_transfers
    join ethereum.core.dim_labels
    on to_address = address
    where symbol like 'UNI'
    and label_type like 'dex'
    group by 1
    having Volume is not null
    order by Volume DESC
    limit 5



    Run a query to Download Data