renounceOwnership

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

Example

import { sendTransaction } from "thirdweb";
import { renounceOwnership } from "thirdweb/extensions/modules";
const transaction = renounceOwnership();
// Send the transaction
await sendTransaction({ transaction, account });
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.