Skip to main content

Overview

Leverage batches to couple multiple transactions under a single proposal for approval and execution.

Prerequisites

  • Existing multisig
  • @sqds/multisig package installed
  • Member with appropriate permissions

Quick Example

Batch Workflow

  1. Create a batch
  2. Create a proposal as a draft
  3. Add transactions to the batch
  4. Activate the proposal
  5. Vote on the proposal
  6. 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.

See Also