Sbhn_NP2023-09-04 11:58 AM
    Updated 2023-09-04
    select
    count(DISTINCT tx_HASH) as txs,
    count(DISTINCT origin_from_address) as traders,
    sum(amount_in_usd) as usd_volume
    from avalanche.defi.ez_dex_swaps
    where block_timestamp::date>= current_date-30
    and platform in ('trader-joe-v1','trader-joe-v2')
    having usd_volume is not null


    Run a query to Download Data