import { sendTransaction } from "thirdweb";
import { setOwner } from "thirdweb/extensions/common";
 
const transaction = setOwner({
 contract,
 newOwner: ...,
 overrides: {
   ...
 }
});
 
// Send the transaction
await sendTransaction({ transaction, account });