import { sendTransaction } from "thirdweb";
import { setApprovalForAll } from "thirdweb/extensions/erc1155";
const transaction = setApprovalForAll({
contract,
operator: ...,
approved: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });