This storage item was removed in v148
This storage item is no longer available in the current runtime. Existed from v101 to v148. Shown here for historical reference.
Purpose & Usage
Purpose
Stores chain state data.
Common Query Patterns
- Query by key
- Iterate all entries
Stored Value
value (u16)
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 DefaultTake storage (no keys - plain value)
const result = await api.query.SubtensorModule.DefaultTake.getValue();
console.log("DefaultTake:", result);Version History
v101 block 1 Added
v123 block 720,235 Internal re-bind
v148 Removed
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Plain
- First Version
- v101
- Removed In
- v148