mucrypto2023-11-01 05:23 AM
    Updated 2023-11-01
    with resps as
    (select defillama.get('/protocols', {}) as resp)

    select
    value:category as category,
    sum(value:tvl) as combined_tvl
    from resps,
    lateral flatten (input => resp:data)
    where category = 'Yield Aggregator'
    group by 1
    Run a query to Download Data