Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.17 KB

File metadata and controls

49 lines (32 loc) · 1.17 KB
title subnet-start-schedule
description When a registered subnet can call `start_call`.

{/* GENERATED by scripts/generate.py from the SDK registries — do not edit. */}

All values are block numbers: the subnet can start once the current block reaches earliest_start_block (registration block plus the chain's delay).

Category: Subnets

Parameters

Parameter Type Description
netuid integer Subnet to query.

CLI

btcli query subnet-start-schedule --netuid <integer> --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

sub = bt.Subtensor()
result = sub.subnets.subnet_start_schedule(netuid=1)

Or dispatch by name, as an agent would:

result = sub.read("subnet_start_schedule", netuid=1)

Async is the same surface awaited: async with bt.Subtensor() as client:.

On-chain implementation

Every file is browsable under /code exactly as built into the runtime.