PAYC Frogtober

Exchange New For Old
(ExchangeNewForOld)
nonpayable
Use this function in your app
import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({ contract, method: "function ExchangeNewForOld(uint256 tokenNumber)", params: [tokenNumber]});const { transactionHash } = await sendTransaction({ transaction, account});