Queried by: validatorssubnet ownersdevelopers
The Big Picture
Liquid Alpha enables dynamic alpha values that adjust based on network state. When enabled, alpha values vary within AlphaValues bounds rather than being fixed.
Use Cases
- Check if liquid alpha is active
- Understand subnet consensus dynamics
- Build alpha-aware tools
From Chain Metadata
MAP ( netuid ) --> Whether or not Liquid Alpha is enabled
Purpose & Usage
Purpose
Toggle dynamic alpha calculation.
Common Query Patterns
- Query by netuid
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | netuid (u16, hashed key component) |
Stored Value
Whether (bool)
Code Examples
import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443
const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);
// Query LiquidAlphaOn storage
const netuid = 1;
const result = await api.query.SubtensorModule.LiquidAlphaOn.getValue(netuid);
console.log("LiquidAlphaOn:", result);Version History
v156 block 3,321,841 Added
v166–v194 · runtime versions skipped on chain (never deployed)
v195 block 3,791,350 Internal re-bind
v278–v289 · runtime versions skipped on chain (never deployed)
v290 block 5,947,548 Internal re-bind Current
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v156
- Current Version
- v411