Queries
subnet-states
Reporting lifecycle for every active or dissolving subnet.
Category: Subnets
Parameters
This read takes no parameters.
CLI
btcli query subnet-states --jsonPython
Namespace method (autocomplete, signature help):
import bittensor as bt
sub = bt.Subtensor()
result = sub.subnets.subnet_states()Or dispatch by name, as an agent would:
result = sub.read("subnet_states")Async is the same surface awaited: async with bt.Subtensor() as client:.
On-chain implementation
- Storage
SubtensorModule.SubnetState - Storage
SubtensorModule.NetworksAdded - Storage
SubtensorModule.DissolveCleanupQueue - Storage
SubtensorModule.CurrentDissolveCleanupStatus
Every file is browsable under /code exactly as built into the runtime.