This storage item was removed in v127
This storage item is no longer available in the current runtime. Existed from v123 to v127. Shown here for historical reference.
ProposalOf
Storage Removed Map v123 → v127 (removed)Actual proposal content mapped by hash.
Queried by: validatorsanalytics
The Big Picture
The actual governance actions stored by their hash.
Use Cases
- View proposal details
- Decode proposed calls
From Chain Metadata
Actual proposal for a given hash, if it's current.
Purpose & Usage
Purpose
Store the call to be executed if proposal passes.
Common Query Patterns
- Query by proposal hash to get call data
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key1 | H256 | key1 (H256) |
Stored Value
value (RuntimeCall)
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 ProposalOf storage
const key1 = 0 as any /* H256 */;
const result = await api.query
[stringCamelCase("Senate")]
[stringCamelCase("ProposalOf")](
key1
);
console.log("ProposalOf:", result.toHuman());Runtime Info
- Pallet
- Senate
- Storage Kind
- Map
- First Version
- v123
- Removed In
- v127