# bonds (/docs/query/bonds)

Bonds are the slow EMA of a validator's stake-weighted weights that pays
its dividends; unlike weights their magnitude is meaningful, so values are
scaled by the u16 maximum (1.0 = the largest bond the chain can store)
rather than row-normalized.

**Category:** Weights & bonds

## Parameters [#parameters]

| Parameter | Type    | Description                                                             |
| --------- | ------- | ----------------------------------------------------------------------- |
| `netuid`  | integer | Subnet whose bond matrix to fetch.                                      |
| `mechid`  | integer | Mechanism index within the subnet; 0 (the default) on ordinary subnets. |

## CLI [#cli]

```bash
btcli query bonds --netuid <integer> --mechid <integer> --json
```

## Python [#python]

```python
import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.read("bonds", netuid=1, mechid=1)
```
