yolo_gamesETH Fees per Day MOD ETH
    Updated 2024-08-01
    SELECT day, sum(Fee) as "ETH Fees" FROM (
    SELECT date_trunc('day', a.block_timestamp) as day, b.Value*0.01 as Fee FROM blast.core.fact_event_logs a
    INNER JOIN blast.core.fact_transactions b ON a.TX_HASH = b.TX_HASH
    WHERE contract_address = LOWER('0x693B37a9859Ce9465Fb2aAdeB03811a26A0c37C0')
    AND tx_status = 'SUCCESS'
    AND topics[0] = '0xe0498ef6c8973f40195b2ced16991e2e7cba0d33e6a5e42a2e7797d156c874a3' -- eth moon
    UNION ALL
    SELECT date_trunc('day', a.block_timestamp) as day, b.Value*0.01 as Fee FROM blast.core.fact_event_logs a
    INNER JOIN blast.core.fact_transactions b ON a.TX_HASH = b.TX_HASH
    WHERE contract_address = LOWER('0x693B37a9859Ce9465Fb2aAdeB03811a26A0c37C0')
    AND tx_status = 'SUCCESS'
    AND topics[0] = '0xd63b8da4d354e3b7b933761d564d3f17070134d43c981eb109c7c35f87932d29' -- eth doom
    )
    GROUP BY 1
    ORDER BY 1 ASC





    QueryRunArchived: QueryRun has been archived