# mech-weight-delegate (/docs/query/mech-weight-delegate)

**Category:** Weights & bonds

## Parameters [#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 [#cli]

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

## Python [#python]

Namespace method (autocomplete, signature help):

```python
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:

```python
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:`.
