ProxyExecuted
Event v149 → current #0Emitted after a proxy call is executed, showing the result.
View events on chainUseful for: stakersvalidatorsdeveloperswalletsanalytics
The Big Picture
Every proxy call emits this event showing success or failure.
Use Cases
- Track proxy call results
- Audit proxy activity
From Chain Metadata
A proxy was executed correctly, with the given.
Triggers
Emitted by
Preconditions
- Proxy relationship exists
- Proxy type permits the call
Effects
Storage Modified
Postconditions
- Proxied call has been executed
- Result recorded
Side Effects
- Side effects of the proxied call
Event Data
| # | Name | Type | Description |
|---|---|---|---|
| 0 | result | Result | Result of the proxied call execution (Ok or Err with dispatch error) |
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 ProxyExecuted events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("Proxy") &&
event.method === "ProxyExecuted"
)
.forEach(({ event }) => {
console.log("ProxyExecuted:", event.data.toHuman());
});
});On-Chain Activity
Emission Frequency
●●●●○○ Significant 1M–5M emissions
Major features with millions of emissions
#16 most emitted event
As of block 7,429,232
Runtime Info
- Pallet Index
- 16
- Event Index
- 0
- First Version
- v149
- Current Version
- v393