HadisehMonthly
    Updated 2025-01-26
    WITH filtered_events AS (
    SELECT
    *
    FROM
    flow.core.fact_events
    WHERE
    event_type IN ('OfferCompleted', 'ListingCompleted')
    AND event_contract IN (
    'A.3cdbb3d569211ff3.NFTStorefrontV2',
    'A.b8ea91944fd51c43.OffersV2'
    )
    AND tx_succeeded = 'true'
    AND event_data:purchased = 'true'
    ),
    offer_transactions AS (
    SELECT
    EVENT_DATA:offerAddress :: STRING AS buyer_address,
    EVENT_DATA:offerAmount :: FLOAT AS transaction_value,
    EVENT_DATA:offerType :: STRING AS collection_type,
    EVENT_DATA:nftId :: INTEGER AS nft_identifier,
    EVENT_DATA:paymentVaultType :: STRING AS currency,
    tx_id,
    TRUNC(block_timestamp, 'month') AS transaction_month
    FROM
    filtered_events
    WHERE
    event_type = 'OfferCompleted'
    AND event_data :: STRING LIKE '%0x6590f8918060ef13%'
    ),
    listing_transactions AS (
    SELECT
    EVENT_DATA:buyer :: STRING AS buyer_address,
    EVENT_DATA:salePrice :: FLOAT AS transaction_value,
    EVENT_DATA:nftType :: STRING AS collection_type,
    EVENT_DATA:nftID :: INTEGER AS nft_identifier,
    EVENT_DATA:salePaymentVaultType :: STRING AS currency,
    Last run: about 2 months ago
    TRANSACTION_MONTH
    TOTAL_UNIQUE_BUYERS
    TOTAL_SALES
    TOTAL_USD_VOLUME
    AVG_SALES_PER_USER
    AVG_SALES_VALUE_PER_USER
    TOTAL_COLLECTIONS
    AVG_TRANSACTION_VOLUME
    MEDIAN_TRANSACTION_VOLUME
    MAX_TRANSACTION_VOLUME
    1
    2024-09-01 00:00:00.000252476091350473.37847804530.146988906138.856330617514.6059767710.456000
    2
    2023-10-01 00:00:00.0003771503148349.5134208633.986737401393.5000355992998.702271072123023
    3
    2023-07-01 00:00:00.0002541716186800.296643066.755905512735.43423875226108.8579817270.795962347818000
    4
    2023-12-01 00:00:00.0005016062107927.28030769812.099800399215.4237131892417.8039063520.621000
    5
    2025-01-01 00:00:00.0001866114661245414.85888032761.447481243131.519216978252.1403516360.314999
    6
    2024-05-01 00:00:00.000228932660206265.82093273414.26823940690.111761002326.3155487120.4721500
    7
    2023-05-01 00:00:00.00015140149075.4744758512.655629139325.00314222417122.382729366105769
    8
    2023-04-01 00:00:00.00016543435769.1509321712.63030303216.7827329221982.4173984611.756750
    9
    2023-01-01 00:00:00.0002384378522.3655549921.83613445435.8082586343819.5019806750.952000
    10
    2024-04-01 00:00:00.000278346520482481.27367683916.715774344173.3673279473210.3714805180.426500
    11
    2024-03-01 00:00:00.000193160051746792.26044175431.098394614386.7386123473812.4359671020.3560000
    12
    2024-11-01 00:00:00.0001867110701221568.18354011159.293519014118.676049031212.0015011930.254000
    13
    2024-10-01 00:00:00.000235484596384646.7269989335.937128292163.401328377364.5468666010.2914500
    14
    2024-07-01 00:00:00.000207841761274771.19884185520.096727623132.228680867406.5796125290.4318000
    15
    2024-08-01 00:00:00.000131257521216695.27981153943.84222561165.164085222323.7672377010.344728
    16
    2023-09-01 00:00:00.00022182992372.8269145273.751131222417.97659237318111.42681171819000
    17
    2023-11-01 00:00:00.0003973564175859.3259980998.977329975442.9705944543249.343245230.5927000
    18
    2023-02-01 00:00:00.0003991433104772.9021021143.591478697262.5887270734073.11437690311.3141509885750
    19
    2023-06-01 00:00:00.0002731292203140.4015641654.732600733744.10403503430157.2294129750.7524000
    20
    2023-03-01 00:00:00.0005571178162814.9003199532.114901257292.30682283733138.2129883871.83296633623000
    25
    3KB
    108s