MultisigExecuted

Event v123 → current #2

Emitted when a multisig operation is executed after reaching threshold.

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

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

#NameTypeDescription
0
approving
AccountId Account that provided the final approval (hex -> SS58)
1
timepoint
Timepoint 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]Blake2-256 hash of the executed call
4
result
Result Result of the 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 MultisigExecuted events
api.query.system.events((events) => {
  events
    .filter(({ event }) =>
      event.section === stringCamelCase("Multisig") &&
      event.method === "MultisigExecuted"
    )
    .forEach(({ event }) => {
      console.log("MultisigExecuted:", event.data.toHuman());
    });
});

Runtime Info

Pallet Index
13
Event Index
2
First Version
v123
Current Version
v393