# initialize

[**near-bindgen**](https://limechain.gitbook.io/limechain-test/near-bindgen) • **Docs**

***

[near-sdk-js v2.0.0](https://limechain.gitbook.io/limechain-test/packages) / [near-bindgen](https://limechain.gitbook.io/limechain-test/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](https://github.com/dim-daskalov/near-sdk-js/blob/c95f5e9eab115df82feb9d8dca403e7b9c8c9534/packages/near-sdk-js/src/near-bindgen.ts#L39)
