Queries

validator-root-weights

A validator's root dividend distribution vector (basket weights).

View as Markdown

The (netuid, weight) pairs its root dividends are deployed into each epoch, exactly as stored (u16, max-upscaled), plus each destination's normalized share of the total. Netuid 0 means "hold as TAO / root stake". An empty list means no custom weights are set; the fund is uncurated and each subnet's dividend accumulates in place on that subnet, trade-free (no sell, no redeploy).

Category: Staking

Parameters

ParameterTypeDescription
hotkey_ss58stringValidator hotkey whose root weights to read.

CLI

btcli query validator-root-weights --hotkey <ss58|name> --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

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

Or dispatch by name, as an agent would:

result = sub.read("validator_root_weights", 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.