# revealed-commitment (/docs/query/revealed-commitment)

**Category:** Identity & commitments

## Parameters [#parameters]

| Parameter     | Type    | Description                             |
| ------------- | ------- | --------------------------------------- |
| `netuid`      | integer | Subnet the commitment was published on. |
| `hotkey_ss58` | string  | Hotkey that published the commitment.   |

## CLI [#cli]

```bash
btcli query revealed-commitment --netuid <integer> --hotkey <ss58|name> --json
```

## Python [#python]

```python
import bittensor as sub

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