Queries

root-baskets

Basket summaries for every validator with an active basket.

View as Markdown

The network-wide leaderboard: one validator_basket_summary record per validator with an active fund, sorted by NAV descending. Compare lifetime_return across validators to rank basket performance.

Category: Staking

Parameters

This read takes no parameters.

CLI

btcli query root-baskets --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

sub = bt.Subtensor()
result = sub.staking.root_baskets()

Or dispatch by name, as an agent would:

result = sub.read("root_baskets")

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.