LastTxBlockChildKeyTake
Storage Map v195 → currentBlock of last childkey take change for an account.
Explore chainQueried by: validatorsdevelopers
The Big Picture
Childkey take changes are rate-limited to prevent gaming. This tracks when take was last changed, enabling cooldown enforcement.
Use Cases
- Check childkey take cooldowns
- Plan take adjustments
- Debug rate limit errors
From Chain Metadata
MAP ( key ) --> last_tx_block_childkey_take
Purpose & Usage
Purpose
Track childkey take modifications for rate limiting.
Common Query Patterns
- Query by account address
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key | [u8; 32] [32] | key ([u8; 32], hashed key component) |
Stored Value
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 LastTxBlockChildKeyTake storage
const key = "0x0000000000000000000000000000000000000000000000000000000000000000";
const result = await api.query.SubtensorModule.LastTxBlockChildKeyTake.getValue(key);
console.log("LastTxBlockChildKeyTake:", result);Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v195
- Current Version
- v411