0xHaM-dTop 10 Token by Traders Count
    Updated 2025-04-10
    with eventTb as (
    select
    BLOCK_TIMESTAMP,
    TX_HASH::string as TX_HASH,
    origin_from_address::string as trader,
    DECODED_LOG:amountIn::int/1e18 as amountIn,
    DECODED_LOG:amountOut::int/1e18 as amountOut,
    DECODED_LOG:price::int as price,
    DECODED_LOG:mcapInEth::int as mcapInEth,
    DECODED_LOG:referrer::string as referrer,
    DECODED_LOG:rewardAmount::int as rewardAmount,
    DECODED_LOG:isBuy::Boolean as isBuy,
    DECODED_LOG:feeDiscountAmount::int as feeDiscountAmount,
    DECODED_LOG:sender::string as sender,
    DECODED_LOG:to::string as to_add,
    DECODED_LOG:token as token_add,
    iff(isBuy = 'TRUE', amountIn,amountOut) as amount,
    (iff(isBuy = 'TRUE', amountIn,amountOut))*price as amt_usd,
    iff(isBuy = 'TRUE', 'Buy','Sell') as action
    from ronin.core.ez_decoded_event_logs a
    join ronin.price.ez_prices_hourly b on trunc(a.BLOCK_TIMESTAMP,'hour') = b.hour
    where TOPIC_0 = '0x9acfc5f7da95529431a84e8ecdf136732d32c0b4bbbcfe05df5bcada8978c179'
    and contract_address = '0xa54b0184d12349cf65281c6f965a74828ddd9e8f'
    and ORIGIN_TO_ADDRESS = '0xa54b0184d12349cf65281c6f965a74828ddd9e8f'
    and EVENT_NAME = 'Trade'
    and TX_SUCCEEDED = 'TRUE'
    and b.symbol = 'RON'
    )
    ,
    token_create as (
    select
    BLOCK_TIMESTAMP,
    TX_HASH,
    origin_from_address,
    DECODED_LOG:creator::string as creator,
    DECODED_LOG:description::string as description,
    Last run: about 2 months ago
    SYMBOL
    N_TRADES
    N_TRADERS
    N_CREATORS
    N_TOKENS
    AMOUNT_USD
    Avg Vol per Trade
    Avg Vol per Trader
    AMOUNT_RON
    AVG_AMOUNT_USD
    MAX_AMOUNT_USD
    MEDIAN_AMOUNT_USD
    1
    HANTAI9578181088514747.42015037253.742683248284.390839862312202.37530653.7426832483347.873117.17679153
    2
    MEAN7306176811110733.65022001815.15653575462.63215510267212.5968515.1565357541075.801940190.0017424
    3
    trumpkong7831170611376173.3233368748.036435109220.500189529217290.54147848.0364351093715.7343454216.236
    4
    PANTSU11059169022580683.83166435352.507806462343.599900393363719.49137552.5078064621604.6116.038
    5
    UAG7175167223389588.67050923554.298072545233.007578056249143.02268354.2980725455574.4310752216.6404
    6
    NOTUS8895155522372658.48624335741.8952767239.651759642259106.30439741.89527673334.4423743414.56035
    7
    WOKU8276149222376720.35031273245.519617003252.493532381257559.8991545.5196170031746.3401990414.6594
    8
    chika5957147811221603.32333247737.200490739149.934589535143401.79215937.2004907392045.901797528.514
    9
    FART10974143999471186.46782011542.936619995327.440213913322653.6780642.9366199952290.8834974714.949
    10
    MINU8953139211417073.1881177446.584741217299.621543188319032.10060446.5847412172949.9231918.79969
    10
    1KB
    92s