Solana Batch transactions
Certain Solana applications generate a batch (also know as "bundle") of transactions that need to be jointly executed. Historically, there was a limit on the number of accounts in a single transaction, which required splitting large transactions into a batch of smaller transactions. With the introduction of Versioned Transactions and Address Lookup Tables (ALTs), the restriction on the number of accounts within a single transaction no longer applies. Therefore, it is recommended to use a single Versioned Transaction instead of a batch of legacy transactions whenever possible.
To create a batch of transactions using the Fordefi API, use the Create Batch Transaction endpoint, and pass the entire batch of transactions as input.
Batch transactions undergo policy evaluation as a whole: the policy is applied to a “virtual transaction” whose list of recipients is the union of the recipients of the individual transactions in the batch, and whose balance changes are the aggregate of balance changes of the individual transactions.
Batch transactions are always signed jointly and sent to the blockchain according to their order in the batch.