This storage item was removed in v352
This storage item is no longer available in the current runtime. Existed from v195 to v352. Shown here for historical reference.
Identities
Storage Removed Map v195 → v352 (removed)Purpose & Usage
Purpose
Stores chain state data.
Common Query Patterns
- Query by key
- Iterate all entries
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key1 | AccountId | key1 (AccountId) (hex -> SS58) |
Stored Value
ChainIdentity
value (ChainIdentity)
Code Examples
import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";
const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });
// Query Identities storage
const key1 = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY";
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("Identities")](
key1
);
console.log("Identities:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v195
- Removed In
- v352