Queries

subnets

Info for every subnet, fetched in four batched map queries rather than

View as Markdown

one-query-per-subnet. This is what listing should use.

Category: Subnets

Parameters

This read takes no parameters.

CLI

btcli query subnets --json

Python

import bittensor as sub

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