0

Etherscan shows transfers in and out of Ether, whereas Wrapped Ether (WETH) appears in Etherscan's ERC-20 transactions.

Etherscan readily displays the current Ether balance of a wallet at the top-left of the page, but how to see a wallet's WETH balance?

If not visible on Etherscan, is the WETH balance visible to others besides the user on OpenSea somehow?

1 Answer 1

1

Just go on the WETH contract page.

In the contract tab, go to read contract and make a call to the balanceOf function with the address you wish to get the balance of.

enter image description here

4
  • In the scenario that the contract isn't an ERC-20 like WETH, but instead an open edition (multiple copy) ERC-721 NFT, how can someone extract a list of all holders of that contract/NFT, for either or?
    – user610620
    Nov 24, 2021 at 13:03
  • For NFT you could iterate over the events that were emitted during the lifespan of the contract. Not sure if there is another easier way
    – hroussille
    Nov 24, 2021 at 14:04
  • Nothing on the Etherscan above, for the ERC-20, gives a list of holders of the fungible token?
    – user610620
    Nov 24, 2021 at 14:06
  • 1
    No it's not part of the ERC-20 interface as far as I know of. You can also rely on the events to get such a list at any point in time.
    – hroussille
    Nov 24, 2021 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.