hessTotal Sales
    Updated 2025-01-05
    with pallet_EVM as (select a.block_timestamp::Date as date,
    a.origin_from_address as buyer,
    ifnull(c.sei_address,contract_address) as collection_address,
    '0x' || substr(topics[1]::string, 25 ) as seller,
    livequery.utils.udf_hex_to_int(topics[3]::string) as tokenid,
    a.tx_hash,
    value as price
    from sei.core_evm.fact_event_logs a join sei.core_evm.fact_traces b on a.tx_hash = b.tx_hash
    left outer join sei.core.dim_address_mapping c on a.contract_address = c.evm_address
    where a.origin_to_address = '0x0000000000000000000000000000000000001002'
    and topics[0] = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef'
    and livequery.utils.udf_hex_to_int(topics[3]::string) is not null
    and substr(topics[1]::string, 25 ) != '000000000000000000000000000000000000000000'
    and livequery.utils.udf_hex_to_int(topics[3]::string) in (select token_id from sei.nft.ez_nft_sales)
    and value != 0
    and contract_address not in ('sei1u5y9zyskplm4a6y62sxdhftsat767l6hfmmjvm')
    )
    ,
    pallet as ( select block_timestamp::date as date,
    tx_id,
    seller_address as seller,
    buyer_address as buyer,
    amount as price,
    amount_usd as price_usd,
    nft_address as collection_address ,
    project_name,
    token_id
    from sei.nft.ez_nft_sales
    where tx_succeeded = 'TRUE'
    and platform_name ilike '%pallet%'
    and block_timestamp::date >= CURRENT_DATE - INTERVAL '90 DAY')
    ,
    price_usd as (select date(recorded_hour) as date,
    avg(price) as avg_price
    from osmosis.price.ez_prices
    where symbol = 'SEI'
    Last run: 28 days ago
    TX
    Sales
    COLLECTIONS
    Sellers
    Buyers
    Volume (SEI)
    Volume (USD)
    Avg Price (SEI)
    Avg Price (USD)
    Max Price (SEI)
    Max Price (USD)
    1
    548258594178181585497477.410429229086.66388121284.90824550839.1066343265666.13272.684448183
    1
    105B
    138s