MinBurn

Storage Map v101 → v490 · 1 shape change

Minimum burn for registration .

Explore chain
Queried by: minersvalidatorsdevelopersanalyticswallets

The Big Picture

Even during low demand, burn cost won't go below MinBurn. This prevents trivially cheap registration that could enable spam or slot squatting. Ensures minimum commitment.

Why This Matters

What's the cheapest possible registration? MinBurn. Even if demand is zero, you'll pay at least this much to register via burn.

Example Scenario

Query MinBurn(netuid=1) returns 1000000000 (1 TAO). Even during quiet periods, burn registration costs at least 1 TAO.

Common Questions

Why have a minimum?
Prevents spam. Without a floor, attackers could cheaply register many slots during low-demand periods and squat on them.
How low does burn actually go?
After sustained low demand, burn approaches MinBurn. Check current Burn vs MinBurn to see how much room for decrease remains.

Use Cases

  • Check best-case registration cost
  • Build registration cost displays with bounds
  • Plan registration during low-demand periods
  • Research registration economics
  • Design subnet cost parameters

From Chain Metadata

MAP ( netuid ) --> MinBurn

Purpose & Usage

Purpose

Floor on registration burn cost - prevents trivially cheap registration.

Common Query Patterns

  • Query by netuid
  • Check minimum registration cost
  • Plan registration budget

Migration Notes

v424 v432 Breaking

key type changed from u16 to NetUid; value type changed from u64 to TaoBalance

Update decoders: SCALE encoding is positional, so any signature change (added, removed, or type-changed fields, or storage shape changes) shifts byte offsets and existing decoders will misparse this item. Re-derive types from the new metadata.

Query Keys

#NameTypeDescription
1
netuid
NetUid u16netuid (NetUid, hashed key component)

Stored Value

MinBurn (TaoBalance)

Default Value

500000 0x20a1070000000000

Absent keys read as this value — querying a key that has never been written returns this default, not an error or empty result.

Default changed

  • v101 → 1000000000
  • v233 → 500000 Current

Relationships

Modified By

Related Events

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 MinBurn storage
const netuid = 1;

const result = await api.query.SubtensorModule.MinBurn.getValue(netuid);
console.log("MinBurn:", result);

On-Chain Activity

Write Frequency
●●○○○○ Minimal <10K est. writes

Fewer than 10K writes

#233 most written storage item

Write Source Calls + Hooks

Modified by both user extrinsics and runtime hooks

As of block 9,385,000

Version History

v101 block 1 Added
v425–v431 · runtime versions skipped on chain (never deployed)
v432 block 8,636,190 Shape changed Current
  • key : u16 → NetUid
  • value : u64 → TaoBalance

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v101
Current Version
v490