Queries
delegates
Every delegate hotkey on the network, with take and registrations.
Category: Delegation
Parameters
This read takes no parameters.
CLI
btcli query delegates --jsonPython
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
- Runtime API
DelegateInfoRuntimeApi.get_delegates
Every file is browsable under /code exactly as built into the runtime.