Queries

staking-hotkeys

Every hotkey a coldkey has stake with, owned or nominated.

View as Markdown

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

ParameterTypeDescription
coldkey_ss58stringColdkey whose staked-to hotkeys to list.

CLI

btcli query staking-hotkeys --coldkey <ss58|name> --json

Python

import bittensor as sub

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