import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({
contract,
method: "function airdrop(address _tokenAddress, address _tokenOwner, address[] _recipients, uint256[] _amounts) payable",
params: [_tokenAddress, _tokenOwner, _recipients, _amounts]
});
const { transactionHash } = await sendTransaction({
transaction,
account
});