fantaSwap volume on ParaSwap per month
    Updated 2022-05-09
    select sum(AMOUNT_USD),date(BLOCK_TIMESTAMP) as date ,'from=paraswap' from ethereum.udm_events
    where FROM_LABEL='paraswap' and date >= '2021-01-01' and date <= '2021-12-31' and date != '2021-12-16'
    group by date

    UNION

    select sum(AMOUNT_USD),date(BLOCK_TIMESTAMP) as date ,'to=paraswap' from ethereum.udm_events
    where TO_LABEL='paraswap' and date >= '2021-01-01' and date <= '2021-12-31' and date != '2021-12-16'
    group by date

    UNION

    select sum(AMOUNT_USD),date(BLOCK_TIMESTAMP) as date ,'from and to =paraswap' from ethereum.udm_events
    where (TO_LABEL='paraswap' or FROM_LABEL='paraswap') and date >= '2021-01-01' and date <= '2021-12-31' and date != '2021-12-16'
    group by date
    Run a query to Download Data