SubnetMovingAlpha

Storage Plain v233 → current

Moving alpha smoothing factor for all subnets.

Explore chain
Queried by: developersanalytics

The Big Picture

Global parameter affecting how alpha values smooth over time across all subnets. Higher = more smoothing, lower = more responsive.

Use Cases

  • Understand alpha dynamics
  • Research subnet economics

Purpose & Usage

Purpose

Control global alpha smoothing in economics.

Common Query Patterns

  • Single value query

Stored Value

value (FixedI128)

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 SubnetMovingAlpha storage (no keys - plain value)
const result = await api.query
  [stringCamelCase("SubtensorModule")]
  [stringCamelCase("SubnetMovingAlpha")]();
console.log("SubnetMovingAlpha:", result.toHuman());

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Plain
First Version
v233
Current Version
v393