A hook to send a transaction.
import { useSendBatchTransaction } from "thirdweb/react";const { mutate: sendBatch, data: transactionResult } = useSendBatchTransaction(); // latersendBatch([tx1, tx2]);
function useSendBatchTransaction(): UseMutationResult< WaitForReceiptOptions, Error, Array<PreparedTransaction>>;
let returnType: UseMutationResult< WaitForReceiptOptions, Error, Array<PreparedTransaction>>;
A mutation object to send a transaction.