CutShadowForgeDiamond

Xai
Blockscout

Activate Farmable Item

(activateFarmableItem)

nonpayable


farmableItemId


Sign In

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