Queried by: minersvalidatorsanalytics
The 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
Purpose & Usage
Purpose
Track incentive from consensus (affects rewards).
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 Incentive storage
const key1 = 0;
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("Incentive")](
key1
);
console.log("Incentive:", result.toHuman());On-Chain Activity
Write Frequency
●●●●○○ Medium 100K–1M est. writes
100K–1M estimated writes
#34 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