Delegates
Storage Map v101 → v490 · 1 shape changeDelegation take for a hotkey , as PerU16 (parts per 65535).
Explore chainThe Big Picture
Take is a validator's commission. When a validator earns 100 TAO and has 10% take, they keep 10 TAO and delegators share the remaining 90 TAO. Lower take = more for delegators. The same entry doubles as the delegation signal, so a hotkey present here is open for external stake.
Why This Matters
This directly affects your delegation returns. A validator charging 20% take gives you 20% less than one charging 10% take (assuming equal performance).
Example Scenario
Query Delegates(hotkey=validator_X) returns 6554. That's 10% take (6554/65535). For every 100 TAO in emissions, you'd receive 90% of your proportional share.
Common Questions
- What's a typical take rate?
- Competitive rates range from 8-18%. Very low might indicate desperation; very high means less for you. Check performance too, not just take.
- How do I convert the stored value to percent?
- Divide by 65535 and multiply by 100. So 6554 ≈ 10%, 11796 = 18%, 65535 = 100%.
Use Cases
- Compare validator commission rates
- Calculate expected returns from delegation
- Find validators accepting delegation
- Build validator comparison and discovery tools
From Chain Metadata
MAP ( hot ) --> take | Returns the hotkey delegation take. And signals that this key is open for delegation
Purpose & Usage
Purpose
Store the commission a delegate charges, and signal that the hotkey is open for delegation.
Common Query Patterns
- Query take rate for a delegate
- Compare delegate rates
- List all delegates by iterating
Notes
- Value is PerU16, normalized to u16::MAX (65535 = 100%). 11796 = 18%, 6554 is about 10%.
- Chain docs: "MAP ( hot ) --> take | Returns the hotkey delegation take. And signals that this key is open for delegation".
Migration Notes
value type changed from u16 to PerU16
Update decoders: SCALE encoding is positional, so any signature change (added, removed, or type-changed fields, or storage shape changes) shifts byte offsets and existing decoders will misparse this item. Re-derive types from the new metadata.
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | hotkey hotkey raw: hot | AccountId [u8; 32] | Hotkey address (hex -> SS58) |
Stored Value
Take rate as a u16 value. Real ratio = value / 65535 (u16-normalized scale where u16::MAX = 100%). Empirically confirmed at v411: rpc_info/delegate_info.rs computes `U64F64::saturating_from_num(take.0).safe_div(u16::MAX.into())`. Presence of an entry signals the hotkey accepts delegation. Note this differs from the MaxDelegateTake / MinDelegateTake constants which use a different scale.
Default Value
Absent keys read as this value — querying a key that has never been written returns this default, not an error or empty result.
Relationships
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 Delegates storage
const hot = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const result = await api.query.SubtensorModule.Delegates.getValue(hot);
console.log("Delegates:", result);On-Chain Activity
Fewer than 10K writes
#215 most written storage item
Modified via user-submitted extrinsics
As of block 9,385,000
Version History
- value :
u16→PerU16
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v101
- Current Version
- v490