CKBurn

Storage Plain v315 → current

Childkey burn cost.

Explore chain
Queried by: validatorsstakersdevelopers

The Big Picture

Childkeys allow stake delegation hierarchies. This burn cost prevents spam creation of childkey relationships. The burned TAO is removed from circulation.

Use Cases

  • Calculate cost of setting childkeys
  • Plan childkey hierarchy expenses
  • Build childkey management tools

From Chain Metadata

ITEM --> CK burn

Purpose & Usage

Purpose

Cost in RAO to create childkey relationships.

Common Query Patterns

  • Single value query

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

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Plain
First Version
v315
Current Version
v411