1

I would like to create an application that - given a specific wallet address - fetches and displays all NFTs/ERC721 tokens currently owned. How can this be accomplished? Are there any examples available that are performing something similar?

1
  • You can see ERC721 transactions on etherscan Mar 24, 2021 at 2:55

2 Answers 2

3

Cheap/simple -- use the OpenSea API.


Robust/exhaustive -- you'll need to write your own client. 0xcert has one we might be able to share. And it will monopolize a full server to run + stay synced.

1
  • I was having trouble finding the Image URL of the asset via Ethersan, therefore i've chose this as the best solution. It is simple to get started, the API call that helped my fetch my specific ERC721 asset was the following: docs.opensea.io/reference#getting-assets Mar 29, 2021 at 18:58
2

Make use of Etherscan API: https://etherscan.io/apis#accounts

There is an endpoint to Get a list of "ERC721 - Token Transfer Events" by Address.

Create an Etherscan free account and get an API key so you can query that API endpoint

Your Answer

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

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