CutShadowForgeDiamond
XaiActivate Farmable Item
(activateFarmableItem)
nonpayable
Use this function in your app
import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({ contract, method: "function activateFarmableItem(uint256 farmableItemId)", params: [farmableItemId]});const { transactionHash } = await sendTransaction({ transaction, account});