Proxy - Call view function without gas

Hi guys,

I have a question regarding the Proxy contract.
Is it possible to call a view function from the logic contract without using gas?
Currently my transaction fails always when not providing gas.


No. If you are calling if from a contract function that is not also view, it needs to execute the code and of course has a cost. The only way to call a view function without gas cost is externally (from a web3 lib)

1 Like