thirdweb

Air Drop

(airDrop)

nonpayable

_to

_amount


Connect Wallet

Use this function in your app


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