tkvresearchArbitrum I Fees and revenue
    Updated 2024-03-20

    with

    A as ( select date, protocol,
    sum(fees) over (partition by protocol order by date) as "Total Fees",
    sum(revenue) over (partition by protocol order by date) as "Total Revenue"
    from external.defillama.fact_protocol_fees_revenue
    where protocol = 'Arbitrum')

    select * from A
    order by date desc

    QueryRunArchived: QueryRun has been archived