hrst79users dist
    Updated 2025-04-01
    with base as (
    select
    DISTINCT from_address as users,
    count(DISTINCT tx_hash) as swaps
    from
    ink.core.fact_transactions
    where
    TO_ADDRESS = '0x5839389261d1f38aac7c8e91dcda85646becb414'
    group by
    1
    )
    select
    count (users) as users_count,
    case
    when swaps = 1 then '1'
    when swaps > 1
    and swaps <= 5 then '1-5'
    when swaps > 5
    and swaps <= 10 then '5-10'
    else '>10'
    end as swap_count
    from
    base
    group by
    2
    Last run: 24 days ago
    USERS_COUNT
    SWAP_COUNT
    1
    59681-5
    2
    556>10
    3
    236151
    4
    5505-10
    4
    51B
    2s