RecycleOrBurn

Storage Map v320 → current

Whether registration burns are recycled or destroyed per subnet .

Explore chain
Queried by: subnet ownersdevelopersanalytics

The Big Picture

Registration burns can either be recycled (redistributed) or burned (destroyed). This setting controls which behavior applies per subnet.

Use Cases

  • Check subnet burn policy
  • Understand registration economics
  • Research tokenomics

From Chain Metadata

MAP ( netuid ) --> recycle_or_burn

Purpose & Usage

Purpose

Control fate of registration burn amounts.

Common Query Patterns

  • Query by netuid

Query Keys

#NameTypeDescription
1
key1
u16 key1 (u16)

Stored Value

value (RecycleOrBurnEnum)

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

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

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

Runtime Info

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