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

import bittensor as sub

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