mucryptoNumber of protocols 2024-07-12 08:21 PM
    Updated 2024-07-24
    with resps as
    (select defillama.get('/protocols', {}) as resp)

    select
    value:category as category,
    count(value:name) as "NUMBER OF PROTOCOLS"
    from resps,
    lateral flatten (input => resp:data)
    group by 1
    having category = 'Prediction Market'
    QueryRunArchived: QueryRun has been archived