permarydaily correct
    Updated 2025-04-03
    -- 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: 24 days ago
    DAY
    MONTH_NAME
    SALE_TYPE
    TOKEN_SYMBOL
    CUMULATIVE_TRANSACTIONS
    CUMULATIVE_VOLUME_USD
    CUMULATIVE_FEES_USD
    1
    2025-01-01 00:00:00.000Janregular_saleRON29811051.73114042155.258655702
    2
    2025-01-01 00:00:00.000Janregular_saleWETH5127.3453160.63672658
    3
    2025-01-01 00:00:00.000Janregular_saleWRON76022485.235000017112.426175
    4
    2025-01-02 00:00:00.000Janregular_saleRON66026746.641032401133.733205162
    5
    2025-01-02 00:00:00.000Janregular_saleWETH7172.3233910.861616955
    6
    2025-01-02 00:00:00.000Janregular_saleWRON201556842.871728498284.214358642
    7
    2025-01-03 00:00:00.000Janregular_saleRON98846820.28253811234.101412691
    8
    2025-01-03 00:00:00.000Janregular_saleWETH12193.72200820.968610041
    9
    2025-01-03 00:00:00.000Janregular_saleWRON3358118578.496516974592.892482585
    10
    2025-01-04 00:00:00.000Janregular_saleRON138076404.776611524382.023883058
    11
    2025-01-04 00:00:00.000Janregular_saleWETH17338.44157821.692207891
    12
    2025-01-04 00:00:00.000Janregular_saleWRON4510171442.71700055857.213585003
    13
    2025-01-05 00:00:00.000Janregular_saleRON181892823.341411563464.116707058
    14
    2025-01-05 00:00:00.000Janregular_saleWETH28430.9515322482.154757661
    15
    2025-01-05 00:00:00.000Janregular_saleWRON5493209155.8931552571045.779465776
    16
    2025-01-06 00:00:00.000Janregular_saleLUA12.310.01155
    17
    2025-01-06 00:00:00.000Janregular_saleRON2190107713.104926575538.565524633
    18
    2025-01-06 00:00:00.000Janregular_saleWETH43735.3011104683.676505554
    19
    2025-01-06 00:00:00.000Janregular_saleWRON6509248902.0736558521244.510368279
    20
    2025-01-07 00:00:00.000Janregular_saleRON2549141373.72470011706.868623501
    ...
    307
    27KB
    89s