Subnet Mechanisms
Last updated
Last updated
Fetch one subnet's mechanism (sub-subnet) registry (#13162): each mechanism's mechid, its emission split (SubtensorModule.MechanismEmissionSplit, 0..1), its consensus mode (ConsensusByMechanism) and the capture stamp, ordered by mechid. Served live from the mechanisms store; until the engine's per-mechanism capture lands the registry holds no rows and the response is the schema-stable decline — an empty mechanisms array with mechanism_count null, never 0, because every subnet has at least mechanism 0 and a zero count would be a fabricated measurement. Scope the per-UID surfaces to one mechanism with their own mechid parameter (/metagraph, /neurons/{uid}, /weights).
The subnet's numeric id on the Bittensor network, as used by the chain itself.
0 <= valueapplication/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/subnets/1/mechanisms"{ "data": { "captured_at": "2026-06-01T00:00:00.000Z", "mechanism_count": 1, "mechanisms": [ { "captured_at": "2026-06-01T00:00:00.000Z", "consensus_mode": "example", "emission_split": 0.5, "mechid": 1 } ], "netuid": 7, "schema_version": 1 }, "meta": { "artifact_path": "example", "cache": "short", "catalog_paging": { "reason": "catalog_changed" }, "contract_version": "2026-06-29.1", "generated_at": "2026-06-01T00:00:00.000Z", "observed_through": "2026-06-01T00:00:00.000Z", "pagination": { "collection": "example", "cursor": 1, "limit": 1, "next_cursor": 1, "order": "asc", "returned": 1, "snapshot": "v1.a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1", "sort": "example", "total": 1 }, "published_at": "2026-06-01T00:00:00.000Z", "source": "live-cron-prober", "stale_contract": { "built_under": "example", "live": "example" } }, "ok": true, "schema_version": 1}