Queries
staking-hotkeys
Every hotkey a coldkey has stake with, owned or nominated.
Unlike owned_hotkeys this includes delegates the coldkey has nominated.
Use stake_for_coldkey for the per-subnet amounts behind each entry.
Category: Staking
Parameters
| Parameter | Type | Description |
|---|---|---|
coldkey_ss58 | string | Coldkey whose staked-to hotkeys to list. |
CLI
btcli query staking-hotkeys --coldkey <ss58|name> --jsonPython
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.read("staking_hotkeys", coldkey_ss58="5F...")