Overview
Leverage batches to couple multiple transactions under a single proposal for approval and execution.Prerequisites
- Existing multisig
@sqds/multisigpackage installed- Member with appropriate permissions
Quick Example
Batch Workflow
- Create a batch
- Create a proposal as a draft
- Add transactions to the batch
- Activate the proposal
- Vote on the proposal
- Execute the proposal
Full Example
See the following instruction references for complete examples:Use batches to approve several transactions under one proposal. They are not atomic: each
batchExecuteTransaction call executes the next transaction in order, and the proposal becomes Executed after the last one. Create proposals as drafts (isDraft: true) when building batches to prevent premature voting.