BasketRedeemedTao
Storage Map v441 → currentMap (validator_hotkey) to lifetime TAO redeemed out of the basket.
Explore chainThe Big Picture
The redemption side of the lifetime performance identity (NAV + redeemed) / deposited.
Why This Matters
NAV alone understates a fund that has already paid a lot out. Counting redemptions is what makes long-running funds comparable to new ones.
Example Scenario
Two funds both show 1,000 TAO NAV, but one has redeemed 500 TAO over its life and the other none. The first has returned considerably more to its stakers.
Common Questions
- Does this include the validator own take?
- It is the realized payout out of the basket. Validator take is applied through normal delegation mechanics on the dividend side.
Use Cases
- Compute lifetime fund return without indexing claim events
- Measure fund outflow against inflow
From Chain Metadata
MAP ( validator_hotkey ) --> lifetime TAO redeemed (claimed) out of the basket. Cumulative sum of every claim's realized payout. See [`BasketDepositedTao`].
Purpose & Usage
Purpose
Cumulative sum of every claim realized payout.
Common Query Patterns
- Query by validator hotkey alongside BasketDepositedTao and current NAV
Notes
- Follows the fund across hotkey swaps
- From v488 it also counts the TAO a claim realizes from deferred dividends, the proceeds of the claimant own deferred alpha plus deferred cash, added by claim_deferred_dividends together with a BasketClaimed event for that amount (staking/deferred_dividends.rs L546-L555 at d967d1358, runtime v490)
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | validator_hotkey | AccountId [u8; 32] | validator_hotkey (AccountId, hashed key component) (hex -> SS58) |
Stored Value
lifetime (TaoBalance)
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
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 BasketRedeemedTao storage
const validator_hotkey = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const result = await api.query.SubtensorModule.BasketRedeemedTao.getValue(validator_hotkey);
console.log("BasketRedeemedTao:", result);On-Chain Activity
Fewer than 10K writes
#216 most written storage item
Modified via user-submitted extrinsics
As of block 9,385,000
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v441
- Current Version
- v490