hessDaily 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')
    and a.block_timestamp::date >= CURRENT_DATE - INTERVAL '90 DAY'
    and b.block_timestamp::date >= CURRENT_DATE - INTERVAL '90 DAY'
    )
    ,
    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
    Last run: about 1 month ago
    DATE
    TX
    Sales
    COLLECTIONS
    Sellers
    Buyers
    Volume (SEI)
    Volume (USD)
    Avg Price (SEI)
    Avg Price (USD)
    Max Price (SEI)
    Max Price (USD)
    Avg 7 Day moving Volume (SEI)
    Avg 14 Day moving Volume (SEI)
    Avg 30 Day moving Volume (SEI)
    1
    2024-12-20 00:00:00.00025227765888911726.3995484938.99335619742.33357237517.830300925691.5549291.27312629611726.39954811726.39954811726.399548
    2
    2024-12-21 00:00:00.0001081114651567161.5421783148.43259096764.51839828.364257576478.38210.3104534519443.9708639443.9708639443.970863
    3
    2024-12-22 00:00:00.00047482424364833.9767792052.153192673100.70784956242.753191514357151.5561044837907.3061683337907.3061683337907.306168333
    4
    2024-12-23 00:00:00.0001081524376668253.2774993540.4456514554.29787828323.292405602831.3356.6065081917993.7990017993.7990017993.799001
    5
    2024-12-24 00:00:00.00086943935474280.747641956.84684834745.53986851120.817519663438.6200.4960581347251.18872887251.18872887251.1887288
    6
    2024-12-25 00:00:00.00066744035525795.754482672.07868643578.32100648636.109171438608.94280.7461221717008.6163547008.6163547008.616354
    7
    2024-12-26 00:00:00.00047502522322946.7819191273.45442050658.9356383825.46908841280121.0022483996428.3542918576428.3542918576428.354291857
    8
    2024-12-27 00:00:00.00080883543498825.4988163747.990062085100.28975927342.59079616904.74384.2226484276727.9973573756727.9973573756727.997357375
    9
    2024-12-28 00:00:00.00073784138454322.3825521796.92659869155.41516092323.037520496500207.8629756945802.4952328756460.7068234446460.706823444
    10
    2024-12-29 00:00:00.00082894242486818.9209192863.38675032976.61708897832.172884835547229.6950750765759.66757556496.5282336496.528233
    11
    2024-12-30 00:00:00.00021822384377119367.0166947971.50744867586.84760849335.7466701732606.11072.6765970327576.2975648757666.5726385457666.572638545
    12
    2024-12-31 00:00:00.0002152224948556426.0236942584.08773994628.94605267611.640034865999401.7264447097347.890839257563.1935598337563.193559833
    13
    2025-01-01 00:00:00.00078914038443535.7962911430.5554730838.85490429715.720389814405.96164.2482349257254.7719206257253.3937699237253.393769923
    14
    2025-01-02 00:00:00.00086973934453420.267741477.94929437835.26049216515.236590664397.8171.8953818816957.8360781256979.59905356979.5990535
    15
    2025-01-03 00:00:00.00036362022253757.25371654.007241371104.36815833345.944645594666293.1845732847059.145050756764.7760299336764.776029933
    16
    2025-01-04 00:00:00.00064643225414789.35982213.33841690474.83374687534.583412764279.995129.395935146554.627673756302.30671346641.312515563
    17
    2025-01-05 00:00:00.00083894048465095.2440992347.52878901857.24993369726.376727966442.68203.955693616651.2353671256164.5535081336550.367314588
    18
    2025-01-06 00:00:00.00083844235464238.2623621955.90411019650.4555043123.284572741005463.7947023696328.65304756124.8392136676421.917039444
    19
    2025-01-07 00:00:00.00061663335387001.742143112.073857587106.08700212147.152634206300133.3414082684782.993728256041.4035230676452.43415
    20
    2025-01-08 00:00:00.0001021244653504054.5196011615.53923230132.69773871813.028542196300119.5361762644486.5557166256026.32165386332.53842255
    35
    5KB
    130s