AlphaRecycled

Storage Map v411 → current New

Cumulative alpha recycled per subnet (e.g., from failed registrations). MAP (netuid ) → AlphaBalance.

Explore chain
Queried by: analyticssubnet owners

The Big Picture

Recycle is the soft sibling of burn: alpha that left the active supply but can come back. Useful for full subnet alpha accounting alongside TotalAlphaIssuance and AlphaBurned.

Use Cases

  • Track recycled alpha per subnet for accounting
  • Distinguish recycled from burned outflows

From Chain Metadata

Total alpha recycled per subnet through this pallet.

Purpose & Usage

Purpose

Tracks alpha returned to circulation via recycle paths.

Common Query Patterns

  • Query AlphaRecycled[netuid]

Query Keys

#NameTypeDescription
1
netuid netuid
raw: key1
u16 key1 (u16)

Stored Value

Value in RAO (÷10⁹ for TAO)

RAO -> TAO (/ 10^9)

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

const result = await api.query.AlphaAssets.AlphaRecycled.getValue(key1);
console.log("AlphaRecycled:", result);

Runtime Info

Pallet
AlphaAssets
Storage Kind
Map
First Version
v411
Current Version
v411