OwnerCutEnabled
Storage Map v411 → current NewPer-subnet flag controlling whether the owner cut is paid. MAP (netuid ) → bool.
Explore chainQueried by: subnet ownersanalytics
The Big Picture
Some subnets waive owner cut as a launch incentive. This map records each opt-out.
Use Cases
- Check whether a subnet currently routes any emission to its owner
- Audit subnets where owner cut has been disabled
From Chain Metadata
MAP ( netuid ) --> owner_cut_enabled
Purpose & Usage
Purpose
Switch owner-cut allocation on or off per subnet.
Common Query Patterns
- Query OwnerCutEnabled[netuid]
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | netuid (u16, hashed key component) |
Stored Value
owner_cut_enabled (bool)
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 OwnerCutEnabled storage
const netuid = 1;
const result = await api.query.SubtensorModule.OwnerCutEnabled.getValue(netuid);
console.log("OwnerCutEnabled:", result);Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v411
- Current Version
- v411