i_danSolana Traders 2021
    Updated 2025-04-24
    WITH swaps AS (
    SELECT
    block_timestamp
    , tx_id
    , swapper
    , swap_program
    FROM solana.defi.ez_dex_swaps
    UNION ALL
    SELECT
    block_timestamp
    , tx_id
    , swapper
    , 'jupiter' AS swap_program
    FROM solana.defi.fact_swaps_jupiter_summary
    )

    SELECT
    date_trunc(month, block_timestamp) AS month
    -- , swap_program
    , COUNT(DISTINCT swapper) AS User_Count
    FROM swaps
    WHERE block_timestamp >= '2021-01-01' AND block_timestamp <= '2021-12-31'
    GROUP BY 1
    ORDER BY 1 DESC



    Last run: about 1 month ago
    MONTH
    USER_COUNT
    1
    2021-12-01 00:00:00.000344120
    2
    2021-11-01 00:00:00.000359278
    3
    2021-10-01 00:00:00.000238492
    4
    2021-09-01 00:00:00.000341017
    5
    2021-08-01 00:00:00.000115261
    6
    2021-07-01 00:00:00.00022093
    7
    2021-06-01 00:00:00.00033391
    8
    2021-05-01 00:00:00.00054633
    9
    2021-04-01 00:00:00.00042669
    10
    2021-03-01 00:00:00.0002405
    10
    345B
    24s