@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Pure
Puremay not read or write values on the blockchain. It may only perform computations based on the input arguments. Because of this
Puremethods do not require a transaction and consume zero gas. A
Puremethod may not also be marked as
Payable. Note that in the context of a
Puremethod the values in the msg variable are meaningless because this is no actual transaction being made.