Docs

subnetInfo_getSubnetToPrune - JSON-RPC Method

Fetch the next subnet id (netuid) scheduled to prune 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 an optional netuid scheduled to prune.

Code Examples