Skip to main content

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​

NameTypeDefault
subnetstuple[AlphaSubnet, ...]
primaryint

Properties​

NameTypeDescription
netuidstuple[int, ...]

Methods​

MethodDescription
get

get​

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