Queries
subnet
Tempo, burn, and neuron count for one subnet (the three reads run concurrently).
Category: Subnets
Parameters
| Parameter | Type | Description |
|---|---|---|
netuid | integer | Subnet to query. |
CLI
btcli query subnet --netuid <integer> --jsonPython
Typed namespace method (autocomplete, signature help):
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.subnets.subnet(netuid=1)Or dispatch by name, as an agent would:
result = await client.read("subnet", netuid=1)