uninstallPublishedModule
Uninstall a published module
import { uninstallPublishedModule } from "thirdweb/modules/modular";const transaction = uninstallPublishedModule({ client, chain, contract, moduleName: "MyModule", publisherAddress: "0x...",});await sendTransaction({ transaction, account });
function uninstallPublishedModule(
The options for uninstalling a published module
let options: { constructorParams?: Array<unknown>; moduleData?: `0x${string}`; moduleName: string; publisherAddress?: string; version?: string;};
any, AbiFunction,>;
A prepared transaction to send