> ## 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.

# ERC20 with Matic.js on Polygon PoS

> The POSClient has an erc20 method which returns an object of an ERC20 token.

The `POSClient` has an `erc20` method which returns an object of an **ERC20** token.

You can then call various methods on the object.

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

Passing second arguments for `isRoot` is optional.

## Child token

Token on polygon can be initiated by using this syntax -

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

## Parent token

Token on ethereum can be initiated by providing the second parameter value as `true`.

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