This storage item was removed in v326
This storage item is no longer available in the current runtime. Existed from v123 to v326. Shown here for historical reference.
Voting
Storage Removed Map v123 → v326 (removed)Voting state for Triumvirate proposals.
Queried by: validatorsanalytics
The Big Picture
Vote tallies for executive decisions.
Use Cases
- Check vote status
From Chain Metadata
Votes on a given proposal, if it is ongoing.
Purpose & Usage
Purpose
Track votes in the executive body.
Common Query Patterns
- Query by hash
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key1 | H256 | key1 (H256) |
Stored Value
Votes
value (Votes)
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 Voting storage
const key1 = 0 as any /* H256 */;
const result = await api.query
[stringCamelCase("Triumvirate")]
[stringCamelCase("Voting")](
key1
);
console.log("Voting:", result.toHuman());Runtime Info
- Pallet
- Triumvirate
- Storage Kind
- Map
- First Version
- v123
- Removed In
- v326