Pine Analyticsbrief-gold copy
    Updated 2025-03-03
    SELECT
    case
    when balance < 1 then 'b/ Below 1'
    when balance < 10 then 'c/ 1-10'
    when balance < 100 then 'd/ 10-100'
    when balance < 1000 then 'e/ 100-1K'
    when balance < 10000 then 'f/ 1K-10K'
    when balance < 100000 then 'g/ 10K-100K'
    when balance < 1000000 then 'h/ 100K-1M'
    else 'i/ 1M+'
    end as token_balance_group,
    count(*) as depositors,
    sum(balance) as deposit_amount

    FROM (
    SELECT
    OWNER,
    sum(balance - pre_balance) as balance

    FROM solana.core.fact_token_balances
    where mint like 'FxT7bPGvkS5jKF2vgnJ16MciHqtsNqxbcWTfFg7L136h'
    AND succeeded
    GROUP BY 1
    order by 2 desc
    )
    where balance > 0
    GROUP BY 1



    Last run: about 2 months ago
    TOKEN_BALANCE_GROUP
    DEPOSITORS
    DEPOSIT_AMOUNT
    1
    c/ 1-1052151.660359316
    2
    b/ Below 123020.23369349
    3
    g/ 10K-100K122875.458125145
    4
    e/ 100-1K113386.970232261
    5
    d/ 10-10015444.24600642
    6
    f/ 1K-10K24966.311048569
    6
    188B
    133s