# staking-hotkeys (/docs/query/staking-hotkeys)

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 [#parameters]

| Parameter      | Type   | Description                              |
| -------------- | ------ | ---------------------------------------- |
| `coldkey_ss58` | string | Coldkey whose staked-to hotkeys to list. |

## CLI [#cli]

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

## Python [#python]

Namespace method (autocomplete, signature help):

```python
import bittensor as bt

sub = bt.Subtensor()
result = sub.staking.staking_hotkeys(coldkey_ss58="5F...")
```

Or dispatch by name, as an agent would:

```python
result = sub.read("staking_hotkeys", coldkey_ss58="5F...")
```

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

## On-chain implementation [#on-chain-implementation]

* Storage [`SubtensorModule.StakingHotkeys`](/code/pallets/subtensor/src/lib.rs#L1554)

Every file is browsable under [/code](/code) exactly as built into the runtime.
