Sbhn_NP2023-07-06 03:52 AM
    Updated 2023-10-13
    select date_trunc('month',block_timestamp) as date,
    pool_name,
    count(DISTINCT tx_hash) as swaps,
    count(DISTINCT origin_from_address) as swappers,
    sum(amount_out_usd) as usd_volume
    from avalanche.core.ez_dex_swaps
    where block_timestamp::date >= '{{Date}}'
    and platform = 'gmx'
    group by 1,2

    Run a query to Download Data