Queries
subnets
Info for every subnet, fetched in four batched map queries rather than
one-query-per-subnet. This is what listing should use.
Category: Subnets
Parameters
This read takes no parameters.
CLI
btcli query subnets --jsonPython
Typed namespace method (autocomplete, signature help):
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.subnets.subnets()Or dispatch by name, as an agent would:
result = await client.read("subnets")