Claim farm rewards
harvest rewards is a command that allows you to harvest (claim) the earnings or rewards from a yield farm.
This command permits you to benefit from yield farming by collecting the rewards (usually in the form of tokens) you've earned from staking LP tokens in a specific yield farm.
Parameters
Farm: The yield farm from which you want to harvest rewards. The available farms will be dependent on the "FarmNames" list set in your environment.
Transaction Info Variable: (optional) The variable to store the transaction information after the harvesting process is completed. The default is '#txinfo'.
Example
harvest rewards("SushiSwap","#transaction") alert(#transaction)
The above script harvests rewards from a yield farm on SushiSwap. It then alerts the user to the details of the transaction.
Always remember to double-check your input parameters before harvesting rewards, as all transactions on the