Uninstall an module by proxy
import { uninstallModuleByProxy } from "thirdweb/modules";const transaction = uninstallModuleByProxy({ client, chain, contract, moduleProxyAddress: "0x...",});await sendTransaction({ transaction, account });
function uninstallModuleByProxy( options: UninstallModuleByProxyOptions,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for uninstalling an module by proxy
let options: { chain: Chain; client: ThirdwebClient; contract: ThirdwebContract; moduleData?: `0x${string}`; moduleProxyAddress: string;};
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction to send