Updated 2025-04-06
    select
    date_trunc('day', min_date) as hour,
    count(distinct contract) as new_contracts,
    sum(count(distinct contract)) over (order by date_trunc('day', min_date) asc) as tot_contracts
    from (
    select
    contract_address as contract,
    min(block_timestamp) as min_date
    from ink.core.fact_event_logs
    where tx_succeeded = 'TRUE'
    --and block_timestamp >= '2024-12-17 11:00:00.000'
    group by 1
    )
    group by 1
    order by 1 asc


    Last run: 18 days ago
    HOUR
    NEW_CONTRACTS
    TOT_CONTRACTS
    1
    2024-12-07 00:00:00.00022
    2
    2024-12-09 00:00:00.0002931
    3
    2024-12-10 00:00:00.0001041
    4
    2024-12-11 00:00:00.0002364
    5
    2024-12-12 00:00:00.00096160
    6
    2024-12-13 00:00:00.00034194
    7
    2024-12-14 00:00:00.0007201
    8
    2024-12-16 00:00:00.00059260
    9
    2024-12-17 00:00:00.000216476
    10
    2024-12-18 00:00:00.000428904
    11
    2024-12-19 00:00:00.0005211425
    12
    2024-12-20 00:00:00.0002921717
    13
    2024-12-21 00:00:00.0002631980
    14
    2024-12-22 00:00:00.0004062386
    15
    2024-12-23 00:00:00.0004502836
    16
    2024-12-24 00:00:00.0004543290
    17
    2024-12-25 00:00:00.0005813871
    18
    2024-12-26 00:00:00.0005334404
    19
    2024-12-27 00:00:00.0005284932
    20
    2024-12-28 00:00:00.0004565388
    ...
    119
    4KB
    3s