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 DispatchResult | Result of the proxied call execution (Ok or Err with dispatch error) |
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 ProxyExecuted events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.Proxy.ProxyExecuted.get(block.hash);
for (const evt of events) {
console.log("ProxyExecuted:", evt.payload);
}
});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
- v411