uninstallModuleByProxy

Uninstall an module by proxy

Example

import { uninstallModuleByProxy } from "thirdweb/modules";
const transaction = uninstallModuleByProxy({
client,
chain,
contract,
moduleProxyAddress: "0x...",
});
await sendTransaction({ transaction, account });
function uninstallModuleByProxy(

Parameters

The options for uninstalling an module by proxy

Type

let options: {
chain: Chain;
client: ThirdwebClient;
contract: ThirdwebContract;
moduleData?: `0x${string}`;
moduleProxyAddress: string;
};

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction to send