AlphaSubnets
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.
AlphaSubnets(subnets: tuple[lium.sdk.client.AlphaSubnet, ...], primary: int)
Fields
| Name | Type | Default |
|---|---|---|
subnets | tuple[AlphaSubnet, ...] | |
primary | int |
Properties
| Name | Type | Description |
|---|---|---|
netuids | tuple[int, ...] |
Methods
| Method | Description |
|---|---|
get |
get
def get(netuid: int) -> Optional[lium.sdk.client.AlphaSubnet]: