Function batchAddTransaction

  • Add a transaction to a batch.

    Parameters

    • __namedParameters: {
          addressLookupTableAccounts?: AddressLookupTableAccount[];
          batchIndex: bigint;
          connection: Connection;
          ephemeralSigners: number;
          feePayer: Signer;
          member: Signer;
          multisigPda: PublicKey;
          programId?: PublicKey;
          rentPayer?: Signer;
          sendOptions?: SendOptions;
          signers?: Signer[];
          transactionIndex: number;
          transactionMessage: TransactionMessage;
          vaultIndex: number;
      }
      • Optional addressLookupTableAccounts?: AddressLookupTableAccount[]

        AddressLookupTableAccounts referenced in transaction_message.

      • batchIndex: bigint
      • connection: Connection
      • ephemeralSigners: number

        Number of additional signing PDAs required by the transaction.

      • feePayer: Signer
      • member: Signer

        Member of the multisig that is adding the transaction.

      • multisigPda: PublicKey
      • Optional programId?: PublicKey
      • Optional rentPayer?: Signer

        Payer for the transaction account rent. If not provided, member is used.

      • Optional sendOptions?: SendOptions
      • Optional signers?: Signer[]
      • transactionIndex: number
      • transactionMessage: TransactionMessage

        Transaction message to wrap into a batch transaction.

      • vaultIndex: number

    Returns Promise<TransactionSignature>

Generated using TypeDoc