Announced
Event v149 → v323, v326 → current #3Emitted when a time-delayed proxy announces a future call .
View events on chainUseful for: stakersvalidatorsdeveloperswalletsanalytics
The Big Picture
Time-delayed proxies announce before acting, enabling review.
Use Cases
- Monitor announced proxy actions
From Chain Metadata
An announcement was placed to make a call in the future.
Triggers
Emitted by
Preconditions
- Proxy has delay > 0
- MaxPending not exceeded
Effects
Storage Modified
Postconditions
- Announcement stored with call hash
Side Effects
- Announcement deposit reserved
Event Data
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);
// Subscribe to Announced events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.Proxy.Announced.get(block.hash);
for (const evt of events) {
console.log("Announced:", evt.payload);
}
});Version History
v149 block 3,014,339 3 args
v326 block 6,608,228 3 args Current
Runtime Info
- Pallet Index
- 16
- Event Index
- 3
- First Version
- v149
- Current Version
- v411