MultisigApproval
Event v123 → v148, v149 → 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 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 call to be executed |
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 MultisigApproval events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.Multisig.MultisigApproval.get(block.hash);
for (const evt of events) {
console.log("MultisigApproval:", 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
- 1
- First Version
- v123
- Current Version
- v411