Add Admin

(addAdmin)

nonpayable

newAdmin


Connect Wallet

Use this function in your app


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