Function vaultBatchTransactionAccountClose

  • Closes a VaultBatchTransaction belonging to the Batch and Proposal defined by batchIndex. VaultBatchTransaction can be closed if either:

    • it's marked as executed within the batch;
    • the proposal is in a terminal state: Executed, Rejected, or Cancelled.
    • the proposal is stale and not Approved.

    Parameters

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

    Returns Promise<TransactionSignature>

Generated using TypeDoc