Queries

mech-weight-delegate

The account authorized to set weights for this hotkey/mechanism, or None.

View as Markdown

Category: Weights & bonds

Parameters

ParameterTypeDescription
netuidintegerSubnet containing the validator hotkey.
mechidintegerMechanism whose delegate to inspect.
hotkey_ss58stringValidator hotkey whose delegate to inspect.

CLI

btcli query mech-weight-delegate --netuid <integer> --mechid <integer> --hotkey <ss58|name> --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

sub = bt.Subtensor()
result = sub.weights.mech_weight_delegate(netuid=1, mechid=1, hotkey_ss58="5F...")

Or dispatch by name, as an agent would:

result = sub.read("mech_weight_delegate", netuid=1, mechid=1, hotkey_ss58="5F...")

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