Queries
subnet-names
Registered name of every subnet that published an identity, keyed by netuid.
Category: Subnets
Parameters
This read takes no parameters.
CLI
btcli query subnet-names --jsonPython
Typed namespace method (autocomplete, signature help):
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.subnets.subnet_names()Or dispatch by name, as an agent would:
result = await client.read("subnet_names")