# root-basket-owed-breakdown (/docs/query/root-basket-owed-breakdown)

For each hotkey the coldkey stakes to: the TAO its accrued entitlement
would realize if claimed now with `claim_root_with_hotkey`. Zero-owed
validators are omitted. Use this to pick a validator before claiming.

**Category:** Staking

## Parameters [#parameters]

| Parameter      | Type   | Description                                         |
| -------------- | ------ | --------------------------------------------------- |
| `coldkey_ss58` | string | Coldkey whose pending root dividends to break down. |

## CLI [#cli]

```bash
btcli query root-basket-owed-breakdown --coldkey <ss58|name> --json
```

## Python [#python]

Namespace method (autocomplete, signature help):

```python
import bittensor as bt

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

Or dispatch by name, as an agent would:

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

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

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

* Runtime API [`BetaBasketRuntimeApi.get_root_basket_positions`](/code/pallets/subtensor/src/rpc_info/basket_info.rs#L108-L123)

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