# commitments (/docs/query/commitments)

One row per hotkey that has (or had) a commitment — including sealed
timelocked payloads waiting on drand (`is_revealed` false, `reveals_at`
set) and fully-revealed ones whose live storage entry the chain already
dropped. `commitment` is the currently visible content: the plaintext, or
the latest chain-decrypted payload; null while still sealed.

**Category:** Identity & commitments

## Parameters [#parameters]

| Parameter | Type    | Description                       |
| --------- | ------- | --------------------------------- |
| `netuid`  | integer | Subnet whose commitments to list. |

## CLI [#cli]

```bash
btcli query commitments --netuid <integer> --json
```

## Python [#python]

Namespace method (autocomplete, signature help):

```python
import bittensor as bt

sub = bt.Subtensor()
result = sub.identity.commitments(netuid=1)
```

Or dispatch by name, as an agent would:

```python
result = sub.read("commitments", netuid=1)
```

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