Queries

root-basket-portfolio

A coldkey's basket portfolio: beta tokens held per validator, with values.

View as Markdown

One basket_position record per validator on which the coldkey holds beta, sorted by value_tao descending. beta is the stable holding count (grows with accruals, shrinks with claims), and value_tao is what claiming would realize right now at current pool depth. Multiply value_tao by an off-chain TAO/USD price for fiat value — the chain has no USD oracle.

Category: Staking

Parameters

ParameterTypeDescription
coldkey_ss58stringColdkey whose basket portfolio to list.

CLI

btcli query root-basket-portfolio --coldkey <ss58|name> --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

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

Or dispatch by name, as an agent would:

result = sub.read("root_basket_portfolio", coldkey_ss58="5F...")

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