> For the complete documentation index, see [llms.txt](https://docs.altura.com/altura-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.altura.com/altura-documentation/js-sdk-reference/get-methods/get-a-users-item-balance.md).

# Get a User's Item Balance

### Usage in your script

{% tabs %}
{% tab title="JavaScript" %}

```javascript
const response = await alturaUser.getUserItemBalance(COLLECTION_ADDRESS,CHAIN_ID,TOKEN_ID);

const isOwner= response.balance;
```

{% endtab %}

{% tab title="TypeScript" %}

```typescript
const response: { balance: boolean} = await alturaUser.getItems(COLLECTION_ADDRESS,CHAIN_ID,TOKEN_ID);

const balance= response.balance;
```

{% endtab %}
{% endtabs %}

### **Parameters**

<table><thead><tr><th width="236">Parameter</th><th width="95">Type</th><th width="105">Required</th><th>Description</th></tr></thead><tbody><tr><td>COLLECTION_ADDRESS</td><td>String</td><td>YES</td><td>the address of the collection</td></tr><tr><td>TOKEN_ID</td><td>Number</td><td>YES</td><td>the item ID</td></tr><tr><td>CHAIN_ID</td><td>Number</td><td>YES</td><td>the network ID</td></tr></tbody></table>
