Collect Rewards
(collectRewards)
nonpayable
Use this function in your app
import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({ contract, method: "function collectRewards(bytes looksRareClaim)", params: [looksRareClaim]});const { transactionHash } = await sendTransaction({ transaction, account});