krom1RD Volume figs
    Updated 2025-04-08
    WITH price AS (
    SELECT
    price,
    token_address,
    hour
    FROM
    solana.price.ez_prices_hourly
    WHERE
    token_address = 'So11111111111111111111111111111111111111112'
    ),

    nft_data AS (
    SELECT
    sales_amount,
    seller,
    purchaser,
    tx_id,
    block_timestamp,
    marketplace
    FROM
    solana.nft.fact_nft_sales
    WHERE
    (seller = '{{wallet}}' OR purchaser = '{{wallet}}')
    AND (marketplace ILIKE '%magic eden%' OR marketplace ILIKE '%magic eden v2%')
    AND succeeded
    AND block_timestamp >= '2024-12-10' -- Filter for December 2024 and after
    AND block_timestamp <= '2025-03-31' -- Filter for before April 2025
    ),

    nft_with_price AS (
    SELECT
    nft_data.sales_amount,
    nft_data.seller,
    nft_data.purchaser,
    nft_data.tx_id,
    nft_data.block_timestamp,
    Last run: about 2 months ago
    TOTAL_SELLS_AMOUNT
    SELL_VOLUME
    TOTAL_BUYS_AMOUNT
    BUY_VOLUME
    TOTAL_SELLS_COUNT
    TOTAL_BUYS_COUNT
    TOTAL_VOLUME
    TOTAL_SELL_VOLUME
    TOTAL_BUY_VOLUME
    TOTAL_SELL_AMOUNT
    TOTAL_BUY_AMOUNT
    TOTAL_SELL_AND_BUY_AMOUNT
    1
    59.8017620296315.03215592669.0991161827296.827481836464613611.8596377626315.0321559267296.82748183659.80176202969.099116182128.900878211
    2
    59.8017620292258.97069274469.0991161822610.17189215946464869.1425849032258.9706927442610.17189215959.80176202969.099116182128.900878211
    3
    59.8017620292201.81003618169.0991161822544.1244929746464745.9345291512201.8100361812544.1244929759.80176202969.099116182128.900878211
    4
    59.80176202911014.82209172769.09911618212727.29173216464623742.11382388711014.82209172712727.2917321659.80176202969.099116182128.900878211
    5
    59.8017620291468.35888791369.0991161821696.64401098346463165.0028988961468.3588879131696.64401098359.80176202969.099116182128.900878211
    6
    59.8017620294179.93457406369.0991161824829.78719968646469009.7217737494179.9345740634829.78719968659.80176202969.099116182128.900878211
    7
    59.8017620296244.44511782969.0991161827215.266307367464613459.7114251966244.4451178297215.26630736759.80176202969.099116182128.900878211
    8
    59.8017620291234.39970815969.0991161821426.31129844946462660.7110066091234.3997081591426.31129844959.80176202969.099116182128.900878211
    9
    119.60352405819856.577064109138.19823236422943.670537071929242800.2476011819856.57706410922943.670537071119.603524058138.198232364257.801756422
    10
    119.60352405825570.03740836122.67461236426226.6053773929151796.64278565925570.0374083626226.6053773119.603524058122.674612364242.278136422
    11
    59.8017620291963.48406336569.0991161822268.74608393946464232.2301473041963.4840633652268.74608393959.80176202969.099116182128.900878211
    12
    59.8017620291293.62221118469.0991161821494.7410984846462788.3633096641293.6222111841494.7410984859.80176202969.099116182128.900878211
    13
    59.801762029943.74461638869.0991161821090.46818490646462034.212801294943.7446163881090.46818490659.80176202969.099116182128.900878211
    14
    59.8017620296277.44437623569.0991161827253.395946246464613530.8403224826277.4443762357253.39594624659.80176202969.099116182128.900878211
    15
    59.8017620299190.93280623769.09911618210619.843166012464619810.7759722499190.93280623710619.84316601259.80176202969.099116182128.900878211
    16
    59.8017620291954.6655723369.0991161822258.55658590646464213.2221582361954.665572332258.55658590659.80176202969.099116182128.900878211
    17
    59.8017620292755.39792301369.0991161823183.77844983346465939.1763728462755.3979230133183.77844983359.80176202969.099116182128.900878211
    18
    59.8017620291723.2833018369.0991161821991.20141359646463714.4847154261723.283301831991.20141359659.80176202969.099116182128.900878211
    19
    59.8017620291955.62859013569.0991161822259.66932367446464215.2979138091955.6285901352259.66932367459.80176202969.099116182128.900878211
    20
    59.8017620291973.75223062469.0991161822280.61063873446464254.3628693591973.7522306242280.61063873459.80176202969.099116182128.900878211
    ...
    27416
    4MB
    4s