Sends a batch transaction using the provided options.
import { sendBatchTransaction } from "thirdweb"; const waitForReceiptOptions = await sendBatchTransaction({ account, transactions,});
function sendBatchTransaction( options: SendBatchTransactionOptions,): Promise<{ chain: Readonly; client: ThirdwebClient; maxBlocksWaitTime?: number; readonly transactionHash: `0x${string}`;}>;
The options for sending the batch transaction.
let options: { account: Account; transactions: Array<PreparedTransaction>;};
let returnType: Promise<{ chain: Readonly; client: ThirdwebClient; maxBlocksWaitTime?: number; readonly transactionHash: `0x${string}`;}>;
A promise that resolves to the options for waiting for the receipt of the first transaction in the batch.