> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt
> Use this file to discover all available pages before exploring further.

# ERC1155 with Matic.js on Polygon PoS

> POSClient provides erc1155 method which helps you to interact with a erc1155 token.

`POSClient` provides `erc1155` method which helps you to interact with a erc1155 token.

The method returns instance of **ERC1155** class which contains different methods.

```js theme={null}
const erc721token = posClient.erc1155(<token address>, <isRoot>);
```

Passing second arguments for `isRoot` is optional.

## Child token

The token on Polygon can be initiated by using this syntax -

```js theme={null}
const childERC20Token = posClient.erc1155(<child token address>);
```

## Parent token

The token on Ethereum can be initiated by providing second parameter value as `true`.

```js theme={null}
const parentERC20Token = posClient.erc1155(<parent token address>, true);
```
