uninstallModuleByProxy

Uninstall a module by proxy

Example

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

Parameters

The options for uninstalling a 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