ItemCompleted
Event v120 → current #3Emitted for each call in a batch that completed successfully.
View events on chainUseful for: developersanalytics
The Big Picture
Granular success tracking within batches.
Use Cases
- Track individual call success within batch
From Chain Metadata
A single item within a Batch of dispatches has completed with no error.
Triggers
Emitted by
Preconditions
- Part of a batch execution
Effects
Postconditions
- Call's state changes persisted
This event has no data fields.
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 ItemCompleted events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.Utility.ItemCompleted.get(block.hash);
for (const evt of events) {
console.log("ItemCompleted:", evt.payload);
}
});On-Chain Activity
Emission Frequency
●●●●●○ Dominant 5M–50M emissions
Core protocol operations, high volume
#9 most emitted event
As of block 7,429,232
Runtime Info
- Pallet Index
- 11
- Event Index
- 3
- First Version
- v120
- Current Version
- v411