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