Queries

validator-basket-summary

Everything about one validator's basket, in a single call.

View as Markdown

Valuation (realizable NAV and spot NAV), lifetime deposited/redeemed TAO and the lifetime return multiple (nav + redeemed) / deposited, the validator's root weight vector, and the per-subnet alpha holdings each valued at spot and at realizable depth. All figures are TAO (or alpha for the holdings themselves).

Category: Staking

Parameters

ParameterTypeDescription
hotkey_ss58stringValidator hotkey whose basket to summarize.

CLI

btcli query validator-basket-summary --hotkey <ss58|name> --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

sub = bt.Subtensor()
result = sub.staking.validator_basket_summary(hotkey_ss58="5F...")

Or dispatch by name, as an agent would:

result = sub.read("validator_basket_summary", hotkey_ss58="5F...")

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

On-chain implementation

Every file is browsable under /code exactly as built into the runtime.