Afonso_DiazTop labels users interacted with
    Updated 2025-05-15
    WITH main AS (
    SELECT
    tx_hash,
    block_timestamp,
    origin_from_address AS user,
    origin_to_address as contract_address,
    label_type,
    label_subtype,
    project_name
    FROM kaia.core.fact_event_logs
    left join
    kaia.core.dim_labels on address = origin_to_address
    where
    label_subtype not in ('token_contract')
    and label_type != 'token'
    )

    select
    label_type,
    count(distinct tx_hash) as transactions,
    count(distinct user) as users
    from
    main
    group by 1
    order by 2 desc


    Last run: 10 days ago
    LABEL_TYPE
    TRANSACTIONS
    USERS
    1
    games35841955936003448
    2
    dapp448425162199963
    3
    dex421799361316441
    4
    defi7968637287791
    5
    nft2505839149554
    6
    bridge1209647442633
    7
    cex27705714
    8
    chadmin4047288
    8
    193B
    306s