IBC_insider100 top Solana whales
    Updated 2022-09-15
    with t1 as (select TX_FROM,sum(AMOUNT) as outflow from solana.core.fact_transfers
    where MINT='So11111111111111111111111111111111111111112'
    group by 1
    ),
    t2 as
    ( select TX_TO,sum(AMOUNT) as inflow from solana.core.fact_transfers
    where MINT='So11111111111111111111111111111111111111112'
    group by 1
    )

    select TX_TO as user ,INFLOW-OUTFLOW as sol_balance from t1 a inner join t2 b
    on a.TX_FROM=b.TX_TO
    where
    TX_TO not in (select ADDRESS as TX_TO from solana.core.dim_labels)
    order by 2 desc
    limit 100
    Run a query to Download Data