Queried by: subnet ownersanalytics
The Big Picture
Subnet owners receive a cut of emissions. This tracks pending amounts before distribution. Shows accumulated owner earnings per subnet.
Use Cases
- Check pending owner earnings
- Monitor owner cut accumulation
- Build owner revenue tracking
From Chain Metadata
MAP ( netuid ) --> pending_owner_cut
Purpose & Usage
Purpose
Track emissions waiting to go to subnet owner.
Common Query Patterns
- Query by netuid
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | netuid (u16, hashed key component) |
Stored Value
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 PendingOwnerCut storage
const netuid = 1;
const result = await api.query.SubtensorModule.PendingOwnerCut.getValue(netuid);
console.log("PendingOwnerCut:", result);Version History
v233 block 4,920,350 Added
v278–v289 · runtime versions skipped on chain (never deployed)
v290 block 5,947,548 Internal re-bind Current
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v233
- Current Version
- v411