rezarwzkey blast
    Updated 2025-04-10
    with Compute_Costs as (
    SELECT
    date_trunc('month', BLOCK_TIMESTAMP) as date,
    - sum(tx_fee) as "Compute Costs"
    FROM
    ethereum.core.fact_transactions
    where
    from_address = '0x082b616ec99167b2fedee053f07db6795d4da821'
    group by
    1
    ),
    overhead_costs as (
    SELECT
    date_trunc('month', BLOCK_TIMESTAMP) as date,
    - sum(tx_fee) as "Overhead Costs"
    FROM
    ethereum.core.fact_transactions
    where
    to_Address in (
    '0x364289230b8cc7d9120ef962af37ebcfe23ce883',
    '0x4f72ee94b8ba3be7f886565d3583a7f636c58b05'
    )
    group by
    1
    ),
    total_tx_fee as (
    SELECT
    date_trunc('month', BLOCK_TIMESTAMP) as date,
    sum(tx_fee) as "Tx Fees"
    FROM
    blast.core.fact_transactions
    group by
    1
    ),
    call_data_costs as (
    SELECT
    Last run: 17 days ago
    Total Onchain Costs
    Total Revenue
    1
    2679.914734133380.466217878
    1
    32B
    59s