mucryptoNumber of protocols 2024-01-19 11:09 PM
    Updated 2024-01-19
    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
    having category = 'Restaking'
    QueryRunArchived: QueryRun has been archived