How to get Amount a token in my wallet metamask (BSC)
Closed this issue · 3 comments
thanglv-1330 commented
Hi @religion-counter, I have an issue that needs suggestions from you:
How to get Amount a token in my wallet metamask (BSC)?
Please give me your opinion.
Thanks
religion-counter commented
You need to use the balanceOf(address)
method of the token contract ABI.
You can check https://piyopiyo.medium.com/how-to-get-erc20-token-balance-with-web3-js-206df52f2561 and comment whether it works for your token.
thanglv-1330 commented
Hi @religion-counter, thank you very much, great teacher!
thanglv-1330 commented
Hi @religion-counter, thank you very much, great teacher!