Queries
is-delegate
Whether a hotkey is a delegate.
Category: Delegation
Parameters
| Parameter | Type | Description |
|---|---|---|
hotkey_ss58 | string | Hotkey to check for delegate status. |
CLI
btcli query is-delegate --hotkey <ss58|name> --jsonPython
Typed namespace method (autocomplete, signature help):
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.delegation.is_delegate(hotkey_ss58="5F...")Or dispatch by name, as an agent would:
result = await client.read("is_delegate", hotkey_ss58="5F...")