LiquidAlphaOn

Storage Map v156 → current

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

Purpose & Usage

Purpose

Toggle dynamic alpha calculation.

Common Query Patterns

  • Query by netuid
Part of: Liquid Alpha

Query Keys

#NameTypeDescription
1
key1
u16 key1 (u16)

Stored Value

value (bool)

Code Examples

import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";

const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });

// Query LiquidAlphaOn storage
const key1 = 0;

const result = await api.query
  [stringCamelCase("SubtensorModule")]
  [stringCamelCase("LiquidAlphaOn")](
  key1
);

console.log("LiquidAlphaOn:", result.toHuman());

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v156
Current Version
v393