import { sendTransaction } from "thirdweb";
import { safeBatchTransferFrom } from "thirdweb/extensions/erc1155";
 
const transaction = safeBatchTransferFrom({
 contract,
 from: ...,
 to: ...,
 tokenIds: ...,
 values: ...,
 data: ...,
 overrides: {
   ...
 }
});
 
// Send the transaction
await sendTransaction({ transaction, account });