LiquidAlphaOn

Storage Map v156 → v411

Whether Liquid Alpha is enabled per subnet .

Explore chain
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
Part of: Liquid Alpha

Query Keys

#NameTypeDescription
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