Skip to main content
2 of 2
added 17 characters in body
Damir Olejar
  • 838
  • 3
  • 11
  • 27

How safe are the view functions, can anyone see the data I am sending to a view?

I would like to create a contract that uses the view function, however, I must make sure that nobody can see what data I am sending to a view since it is a sensitive content. The contracts simply acts as the logic and view simply verifies that whatever is inputted (without changing the state of the contract) gives some output according to this logic.

Is it possible to have some privacy with the views? Also, can the miners always see what data is passed and collect the sensitive data I just mentioned ?

Damir Olejar
  • 838
  • 3
  • 11
  • 27