Afonso_DiazTop collections
    Updated 2025-05-05
    with

    pricet as (
    select
    hour::date as date,
    avg(price) as token_price_usd
    from
    sei.price.ez_prices_hourly
    where
    token_address = 'usei'
    group by 1
    ),

    main as (
    select
    tx_hash,
    block_timestamp,
    -- Determine NFT collection address
    iff(
    decoded_log:consideration[0]:token != '0x0000000000000000000000000000000000000000',
    decoded_log:consideration[0]:token,
    decoded_log:offer[0]:token
    ) as collection_address,

    -- Determine buyer and seller addresses
    iff(
    collection_address = '0x0000000000000000000000000000000000000000',
    origin_from_address,
    decoded_log:consideration[0]:recipient
    ) as buyer_address,

    iff(
    collection_address != '0x0000000000000000000000000000000000000000',
    origin_from_address,
    decoded_log:consideration[0]:recipient
    Last run: 28 days ago
    COLLECTION_ADDRESS
    TRANSACTIONS
    BUYERS
    SELLERS
    VOLUME
    AVERAGE_AMOUNT
    VOLUME_USD
    AVERAGE_AMOUNT_USD
    1
    0x7f51575f486e26f83e575a3fe77db71032e4d124
    1332347601114497.8821066863.7161280540120.75874794222.326521284
    2
    0x025776f8aec3f445a64fea642cd7776302157815
    126338152451319.1077387327.3556011419636.24460983710.467081349
    3
    0x1f963c268e711d09f7a9173532665d9c4491120a
    8307594255217.1856660631.9754584121046.3445778270.3961925702
    4
    0x9a1e3d2a010dbe576f9cccd57b2fc0df96c8e44d
    81518529474578.10944023876.25573562425729.6515481326.308437166
    5
    0x4e42894a5b5657641d5e786d2606aac0cc3f65cf
    7508228127.8070610.00580038819410.2186956610.002131559379
    6
    0x08bd7ab3f21f838bcbc83bab491947ca1aa95b1a
    5091341522881.87329222.045332358857.5730593820.6086395028
    7
    0xe8835036f4007a9781820c62c487d592ad9801be
    4981821986538.8092849426.9193749051510.1552733451.598047908
    8
    0xce0fee0ac17f37cd66642f0ec8a4675ae7f590dd
    4751171575524.3890444117.588446491199.9090750271.648226751
    9
    0x28b734946e13ce84af3d09e209c28b63467bb215
    4692762362667.1217984443.9280144311037.780981741.528396144
    10
    0x810a9d701d187fa7991659ca97279fbd49dee8eb
    46823831021000.45867545537.1032838795894.60373443610.41449423
    10
    1KB
    3s