Dividends
Storage Map v101 → v411 Changed in v411Dividend scores for neurons on a subnet .
Explore chainThe Big Picture
Dividends are what validators earn for their validation work. While miners get incentive, validators get dividends. This score determines the validator's share of emissions, which then gets distributed to their delegators (minus take).
Why This Matters
Thinking about delegating to a validator? Dividends show their earning power. Higher dividends = more emissions = better returns for you (after take).
Example Scenario
Query Dividends(netuid=1, uid=5) returns 0.08 (8% of dividend pool). This validator captures 8% of validator emissions on subnet 1. Strong performance.
Common Questions
- How do dividends translate to delegator returns?
- Validator earns dividends, keeps their 'take' percentage, distributes rest to delegators proportionally. Your return = (dividends × (1 - take)) × (your_stake / total_validator_stake).
- Why do some validators have zero dividends?
- They may not have validator permit, may not be setting weights, or may have very low stake. Only active validators with sufficient stake earn dividends.
Use Cases
- Check validator dividend earnings
- Compare validator profitability for delegation
- Build validator ranking by dividends
- Calculate expected returns from delegation
From Chain Metadata
MAP ( netuid ) --> dividends
Purpose & Usage
Purpose
Track dividend allocation from staking.
Common Query Patterns
- Query by netuid-uid
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | netuid (u16, hashed key component) |
Stored Value
dividends (Vec<u16>)
Relationships
Modified By
Related Events
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 Dividends storage
const netuid = 1;
const result = await api.query.SubtensorModule.Dividends.getValue(netuid);
console.log("Dividends:", result);On-Chain Activity
100K–1M estimated writes
#35 most written storage item
Modified by both user extrinsics and runtime hooks
As of block 7,429,232
Version History
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v101
- Current Version
- v411