getBalance
The getBalance method can be used to get the balance of user. It is available on both child and parent token.
The getBalance method can be used to get the balance of user. It is available on both child and parent token.
const erc20Token = posClient.erc20(<token address>);
// get balance of user
const balance = await erc20Token.getBalance(<userAddress>);Edit on GitHub
Last updated on