• 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;
          blockhash: string;
          feePayer: PublicKey;
          multisigPda: PublicKey;
          programId?: PublicKey;
          rentCollector: PublicKey;
      }
      • batchIndex: bigint
      • blockhash: string
      • feePayer: PublicKey
      • multisigPda: PublicKey
      • Optional programId?: PublicKey
      • rentCollector: PublicKey

    Returns VersionedTransaction

Generated using TypeDoc