renounceOwnership

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

Example

import { renounceOwnership } from "thirdweb/extensions/modular";
const transaction = renounceOwnership();
// Send the transaction
...
function renounceOwnership(

Parameters

The options for the "renounceOwnership" function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.