aureasarsanedesBaptmen mints 2
    Updated 2025-02-28
    SELECT
    date_trunc('day',x.block_timestamp) as sale_date,
    count(distinct case when x.event_resource='Mint' then x.event_data:index:value end) as nft_mints,
    sum(nft_mints) over (order by sale_date) as total_nft_mints,
    count(distinct case when xx.event_resource='TransferEvent' then xx.event_data:to end) as minter,
    CASE
    WHEN date_trunc('day',x.block_timestamp) <= '2025-01-28 20:00:00.000'
    THEN 0.2 * COUNT(distinct case when x.event_resource='Mint' then x.event_data:index:value end)
    ELSE 0.4 * COUNT(distinct case when x.event_resource='Mint' then x.event_data:index:value end)
    END AS hourly_volume_apt,
    sum(hourly_volume_apt) over (order by sale_date) as total_volume_apt,
    avg(case when x.block_timestamp<='2025-01-28 20:00:00.000' then 0.2 else 0.4 end) as avg_price_apt
    FROM aptos.core.fact_events x
    join aptos.core.fact_events xx on x.tx_hash=xx.tx_hash
    join aptos.core.fact_events y on x.tx_hash=y.tx_hash
    where date_trunc('day',x.block_timestamp)>'2025-01-01' and date_trunc('day',x.block_timestamp)<current_date
    and x.event_resource='Mint'
    and x.event_module='collection'
    and xx.event_resource='TransferEvent'
    and y.event_resource='DepositEvent'
    and x.event_data:collection='0x7b4cd01cc85280139fbf2a11dd929a073febeba767d74904d0c691d68b74f321'
    group by 1
    order by 1 desc
    Last run: about 2 months ago
    SALE_DATE
    NFT_MINTS
    TOTAL_NFT_MINTS
    MINTER
    HOURLY_VOLUME_APT
    TOTAL_VOLUME_APT
    AVG_PRICE_APT
    1
    2025-02-09 00:00:00.000332200014132.8701.60.4
    2
    2025-02-08 00:00:00.0005516681722568.80.4
    3
    2025-02-07 00:00:00.0003516131214546.80.4
    4
    2025-02-06 00:00:00.000181578117.2532.80.4
    5
    2025-02-05 00:00:00.0005915601223.6525.60.4
    6
    2025-02-04 00:00:00.00075150117305020.4
    7
    2025-02-03 00:00:00.000256142634102.44720.4
    8
    2025-02-02 00:00:00.00014511702458369.60.4
    9
    2025-02-01 00:00:00.000264102521105.6311.60.4
    10
    2025-01-31 00:00:00.000687612627.22060.4
    11
    2025-01-30 00:00:00.000506932020178.80.4
    12
    2025-01-29 00:00:00.0001516434360.4158.80.4
    13
    2025-01-28 00:00:00.0004924929898.498.40.3681651
    13
    696B
    167s