MultisigCancelled
Event v123 → v148, v149 → 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 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 cancelled call |
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 MultisigCancelled events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.Multisig.MultisigCancelled.get(block.hash);
for (const evt of events) {
console.log("MultisigCancelled:", evt.payload);
}
});Version History
v123 block 720,235 4 args
v149 block 3,014,339 4 args Current
Runtime Info
- Pallet Index
- 13
- Event Index
- 3
- First Version
- v123
- Current Version
- v411