---
title: AlphaSubnets
sidebar_label: AlphaSubnets
sidebar_position: 4
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lium.io/llms.txt
> Use this file to discover all available pages before exploring further.

<!-- Generated by scripts/generate_sdk_reference.py. Do not edit directly. -->

# AlphaSubnets

```python
from lium.sdk import AlphaSubnets
```

Defined in `lium.sdk.client`.

The accepted-subnet set from ``GET /balance/alpha/subnets``.

``primary`` is the subnet a quote without a ``netuid`` is made on; the set itself
follows pool liquidity on the pay API, so it changes without a CLI release.

```python
AlphaSubnets(subnets: tuple[lium.sdk.client.AlphaSubnet, ...], primary: int)
```

## Fields

| Name | Type | Default |
| --- | --- | --- |
| `subnets` | tuple[[AlphaSubnet](/developers/sdk/reference/client/alpha-subnet), ...] |  |
| `primary` | int |  |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| `netuids` | tuple[int, ...] |  |

## Methods

| Method | Description |
| --- | --- |
| [`get`](#get) |  |

### get

```python
def get(netuid: int) -> Optional[lium.sdk.client.AlphaSubnet]:
```
