Add Whitelist
(addWhitelist)
nonpayable
Use this function in your app
import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({ contract, method: "function addWhitelist(address _address)", params: [_address]});const { transactionHash } = await sendTransaction({ transaction, account});