Skip to main content
Version: Next

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.