Queries
mech-weight-delegate
The account authorized to set weights for this hotkey/mechanism, or None.
Category: Weights & bonds
Parameters
| Parameter | Type | Description |
|---|---|---|
netuid | integer | Subnet containing the validator hotkey. |
mechid | integer | Mechanism whose delegate to inspect. |
hotkey_ss58 | string | Validator hotkey whose delegate to inspect. |
CLI
btcli query mech-weight-delegate --netuid <integer> --mechid <integer> --hotkey <ss58|name> --jsonPython
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:.