MultisigApproval
Event v123 → current #1Emitted when a signatory approves a pending multisig operation.
View events on chainUseful for: developerswalletsvalidators
The Big Picture
Another signatory has approved the pending operation. Track these to see approval momentum.
Use Cases
- Track approval progress on pending operations
- Notify remaining signatories of progress
From Chain Metadata
A multisig operation has been approved by someone.
Triggers
Emitted by
Preconditions
- Multisig operation exists
- Caller is an authorized signatory
- Caller hasn't already approved
Effects
Storage Modified
Postconditions
- Approval recorded in storage
- Approval count increased
Event Data
| # | Name | Type | Description |
|---|---|---|---|
| 0 | approving | AccountId | Account that approved 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 call to be executed |
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 MultisigApproval events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("Multisig") &&
event.method === "MultisigApproval"
)
.forEach(({ event }) => {
console.log("MultisigApproval:", event.data.toHuman());
});
});Runtime Info
- Pallet Index
- 13
- Event Index
- 1
- First Version
- v123
- Current Version
- v393