TheLaughingManDaily Stats - taker
    Updated 2025-02-27


    with edge_vols as (
    SELECT
    block_timestamp::date as ddate
    , 'sei' as label
    , SUM(CASE WHEN is_taker=TRUE THEN AMOUNT_USD ELSE 0 END) as volume
    from sei.vertex.ez_perp_trades
    WHERE 1=1
    AND trader = '0x0000000000000000000000000000000000000000'
    AND subaccount='0x0000000000000000000000000000000000000000000000000000000000000001'
    GROUP BY ddate, label

    UNION ALL

    SELECT
    block_timestamp::date as ddate
    , 'base' as label
    , SUM(CASE WHEN is_taker=TRUE THEN AMOUNT_USD ELSE 0 END) as volume
    from base.vertex.ez_perp_trades
    WHERE 1=1
    AND trader = '0x0000000000000000000000000000000000000000'
    AND subaccount='0x0000000000000000000000000000000000000000000000000000000000000001'
    GROUP BY ddate, label
    UNION ALL
    SELECT
    block_timestamp::date as ddate
    , 'mantle' as label
    , SUM(CASE WHEN is_taker=TRUE THEN AMOUNT_USD ELSE 0 END) as volume
    from mantle.vertex.ez_perp_trades
    WHERE 1=1
    AND trader = '0x0000000000000000000000000000000000000000'
    AND subaccount='0x0000000000000000000000000000000000000000000000000000000000000001'
    GROUP BY ddate, label
    QueryRunArchived: QueryRun has been archived