Docs

subnetInfo_getSubnetState - JSON-RPC Method

Fetch SCALE-encoded state for a subnet on Bittensor.

Description

Bittensor‑specific APIs to inspect subnets: hyperparameters, dynamic state, metagraphs, mechagraphs, and pruning hints. Use to build subnet dashboards and analytics.

Returns subnet state for netuid.

Code Examples