Incentive
Storage Map v101 → v411 Changed in v411Incentive scores for neurons on a subnet .
Explore chainThe Big Picture
Incentive is what miners earn. It's derived from rank and determines the miner's share of emissions. High incentive = high earnings. This is the final output that matters for miners - the number that translates directly to TAO rewards.
Why This Matters
How much will your miner earn? Incentive score directly determines emissions. Higher incentive = larger share of the subnet's emission pool.
Example Scenario
Query Incentive(netuid=1, uid=47) returns 0.05 (5% of normalized incentive). If the subnet emits 100 TAO per epoch, this neuron earns approximately 5 TAO.
Common Questions
- How is incentive different from rank?
- Rank is the raw consensus output. Incentive is the emission-weighted result after applying subnet economics. They're related but not identical.
- Do validators have incentive?
- Validators receive dividends, not incentive. Incentive is for miners who receive weights.
Use Cases
- Check your miner's earning potential
- Build emission prediction tools
- Analyze incentive distribution fairness
- Compare miner performance across subnets
From Chain Metadata
MAP ( netuid ) --> incentive
Purpose & Usage
Purpose
Track incentive from consensus (affects rewards).
Common Query Patterns
- Query by netuid-uid
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | netuid (u16, hashed key component) |
Stored Value
incentive (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 Incentive storage
const netuid = 1;
const result = await api.query.SubtensorModule.Incentive.getValue(netuid);
console.log("Incentive:", result);On-Chain Activity
100K–1M estimated writes
#34 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