# 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]

```python
import bittensor as sub

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