Queries

subnet

Tempo, burn, and neuron count for one subnet (the three reads run concurrently).

View as Markdown

Category: Subnets

Parameters

ParameterTypeDescription
netuidintegerSubnet to query.

CLI

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

Python

Typed namespace method (autocomplete, signature help):

import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.subnets.subnet(netuid=1)

Or dispatch by name, as an agent would:

result = await client.read("subnet", netuid=1)