Afonso_DiazVolume Distribution for withdraw
    Updated 2025-04-22
    with main as (
    select
    tx_id,
    block_timestamp,
    pool_address,
    provider_address as user,
    pool_name,
    platform,
    token_a_amount_usd + token_b_amount_usd as amount_usd,
    action_type as event_name
    from solana.marinade.ez_liquidity_pool_actions
    ), categorized as (
    select
    platform,
    case
    when amount_usd < 100 then 'Small (<$100)'
    when amount_usd between 100 and 1000 then 'Medium ($100-$1K)'
    when amount_usd between 1000 and 10000 then 'Large ($1K-$10K)'
    else 'Whale ($10K+)'
    end as category,
    count(distinct tx_id) as transactions
    from main
    where event_name = 'withdraw'
    group by platform, category
    )
    select platform, category, transactions
    from categorized
    order by platform, transactions desc


    Last run: about 1 month ago
    PLATFORM
    CATEGORY
    TRANSACTIONS
    1
    meteoraSmall (<$100)19558
    2
    meteoraWhale ($10K+)13103
    3
    meteoraMedium ($100-$1K)6794
    4
    meteoraLarge ($1K-$10K)2441
    5
    orcaMedium ($100-$1K)36929
    6
    orcaLarge ($1K-$10K)35694
    7
    orcaSmall (<$100)35330
    8
    orcaWhale ($10K+)30578
    9
    raydiumSmall (<$100)32308
    10
    raydiumWhale ($10K+)25825
    11
    raydiumMedium ($100-$1K)13779
    12
    raydiumLarge ($1K-$10K)8786
    12
    415B
    4s