# commit-reveal-enabled (/docs/query/commit-reveal-enabled)

**Category:** Subnets

## Parameters [#parameters]

| Parameter | Type    | Description      |
| --------- | ------- | ---------------- |
| `netuid`  | integer | Subnet to query. |

## CLI [#cli]

```bash
btcli query commit-reveal-enabled --netuid <integer> --json
```

## Python [#python]

```python
import bittensor as sub

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