uninstallExtension

Prepares a transaction to call the "uninstallExtension" function on the contract.

Example

import { uninstallExtension } from "thirdweb/extensions/modular";
const transaction = uninstallExtension({
contract,
extension: ...,
data: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.