Queries

delegates

Every delegate hotkey on the network, with take and registrations.

View as Markdown

Category: Delegation

Parameters

This read takes no parameters.

CLI

btcli query delegates --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

sub = bt.Subtensor()
result = sub.delegation.delegates()

Or dispatch by name, as an agent would:

result = sub.read("delegates")

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.