view

near-bindgenDocs


near-sdk-js v2.0.0 / near-bindgen / view

Function: view()

view(_empty): DecoratorFunction

Tells the SDK to expose this function as a view function.

Parameters

_empty: EmptyParameterObject

An empty object.

Returns

DecoratorFunction

Defined in

packages/near-sdk-js/src/near-bindgen.ts:54

Last updated