Updated 2024-01-29

    select 'ARB'as token
    ,case
    when AMOUNT_IN_USD>0 and AMOUNT_IN_USD<10 then 'Below 10 $'
    when AMOUNT_IN_USD>=10 and AMOUNT_IN_USD<=100 then '10~100 $'
    when AMOUNT_IN_USD>100 and AMOUNT_IN_USD<=1000 then '100~1K $'
    when AMOUNT_IN_USD>1000 and AMOUNT_IN_USD<=10000 then '1K~10K $'
    when AMOUNT_IN_USD>10000 then 'Up to 10K $' end as dis_volume
    ,count(distinct ORIGIN_FROM_ADDRESS) as swappers
    ,count(distinct TX_HASH) as swaps
    from arbitrum.defi.ez_dex_swaps
    where BLOCK_TIMESTAMP::date>='2023-10-01'
    and PLATFORM='uniswap-v3'
    and SYMBOL_IN='ARB'
    and dis_volume is not null
    group by 1,2
    union all
    select 'OP'as token
    ,case
    when AMOUNT_IN_USD>0 and AMOUNT_IN_USD<10 then 'Below 10 $'
    when AMOUNT_IN_USD>=10 and AMOUNT_IN_USD<=100 then '10~100 $'
    when AMOUNT_IN_USD>100 and AMOUNT_IN_USD<=1000 then '100~1K $'
    when AMOUNT_IN_USD>1000 and AMOUNT_IN_USD<=10000 then '1K~10K $'
    when AMOUNT_IN_USD>10000 then 'Up to 10K $' end as dis_volume
    ,count(distinct ORIGIN_FROM_ADDRESS) as swappers
    ,count(distinct TX_HASH) as swaps
    from optimism.defi.ez_dex_swaps
    where BLOCK_TIMESTAMP::date>='2023-10-01'
    and PLATFORM='uniswap-v3'
    and SYMBOL_IN='OP'
    and dis_volume is not null
    group by 1,2


    Last run: about 1 year agoAuto-refreshes every 24 hours
    TOKEN
    DIS_VOLUME
    SWAPPERS
    SWAPS
    1
    ARB10~100 $47945120063
    2
    OP10~100 $4912087093
    3
    ARB1K~10K $170551019446
    4
    OP1K~10K $6265124289
    5
    ARB100~1K $38606523846
    6
    OP100~1K $22497141539
    7
    ARBBelow 10 $4904382256
    8
    ARBUp to 10K $211942149
    9
    OPBelow 10 $5333475338
    10
    OPUp to 10K $49010011
    10
    318B
    4s