MLDZMNflow.9
    Updated 2022-08-14
    with tb1 as (SELECT
    *
    FROM solana.core.dim_labels where label_type = 'cex' and label_subtype = 'hot_wallet'
    )
    select
    b.label as CEX,
    count(distinct tx_id) as no_txn
    from solana.core.fact_transfers s join tb1 b on s.TX_FROM=b.ADDRESS
    where TX_FROM in (select ADDRESS from tb1)
    and BLOCK_TIMESTAMP>=CURRENT_DATE-180
    group by 1
    order by 2 desc
    limit 10

    Run a query to Download Data