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
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 CKBurn storage (no keys - plain value)
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("CKBurn")]();
console.log("CKBurn:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v315
- Current Version
- v393