I have a frontend in JavaScript and a backend in Java. I let the user sign a raw transaction with his private key in the frontend with web3js. Afterwards the signed transaction is returned to the Java backend and the backend broadcasts the transaction via a parity instance.
I am afraid of hackers, who can manipulate the raw transaction within their browser in JavaScript, before signing it. In this way they could change the amount that is being sent. Is there a way to extract the amount which will be sent from a signed transaction with web3j?
If yes, I could check that value again before broadcasting the signed transaction.
If its important somehow, it is a token transaction, not an ETH transaction.