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