# collateral-policy (/docs/query/collateral-policy)

`lock_share` is the fraction of the registration price locked as
collateral instead of burned (0 disables collateral); `drain_ratio` is
the alpha released per alpha of miner incentive earned, snapshot per
miner at registration.

**Category:** Mining & collateral

## Parameters [#parameters]

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

## CLI [#cli]

```bash
btcli query collateral-policy --netuid <integer> --json
```

## Python [#python]

Namespace method (autocomplete, signature help):

```python
import bittensor as bt

sub = bt.Subtensor()
result = sub.collateral.collateral_policy(netuid=1)
```

Or dispatch by name, as an agent would:

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

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