PendingKey
Storage Plain v391 → v411 Changed in v411Next block author's key, staged here before promoting to `CurrentKey`.
Explore chainFrom Chain Metadata
Next block author's key, staged here before promoting to `CurrentKey`.
Purpose & Usage
Purpose
Stores chain state data.
Common Query Patterns
- Query by key
- Iterate all entries
Stored Value
value (BoundedVec)
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 PendingKey storage (no keys - plain value)
const result = await api.query.MevShield.PendingKey.getValue();
console.log("PendingKey:", result);Version History
v391 block 7,782,857 Added
v394–v400 · runtime versions skipped on chain (never deployed)
v401 block 8,036,576 Internal re-bind
v403–v410 · runtime versions skipped on chain (never deployed)
v411 block 8,283,784 Internal re-bind Current
Runtime Info
View Source- Pallet
- MevShield
- Storage Kind
- Plain
- First Version
- v391
- Current Version
- v411