Queries

hotkey-owner

The coldkey that owns a hotkey, or None if unowned.

View as Markdown

Category: Neurons & registration

Parameters

ParameterTypeDescription
hotkey_ss58stringHotkey whose owning coldkey to look up.

CLI

btcli query hotkey-owner --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.neurons.hotkey_owner(hotkey_ss58="5F...")

Or dispatch by name, as an agent would:

result = await client.read("hotkey_owner", hotkey_ss58="5F...")