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.
ProposalCount
Storage Removed Plain v123 → v127 (removed)Total number of proposals submitted.
Queried by: analytics
The Big Picture
Running count of all proposals submitted to Senate.
Use Cases
- Governance metrics
- Proposal indexing
From Chain Metadata
Proposals so far.
Purpose & Usage
Purpose
Track proposal index for new proposals.
Common Query Patterns
- Query for current count
Stored Value
value (u32)
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 ProposalCount storage (no keys - plain value)
const result = await api.query
[stringCamelCase("Senate")]
[stringCamelCase("ProposalCount")]();
console.log("ProposalCount:", result.toHuman());Runtime Info
- Pallet
- Senate
- Storage Kind
- Plain
- First Version
- v123
- Removed In
- v127