elsina2024-10-05: daily activity per user
    Updated 2025-04-06
    with users as (
    SELECT
    date_trunc('day', block_timestamp) as date,
    from_address,
    count(DISTINCT tx_hash) as tx_count,
    sum(tx_fee_precise) as total_fee,
    FROM
    ink.core.fact_transactions
    where
    date >= '2024-12-17'
    GROUP BY
    date, from_address
    )

    select
    date,
    avg(tx_count) as avg_tx_count_per_user,
    avg(total_fee) as avg_tot_fee_per_user,
    from
    users
    group by
    date
    order by
    date asc





    Last run: 23 days ago
    DATE
    AVG_TX_COUNT_PER_USER
    AVG_TOT_FEE_PER_USER
    1
    2024-12-17 00:00:00.00070.9060770.0002006411391
    2
    2024-12-18 00:00:00.00028.6196580.00007514604971
    3
    2024-12-19 00:00:00.00017.6017480.00007169630856
    4
    2024-12-20 00:00:00.00037.3084720.00008703275051
    5
    2024-12-21 00:00:00.00046.651130.00003474613672
    6
    2024-12-22 00:00:00.00046.2350750.00002327615935
    7
    2024-12-23 00:00:00.00033.7039580.00007421309381
    8
    2024-12-24 00:00:00.00023.3681630.00006576069232
    9
    2024-12-25 00:00:00.00025.1339150.00004769173313
    10
    2024-12-26 00:00:00.00020.0537120.00005502110127
    11
    2024-12-27 00:00:00.00026.3898670.00006464597761
    12
    2024-12-28 00:00:00.00023.4197710.00006529471871
    13
    2024-12-29 00:00:00.00020.2763990.00007133847307
    14
    2024-12-30 00:00:00.00020.2497360.00008162917424
    15
    2024-12-31 00:00:00.00016.4500340.00007434256318
    16
    2025-01-01 00:00:00.00023.5138240.00003465889048
    17
    2025-01-02 00:00:00.00024.3736610.00003490530734
    18
    2025-01-03 00:00:00.00021.853140.00004412585541
    19
    2025-01-04 00:00:00.00020.7658140.00003532303049
    20
    2025-01-05 00:00:00.00020.5419270.00003732243127
    ...
    110
    6KB
    7s