elsinaDistribution of User Transactions
    Updated 2025-02-07
    with per_user as (
    SELECT
    origin_from_address as user,
    count(distinct tx_hash) as tx_count
    from
    swell.core.ez_decoded_event_logs
    where
    event_name = 'Deposit' and
    block_timestamp::date >= '2025-01-01'
    group by
    user
    )

    select
    case
    when tx_count < 2 then 'A. 1'
    when tx_count < 4 then 'B. 2-3'
    when tx_count < 8 then 'C. 4-7'
    when tx_count < 16 then 'D. 8-15'
    when tx_count < 32 then 'E. 16-31'
    when tx_count < 64 then 'F. 32-63'
    when tx_count < 128 then 'G. 64-127'
    else 'more than 128' end as dis,
    count(distinct user) as user_count,
    100.0 * count(distinct user) / sum(count(distinct user)) over () as user_count_percentage
    from per_user
    group by 1






    Last run: about 2 months ago
    DIS
    USER_COUNT
    USER_COUNT_PERCENTAGE
    1
    B. 2-318528.417819
    2
    C. 4-77711.827957
    3
    E. 16-31243.686636
    4
    F. 32-6371.075269
    5
    D. 8-15375.683564
    6
    G. 64-12710.15361
    7
    A. 131748.694316
    8
    more than 12830.460829
    8
    199B
    1s