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

import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.read("hotkey_owner", hotkey_ss58="5F...")