thirdweb

Hairy Cat

Ancient8
Ancient8 Explorer

Accept Ownership

(acceptOwnership)

nonpayable

Sign in

Use this function in your app


import { prepareContractCall, sendTransaction } from "thirdweb"; const transaction = await prepareContractCall({ contract, method: "function acceptOwnership()", params: [] }); const { transactionHash } = await sendTransaction({ transaction, account });