useSendBatchTransaction

A hook to send a transaction.

Example

import { useSendBatchTransaction } from "thirdweb/react";
const { mutate: sendBatch, data: transactionResult } =
useSendBatchTransaction();
// later
sendBatch([tx1, tx2]);

Returns

A mutation object to send a transaction.