bobby_daniel3-1 DEX Metrics
    Updated 2025-05-30
    SELECT
    date_trunc('week', block_timestamp) as "Week",
    count(distinct tx_id) as "Swaps",
    count(distinct swapper) as "Swappers",
    sum(case when not SWAP_TO_AMOUNT_USD is null then SWAP_TO_AMOUNT_USD
    when not SWAP_FROM_AMOUNT_USD is null then SWAP_FROM_AMOUNT_USD end) as "Swap_volume_usd"
    FROM solana.defi.ez_dex_swaps
    WHERE swap_from_mint like 'bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1'
    or swap_to_mint like 'bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1'
    GROUP BY 1
    Last run: 23 days ago
    Week
    Swaps
    Swappers
    Swap_volume_usd
    1
    2023-08-14 00:00:00.000178387243876747.96
    2
    2023-01-16 00:00:00.000988317252118886.89
    3
    2022-06-13 00:00:00.000110
    4
    2024-09-30 00:00:00.000226161211533230702.32
    5
    2024-02-05 00:00:00.0002684106539114568670.04
    6
    2024-11-25 00:00:00.00085607222857012860.56
    7
    2024-01-15 00:00:00.000220297314699604444.38
    8
    2024-07-22 00:00:00.000153911306771131897.22
    9
    2023-06-05 00:00:00.0006482135112447.33
    10
    2023-10-30 00:00:00.000134218132916182077.77
    11
    2023-08-28 00:00:00.000197996615007903.06
    12
    2022-08-15 00:00:00.00015392.83
    13
    2022-12-05 00:00:00.0005411462.53
    14
    2024-03-11 00:00:00.0004309354925677378418.41
    15
    2023-05-08 00:00:00.000332916070175.18
    16
    2022-08-08 00:00:00.00056171148.3
    17
    2025-02-24 00:00:00.000117704171726663858.87
    18
    2024-06-24 00:00:00.000128637315041784834.7
    19
    2022-10-17 00:00:00.0001814115.87
    20
    2024-06-10 00:00:00.000111939235859525640.97
    ...
    155
    7KB
    155s