Updated 2023-10-13

    SELECT
    COUNT(DISTINCT tx_hash) AS swaps,
    COUNT(DISTINCT origin_from_address) AS swappers,
    SUM(amount_out_usd) AS volume_swapped_usd,
    AVG(amount_out_usd) AS avg_volume_swapped_usd
    FROM
    avalanche.core.ez_dex_swaps
    where platform='gmx' and block_timestamp >= current_date - 90





    Run a query to Download Data