New answers tagged

1

The problem with ERC20 (and any token standard) validation is that it's near impossible to determine whether a contract is truly ERC20 compatible or not (and what does it even require for a contract to be fully compatible). Here's some more reading about it (and in its links): Confusion regarding total number of ERC-721 Tokens . That answer is about ERC721 ...


1

You can get the balance of a single account via: web3.eth.getBalance(address); By default you will get all accounts of metamask. (this code uses await and therefore has to be placed within an async function) const accounts = await web3.eth.getAccounts(); What you get is an array with all the accounts. Now it is up to you to loop through them and sum up ...


Top 50 recent answers are included