For the complete documentation index, see llms.txt. This page is also available as Markdown.

initialize

near-bindgen • Docs


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

Function: initialize()

initialize(_empty): DecoratorFunction

Tells the SDK to use this function as the initialization function of the contract.

Parameters

• _empty: EmptyParameterObject

An empty object.

Returns

DecoratorFunction

Defined in

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

Last updated