Skip to main content
The POSClient has an erc20 method which returns an object of an ERC20 token. You can then call various methods on the object.
Passing second arguments for isRoot is optional.

Child token

Token on polygon can be initiated by using this syntax -

Parent token

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