thirdweb

UniversalRouter

Ethereum
etherscanblockscout

Collect Rewards

(collectRewards)

nonpayable

looksRareClaim


Sign in

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 });