permarydaily volume nft
    Updated 2025-04-02
    -- Common table for collection offers/settle offers
    WITH order_fulfilled_raw AS (
    SELECT
    decoded_log,
    decoded_log:offer:buyer::string AS buyer_address,
    decoded_log:offer:collection::string AS nft_address,
    decoded_log:offer:paymentToken::string AS payment_token,
    decoded_log:offer:isERC721::boolean AS is_721,
    decoded_log:order:seller::string AS seller_address,
    decoded_log:order:value::int AS total_price_per_order,
    decoded_log:newFulfilledAmount::int AS count_per_order,
    event_name,
    event_index,
    block_timestamp,
    tx_hash,
    topic_0
    FROM ronin.core.ez_decoded_event_logs
    WHERE block_timestamp::date >= '2025-01-01'
    AND block_timestamp::date < '2025-04-01'
    AND contract_address = '0x3ef234bc2a04d86f6041e419458d9acbd077f2c1'
    AND event_name = 'OrderFulfilled'
    ),

    order_fulfilled_nfts AS (
    SELECT
    tx_hash,
    event_index,
    index AS intra_event_index,
    value::string AS token_id
    FROM order_fulfilled_raw, LATERAL FLATTEN (input => decoded_log:order:ids)
    ),

    order_fulfilled_nft_count AS (
    SELECT
    tx_hash,
    event_index,
    Last run: 12 days ago
    DAY
    SALE_TYPE
    TOKEN_SYMBOL
    TRANSACTION_COUNT
    DAILY_VOLUME_USD
    DAILY_FEES_USD
    1
    2025-03-30 00:00:00.000regular_saleRON5136201.6738692131.008369346
    2
    2025-02-03 00:00:00.000regular_saleRON2279748.64860849448.743243042
    3
    2025-03-28 00:00:00.000regular_saleWRON99829027.738276357145.138691382
    4
    2025-02-18 00:00:00.000regular_saleRON29412732.61220833663.663061042
    5
    2025-02-12 00:00:00.000collection_offerWRON56119162.91256955777.943179595
    6
    2025-03-14 00:00:00.000collection_offerWRON38010174.80033986923.953721741
    7
    2025-03-28 00:00:00.000regular_saleRON45613835.98485241969.179924262
    8
    2025-03-18 00:00:00.000regular_saleWETH142.057620.2102881
    9
    2025-01-23 00:00:00.000regular_saleRON29436006.295547922180.03147774
    10
    2025-03-30 00:00:00.000collection_offerWRON3437503.22261588920.519601559
    11
    2025-02-11 00:00:00.000regular_saleRON43010668.86812193453.34434061
    12
    2025-02-28 00:00:00.000regular_saleWETH750.366153840.2518307692
    13
    2025-02-17 00:00:00.000regular_saleLUA310.8680.05434
    14
    2025-02-12 00:00:00.000regular_saleWETH395.5876663080.477938331
    15
    2025-01-12 00:00:00.000regular_saleWRON1322129047.249964976645.236249825
    16
    2025-01-13 00:00:00.000regular_saleRON49517998.37489317589.991874466
    17
    2025-03-13 00:00:00.000regular_saleWRON93250273.6935411251.368467705
    18
    2025-03-26 00:00:00.000collection_offerWRON45219605.88603652162.321176085
    19
    2025-03-08 00:00:00.000collection_offerWRON54013737.4922745148.568641435
    20
    2025-03-27 00:00:00.000regular_saleWETH2895.11421930.4755710965
    ...
    307
    24KB
    78s