FlowEmaSmoothingFactor
Storage Plain v334 → currentEMA smoothing factor for TAO flow calculations.
Explore chainQueried by: developersanalytics
The Big Picture
TAO flow tracks inflow/outflow balance for subnets. This smoothing factor controls how the EMA is calculated. Higher = more smoothing, lower = more responsive to recent changes.
Use Cases
- Understand flow calculation dynamics
- Build flow prediction models
From Chain Metadata
ITEM --> Flow EMA smoothing factor (flow alpha), u64 normalized
Purpose & Usage
Purpose
Control smoothing in TAO flow tracking.
Common Query Patterns
- Single value query
Stored Value
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 FlowEmaSmoothingFactor storage (no keys - plain value)
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("FlowEmaSmoothingFactor")]();
console.log("FlowEmaSmoothingFactor:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v334
- Current Version
- v393