---
description: >-
  The Contracts module provides functions and messages to interact with Signum
  Smart Contracts, i.e. generate method calls and inspect contract data.
---

# Contracts Module

### Installation

{% tabs %}
{% tab title="npm" %}
```
npm i @signumjs/contracts
```
{% endtab %}

{% tab title="yarn" %}
```
yarn add @signumjs/contracts
```
{% endtab %}

{% tab title="<script/>" %}
```html
<script src='https://cdn.jsdelivr.net/npm/@signumjs/contracts/dist/signumjs.contracts.min.js'></script>
```

The namespace is `sig$contracts`

```javascript
const view = new sig$contracts.ContractDataView(contract);
```
{% endtab %}
{% endtabs %}

### API Reference

{% embed url="https://signum-network.github.io/signumjs/modules/contracts.html" %}
