AlphaValues

Storage Map v156 → v411 Changed in v411

Alpha low and high bounds per subnet .

Explore chain
Queried by: validatorssubnet ownersdevelopers

The Big Picture

When Liquid Alpha is enabled, alpha values are bounded by these low/high parameters. Returns (alpha_low, alpha_high) tuple. These bounds constrain how alpha adjusts during consensus calculations.

Use Cases

  • Check alpha bounds for a subnet
  • Understand liquid alpha dynamics
  • Build alpha visualization tools

From Chain Metadata

MAP ( netuid ) --> (alpha_low, alpha_high)

Purpose & Usage

Purpose

Define the range for liquid alpha calculations.

Common Query Patterns

  • Query by netuid
Part of: Liquid Alpha

Query Keys

#NameTypeDescription
1
netuid netuid
raw: key1
u16 Subnet ID

Stored Value

  • .0
    alpha_low — Lower bound of the alpha consensus parameter (u16, 0..65535).
  • .1
    alpha_high — Upper bound of the alpha consensus parameter (u16, 0..65535).

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 AlphaValues storage
const key1 = 0;

const result = await api.query.SubtensorModule.AlphaValues.getValue(key1);
console.log("AlphaValues:", 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
v202 block 3,848,823 Internal re-bind
v207–v209 · runtime versions skipped on chain (never deployed)
v210 block 4,345,556 Internal re-bind
v213–v215 · runtime versions skipped on chain (never deployed)
v216 block 4,510,996 Internal re-bind
v220–v232 · runtime versions skipped on chain (never deployed)
v233 block 4,920,350 Internal re-bind
v235–v237 · runtime versions skipped on chain (never deployed)
v238 block 4,936,550 Internal re-bind
v241–v243 · runtime versions skipped on chain (never deployed)
v244 block 4,999,897 Internal re-bind
v266–v272 · runtime versions skipped on chain (never deployed)
v273 block 5,659,032 Internal re-bind
v278–v289 · runtime versions skipped on chain (never deployed)
v290 block 5,947,548 Internal re-bind
v307–v314 · runtime versions skipped on chain (never deployed)
v315 block 6,414,634 Internal re-bind
v316–v319 · runtime versions skipped on chain (never deployed)
v320 block 6,523,566 Internal re-bind
v327–v333 · runtime versions skipped on chain (never deployed)
v334 block 6,811,690 Internal re-bind
v353–v360 · runtime versions skipped on chain (never deployed)
v361 block 7,063,679 Internal re-bind
v363–v364 · runtime versions skipped on chain (never deployed)
v365 block 7,135,419 Internal re-bind
v386–v390 · runtime versions skipped on chain (never deployed)
v391 block 7,782,857 Internal re-bind
v394–v400 · runtime versions skipped on chain (never deployed)
v401 block 8,036,576 Internal re-bind
v403–v410 · runtime versions skipped on chain (never deployed)
v411 block 8,283,784 Internal re-bind Current

Runtime Info

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