Skip to main content
Version: 1.5.0

view

Views are a form of read-only entrypoints that can be called synchronously, and often are used to read part of the storage.

The decorator is @view and placed just before a function, like the @entry decorator, for example.