Links

renounceOwnership

Removes ownership of a smart contract from an address. This leaves the contract without an owner.

Parameters

contractAddress: string - contract address of the smart contract being renounced

Response

transactionResponse: confirmation the transaction was completed

Example

const renounceOwner = await existingContract.renounceOwnership({
contractAddress: '0x5a5e0044123913dBFb32fB3706edFF5116D9B036'
});
console.log(renounceOwner);