Queries

hotkey-identities

On-chain identities for hotkeys (via each hotkey's owner coldkey), keyed by hotkey.

View as Markdown

Category: Identity & commitments

Parameters

ParameterTypeDescription
hotkey_ss58sarrayHotkeys to resolve identities for.

CLI

btcli query hotkey-identities --hotkeys <array> --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

sub = bt.Subtensor()
result = sub.identity.hotkey_identities(hotkey_ss58s=[...])

Or dispatch by name, as an agent would:

result = sub.read("hotkey_identities", hotkey_ss58s=[...])

Async is the same surface awaited: async with bt.Subtensor() as client:.

On-chain implementation

Every file is browsable under /code exactly as built into the runtime.