0

Right now I have a web socket that's subscribed to all pending transactions. I was wondering if I'm able to figure out if I'm able to decide if a particular transaction involves an ERC721 token with the object that gets returned.

I was looking into Etherscan recently and I realized that a lot of the data Etherscan displays seems pretty challenging to retrieve and was wondering how Etherscan's ERC721 token transfer feature is implemented.

  • Does this answer your question? [how can we get token holders from token?](https://stackoverflow.com/questions/68860386/how-can-we-get-token-holders-from-token) – Petr Hejda Jan 29 '22 at 10:18
  • TLDR: Etherscan reads the `Transfer()` events emitted in each token transferring transaction and build a separate database of token transfers. This applies to both ERC20 and ERC721. – Petr Hejda Jan 29 '22 at 10:19

0 Answers0