Updated 2025-04-03
    SELECT
    hour,
    count(*) as new_buyers,
    sum(new_buyers) over (order by hour) as total_buyers

    FROM (
    SELECT
    signers[0] as wallet,
    min(date_trunc('hour', block_timestamp)) as hour

    from eclipse.core.fact_transactions
    --where tx_id like '4TwEfdwK9WNwHWybfLeoZmeMZQPWDRBb4ZqRNzofk58XiRjxRN4GoWiCSzTvH8xLUyJGRF4Yp6n3w6Y3CLpnrpQb'
    WHERE ((log_messages[0] LIKE 'Program Rarim7DMoD45z1o25QWPsWvTdFSSEdxaxriwWZLLTic invoke [1]' and log_messages[1] LIKE 'Program log: Instruction: FillOrder')
    OR (log_messages[2] LIKE 'Program Rarim7DMoD45z1o25QWPsWvTdFSSEdxaxriwWZLLTic invoke [1]' and log_messages[3] LIKE 'Program log: Instruction: FillOrder'))
    and block_timestamp > '2024-12-05 14:00:00.000'
    AND SUCCEEDED
    GROUP BY 1
    )
    GROUP BY 1


    Last run: 20 days ago
    HOUR
    NEW_BUYERS
    TOTAL_BUYERS
    1
    2025-02-21 17:00:00.0001817054
    2
    2025-01-08 23:00:00.00089935
    3
    2025-02-18 09:00:00.000416135
    4
    2024-12-17 14:00:00.00063294
    5
    2025-02-26 08:00:00.000818317
    6
    2025-02-25 09:00:00.0001318184
    7
    2025-01-16 08:00:00.000311317
    8
    2025-01-22 23:00:00.000812695
    9
    2025-01-31 16:00:00.0001814173
    10
    2025-02-22 06:00:00.0001017169
    11
    2024-12-26 10:00:00.000146184
    12
    2025-01-04 08:00:00.00098698
    13
    2024-12-30 20:00:00.000147759
    14
    2025-02-25 14:00:00.000718238
    15
    2025-02-28 21:00:00.000618878
    16
    2025-01-17 09:00:00.0001011497
    17
    2025-01-07 21:00:00.000119624
    18
    2025-01-19 06:00:00.000711754
    19
    2025-01-25 15:00:00.000813271
    20
    2025-01-23 21:00:00.000812927
    ...
    2236
    79KB
    231s