thirdweb

OrocleV2

Ancient8
Ancient8 Explorer

Add Operator

(addOperator)

nonpayable

newOperator


Sign in

Use this function in your app


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