Queried by: validatorsdelegatorsstakersanalytics
The 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
Purpose & Usage
Purpose
Track dividend allocation from staking.
Common Query Patterns
- Query by netuid-uid
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key1 | u16 | key1 (u16) |
Stored Value
Vec<u16> Vec
value (Vec<u16>)
Relationships
Modified By
Related Events
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 Dividends storage
const key1 = 0;
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("Dividends")](
key1
);
console.log("Dividends:", result.toHuman());On-Chain Activity
Write Frequency
●●●●○○ Medium 100K–1M est. writes
100K–1M estimated writes
#35 most written storage item
Write Source Calls + Hooks
Modified by both user extrinsics and runtime hooks
As of block 7,429,232
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v101
- Current Version
- v393