2

What is the difference between "decoded input" and "input" in the remix output? If these functions were to be called in an actual blockchain, would the "decoded input" be saved in a block, and thus visible to all? For example, in the attached figure, are the 0x01 and 0x04 values saved in a transaction. 'submitRange' is a public function. For context, I am wanting to keep this information private. enter image description here

Thank you in advance!

1
  • 1
    There's technically no such thing as "private" information on a public blockchain everything is visible. If you want to conceal information you must encrypt it first.
    – foba
    Commented Dec 12, 2019 at 0:20

1 Answer 1

1

You are calling a function submitRange(uint256 lower, uint256 upper).

Input is the raw field in the transaction that represents function and parameters that you want to execute.

Decoded input is the high level interpretation, remix will extract the parameters passed to the function.

As sated by foba everything in Ethereum is public and available to miners and nodes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.