Function batchAccountsClose

  • Closes Batch and the corresponding Proposal accounts for proposals in terminal states: Executed, Rejected, or Cancelled or stale proposals that aren't Approved.

    This instruction is only allowed to be executed when all VaultBatchTransaction accounts in the batch are already closed: batch.size == 0.

    Parameters

    • __namedParameters: {
          batchIndex: bigint;
          connection: Connection;
          feePayer: Signer;
          multisigPda: PublicKey;
          programId?: PublicKey;
          rentCollector: PublicKey;
          sendOptions?: SendOptions;
      }
      • batchIndex: bigint
      • connection: Connection
      • feePayer: Signer
      • multisigPda: PublicKey
      • Optional programId?: PublicKey
      • rentCollector: PublicKey
      • Optional sendOptions?: SendOptions

    Returns Promise<TransactionSignature>

Generated using TypeDoc