Skip to main content
Make sure you have set up Matic.js by following the get started guide.
The POSClient interacts with the POS bridge.
After the POSClient is initiated, we can work with token types, such as erc20, erc721 etc.

ERC20

Create ERC20 child token

Create ERC20 parent token

Once erc20 is initaited, you can call various methods that are available, like - getBalance, approve, deposit , withdraw etc.

getBalance

approve

As you can see, with its simple APIs maticjs makes it very easy to interact with maticjs bridge. Once the POSClient is initiated, you can interact with all available APIs.