MultisigCancelled
Event v123 → current #3Emitted when a pending multisig operation is cancelled.
View events on chainUseful for: developerswalletsvalidators
The Big Picture
The original initiator cancelled the operation. All approvals are gone, deposit is returned.
Use Cases
- Track cancelled multisig operations
- Notify signatories that operation was aborted
From Chain Metadata
A multisig operation has been cancelled.
Triggers
Emitted by
Preconditions
- Multisig operation exists
- Caller is the original depositor
Effects
Storage Modified
Postconditions
- Multisig operation removed from storage
- Deposit returned to original depositor
Side Effects
- Deposit unreserved and returned
Event Data
| # | Name | Type | Description |
|---|---|---|---|
| 0 | cancelling | AccountId | Account that cancelled the operation (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 cancelled call |
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 MultisigCancelled events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("Multisig") &&
event.method === "MultisigCancelled"
)
.forEach(({ event }) => {
console.log("MultisigCancelled:", event.data.toHuman());
});
});Runtime Info
- Pallet Index
- 13
- Event Index
- 3
- First Version
- v123
- Current Version
- v393