Queries

is-delegate

Whether a hotkey is a delegate.

View as Markdown

Category: Delegation

Parameters

ParameterTypeDescription
hotkey_ss58stringHotkey to check for delegate status.

CLI

btcli query is-delegate --hotkey <ss58|name> --json

Python

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...")