MinChildkeyTakePerSubnet

Storage Map v411 → current New

Per-subnet minimum child-key take floor. MAP (netuid ) → u16.

Explore chain
Queried by: subnet ownersvalidatorsanalytics

The Big Picture

The global minimum is one floor; this map raises it per subnet when the owner wants to require a stricter minimum.

Use Cases

  • Enforce a higher child-key take floor on a specific subnet
  • Surface the effective floor to validators when they configure their take

From Chain Metadata

MAP ( netuid ) --> take | Returns the subnet-specific minimum childkey take.

Purpose & Usage

Purpose

Stricter-than-global floor for child-key take on a subnet, set by the subnet's owner or root.

Common Query Patterns

  • Query MinChildkeyTakePerSubnet[netuid]
Part of: Subnet Emission Control

Query Keys

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

Stored Value

value (u16)

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

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

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v411
Current Version
v411