mucryptoNumber of protocols 2023-09-04 08:06 AM
    Updated 2023-12-28
    with resps as
    (select defillama.get('/protocols', {}) as resp)

    select
    value:category as category,
    count(value:name) as n_of_protocols
    from resps,
    lateral flatten (input => resp:data)
    group by 1
    order by 2 desc
    QueryRunArchived: QueryRun has been archived