Hi, I am almost done with my Moralis project I am missing one last thing now which is add amount of ETH in a transaction when the user is minting an NFT.
So let’s say he click mint I want to send 1ETH because in my smart contract I check the
msg.value > 1 eth
I am using the useWeb3executeFunction() hook and it works fine except that since my smart contract is expecting a certain amount of ETH in the message the transaction is always declined with the following message:
message":"execution reverted: Not enough funds" // message returned from my smart contract
I am not sure how to do this, because I haven’t read anything on the documentation for that or I am blind