MultisigExecuted
Event v123 → v148, v149 → current #2Emitted when a multisig operation is executed after reaching threshold.
View events on chainUseful for: developerswalletsvalidatorsstakersanalytics
The Big Picture
The multisig operation is complete. Check the result field to see if the inner call succeeded.
Use Cases
- Confirm multisig operations completed successfully
- Track the outcome of the executed call
From Chain Metadata
A multisig operation has been executed.
Triggers
Emitted by
Preconditions
- Required threshold of approvals reached
- Final approval provided with full call data
Effects
Storage Modified
Postconditions
- Multisig operation removed from storage
- Deposit returned to original depositor
- Inner call has been dispatched
Side Effects
- Side effects of the executed call
- Deposit unreserved and returned
Event Data
| # | Name | Type | Description |
|---|---|---|---|
| 0 | approving | AccountId | Account that provided the final approval (hex -> SS58) |
| 1 | timepoint | Timepoint Timepoint<BlockNumberFor<T>> | Block height and extrinsic index when operation was created |
| 2 | multisig → multisig_account | AccountId | The derived multisig account address (hex -> SS58) |
| 3 | call_hash | [u8; 32] [32] CallHash | Blake2-256 hash of the executed call |
| 4 | result | Result DispatchResult | Result of the 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 MultisigExecuted events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.Multisig.MultisigExecuted.get(block.hash);
for (const evt of events) {
console.log("MultisigExecuted:", evt.payload);
}
});Version History
v123 block 720,235 5 args
v149 block 3,014,339 5 args Current
Runtime Info
- Pallet Index
- 13
- Event Index
- 2
- First Version
- v123
- Current Version
- v411