# quote-unstake (/docs/query/quote-unstake)

**Category:** Prices & swaps

## Parameters [#parameters]

| Parameter      | Type    | Description                         |
| -------------- | ------- | ----------------------------------- |
| `netuid`       | integer | Subnet to simulate unstaking from.  |
| `amount_alpha` | number  | Alpha amount to simulate unstaking. |

## CLI [#cli]

```bash
btcli query quote-unstake --netuid <integer> --amount-alpha <number> --json
```

## Python [#python]

```python
import bittensor as sub

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