RootClaimed
Event v334 → v362, v365 → v367, v372 → v377, v385 → v402, v411 → v422, v423 → v440, v441 → current #115Emitted when a coldkey redeems its accrued root basket entitlement; carries the total TAO realized and staked back to root.
View events on chainThe Big Picture
Root stake earns a share of every subnet's alpha emission. Since Root Reborn (v441) that yield is no longer sold to TAO on arrival: it is deployed into per-validator baskets, escrowed index funds of subnet alpha curated by each validator's root weights, and realized only when a staker claims. RootClaimed is that realization event. The tao field is what the pools actually paid at execution, not a book value, and it lands as root stake rather than free balance.
Why This Matters
Your root yield accrues as a fraction of your validator's fund, marked at whatever the pools would pay right now. Claiming is what converts that moving quote into settled TAO. RootClaimed tells you the claim went through and exactly what it realized.
Example Scenario
You root-stake 100 TAO to a validator. Its basket accrues subnet alpha on your behalf for a few weeks. You call claim_root_with_hotkey for that validator. Your pro-rata slice of every holding is sold, and RootClaimed fires with tao = 3.2 TAO, which is added to your root stake on that same validator rather than paid out as free balance.
Common Questions
- Where does the claimed TAO go?
- It is staked back onto your root position on that validator. To move it to free balance, follow the claim with remove_stake.
- Does anything expire if I never claim?
- No. Unclaimed entitlement keeps accruing with no deadline. Claiming is a realization event, so deferring it defers realization.
- Why did my claim pay less than the owed figure I queried?
- root_basket_owed is a live quote marked at current pool depth. A claim sells the holdings, so the settled tao reflects the price the pools actually gave at execution time.
- Why did nothing happen when I claimed?
- Per-validator payouts below RootClaimableThreshold (default 500,000 RAO) are skipped as dust. The entitlement keeps accruing and pays out on a later claim once it clears.
- How are root emissions different from subnet emissions?
- Subnet emissions reward work on a specific subnet (mining/validating). Root yield is the share of subnet alpha emission that flows to root stakers, now deployed through validator baskets.
Use Cases
- Confirm a root claim settled and how much TAO it realized
- Track realized root yield per coldkey over time
- Reconcile claim payouts against basket NAV quotes
- Build root emission tracking dashboards
How to Use This Event
- → Sum tao per coldkey to compute realized root yield
- → Pair with BasketClaimed events to attribute a claim across validators
- → Compare realized tao against a prior root_basket_owed quote to measure slippage
From Chain Metadata
Root emissions have been claimed for a coldkey on all subnets and hotkeys.
Migration Notes
added field tao (TaoBalance)
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.
Triggers
Emitted by
Preconditions
- Coldkey holds root (netuid 0) stake on at least one validator hotkey
- Accrued entitlement on that validator clears RootClaimableThreshold (payouts below it are skipped as dust)
- claim_root or claim_root_with_hotkey executed
Effects
Storage Modified
Postconditions
- Staker's owed fraction of each basket holding sold to TAO pro-rata
- Realized TAO staked back onto the root position for that validator
- BasketClaimed watermark advanced; BasketRedeemedTao incremented
- From v488 tao also includes the deferred dividends paid in the claim: deferred origin alpha sold for the claimant and deferred cash, both staked on root (pallets/subtensor/src/staking/claim_root.rs L697-L699, L982 and L1368-L1371 at d967d1358, runtime v490)
Side Effects
- Orphaned dust holdings (below threshold, outside the current weight vector) folded into the basket root slot
- Post-dispatch weight refunded based on holdings actually redeemed versus merely scanned
Event Data
| # | Name | Type | Description |
|---|---|---|---|
| 0 | coldkey | AccountId | coldkey: Account address (32 bytes, SS58-encoded) (hex -> SS58) |
| 1 | tao | TaoBalance | tao: TAO amount in RAO (÷10⁹ for TAO) |
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);
// Subscribe to RootClaimed events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.SubtensorModule.RootClaimed.get(block.hash);
for (const evt of events) {
console.log("RootClaimed:", evt.payload);
}
});On-Chain Activity
Core protocol operations, high volume
#14 most emitted event
As of block 9,385,000
Version History
Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 115
- First Version
- v334
- Current Version
- v490