import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({
contract,
method: "function collectRewards(bytes looksRareClaim)",
params: [looksRareClaim]
});
const { transactionHash } = await sendTransaction({
transaction,
account
});