i_dancrude-gold odd 2024 - 2025
    Updated 2025-04-29
    WITH firsta AS (
    SELECT
    date_trunc('month', block_timestamp) AS Month
    -- , tx_id
    -- , event_type
    -- , program_id
    , COUNT(DISTINCT TRIM(REPLACE(f.value::string, '"', ''))) AS wallet_address
    FROM solana.core.ez_events_decoded d --solana.core.fact_transactions
    JOIN LATERAL FLATTEN(INPUT => d.signers) f
    WHERE date_trunc('month', block_timestamp) = '2025-03-01'
    GROUP BY 1

    UNION ALL

    SELECT
    date_trunc('month', block_timestamp) AS Month
    -- , tx_id
    -- , event_type
    -- , program_id
    , COUNT(DISTINCT TRIM(REPLACE(f.value::string, '"', ''))) AS wallet_address
    FROM solana.core.ez_events_decoded d --solana.core.fact_transactions
    JOIN LATERAL FLATTEN(INPUT => d.signers) f
    WHERE date_trunc('month', block_timestamp) = '2025-01-01'
    GROUP BY 1

    UNION ALL

    SELECT
    date_trunc('month', block_timestamp) AS Month
    -- , tx_id
    -- , event_type
    -- , program_id
    , COUNT(DISTINCT TRIM(REPLACE(f.value::string, '"', ''))) AS wallet_address
    FROM solana.core.ez_events_decoded d --solana.core.fact_transactions
    JOIN LATERAL FLATTEN(INPUT => d.signers) f
    WHERE date_trunc('month', block_timestamp) = '2024-11-01'
    Last run: about 1 month ago
    MONTH
    WALLET_ADDRESS
    1
    2025-03-01 00:00:00.00073467658
    2
    2025-01-01 00:00:00.000102607322
    3
    2024-11-01 00:00:00.000131659655
    4
    2024-09-01 00:00:00.00090930234
    5
    2024-07-01 00:00:00.00019738835
    6
    2024-05-01 00:00:00.00013581007
    7
    2024-03-01 00:00:00.00010672686
    8
    2024-01-01 00:00:00.0006920749
    8
    298B
    457s