Skip to main content
Solana batched transactions send SOL or an SPL token from one vault account to several recipients in a single atomic on-chain transaction. Either every transfer in the batch executes, or the transaction fails and no funds move. By default the source vault account pays the network fee. For SPL token batches, a fee payer vault account can pay it instead through Solana Gasless. New to Solana batched transactions? See Solana Batched Transactions in the Help Center for a product introduction. For batching on other chains, see the Batched Transactions Overview.

Requirements

  • Balance. The source vault account holds enough of the asset to cover the sum of all destinations amounts. When the source vault account pays its own fee, it also needs SOL for the fee.
  • Policy. Your Policy allows outgoing transfers from the source vault account.
  • Fee payer (optional). To have another vault account pay the fee for SPL token batches, set up Solana Gasless and fund the fee payer with SOL.

Send a batched transaction

Submit a transfer with a destinations array to Create a new transaction. The example sends SOL to three vault accounts. To send an SPL token instead, change assetId and keep the batch to 7 recipients or fewer.
Field notes:
  • assetId: SOL or an SPL token. Every recipient receives this asset.
  • destinations: up to 16 entries for SOL, or up to 7 for an SPL token. Leave out the top-level amount and destination.
  • useGasless: for SPL token batches in a workspace with a Solana Gasless fee payer, leave it out to have the fee payer pay, or set false to have the source vault account pay. See Solana Gasless.
  • externalTxId: a unique ID of your own. Fireblocks rejects any later transaction with the same value, so a retried batch cannot pay recipients twice.

Confirm the result

Get the transaction or read the transaction webhook. The response carries one entry per recipient in destinations, destination.type is MULTI_DESTINATION, and destinationAddress is empty. When a Solana Gasless fee payer paid, feePayerInfo names it, as described in Solana Gasless.

Limitations

The recipient limits come from Solana’s transaction size limit. Fireblocks expects to raise them after the Solana Alpenglow network upgrade.

Troubleshooting