I'm trying to have a function generate a request such that it pops up a Metamask request.
I know I can do: require(msg.value == amount); to require the function call has a certain value.
But this requires the transaction sender to manually input the transaction value which is error prone or they may not know the value to send. I want the contract to request a certain amount so that the user only needs to accept the transaction in Metamask.
In psuedocode, something like "request X ETH from msg.sender"