dbrgBS-Maxfee
    Updated 2023-05-11
    select
    date_trunc('day',block_timestamp) as day,
    -- from_address as deployer,
    max(tx_fee)
    from
    base.goerli.fact_transactions
    where
    to_address is null
    and block_timestamp >= to_date('{{start_date}}')
    and block_timestamp <= add_months(
    to_date('{{start_date}}'),
    {{duration_in_months}}
    )
    and status = 'SUCCESS'
    GROUP by 1
    ORDER by 2 DESC
    limit 1
    Run a query to Download Data