Announced

Event Re-added v149 → v323, v326 → current #3

Emitted when a time-delayed proxy announces a future call .

View events on chain
Useful 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

#NameTypeDescription
0
real
AccountId The account for which the announcement was made (hex -> SS58)
1
proxy
AccountId The proxy account that made the announcement (hex -> SS58)
2
call_hash
H256 Blake2-256 hash of the announced call

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 });

// Subscribe to Announced events
api.query.system.events((events) => {
  events
    .filter(({ event }) =>
      event.section === stringCamelCase("Proxy") &&
      event.method === "Announced"
    )
    .forEach(({ event }) => {
      console.log("Announced:", event.data.toHuman());
    });
});

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
v393