religion-counter/onlyone

How to get Amount a token in my wallet metamask (BSC)

Closed this issue · 3 comments

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

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.

Hi @religion-counter, thank you very much, great teacher!

Hi @religion-counter, thank you very much, great teacher!