PendingOwnerCut

Storage Map v233 → current

Pending owner cut emissions per subnet .

Explore chain
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

#NameTypeDescription
1
key1
u16 key1 (u16)

Stored Value

Value in RAO (÷10⁹ for TAO)

RAO -> TAO (/ 10^9)

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

const result = await api.query
  [stringCamelCase("SubtensorModule")]
  [stringCamelCase("PendingOwnerCut")](
  key1
);

console.log("PendingOwnerCut:", result.toHuman());

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v233
Current Version
v393