Trading

Base
basescoutdexguru

Add Whitelist

(addWhitelist)

nonpayable


_address


Sign In

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
});