Reputation: 73
How can we say if the following transaction is related to NFT (ERC721) transaction or not in Etherscan?
https://etherscan.io/tx/0xe2be6b09de94d1e17e575141adfa4351d97fa1ca1a619a3397403c51db0fa6a1
Upvotes: 1
Views: 957
Reputation: 43561
The ERC-721 standard defines Transfer
event that has to be emitted with each token transfer, containing 3 topics:
indexed
topic is the sender addressindexed
topic is the recipient addressindexed
topic is the token IDThe ERC-20 standard defines a very similar Transfer
event, also with 3 topics. But the 3rd topic, representing the amount of transferred tokens, is not indexed.
So when you look at the event logs produced by this transaction, there are two Transfer
events. Both of them have the 3rd topic non-indexed, meaning they are transferring ERC-20 tokens - not NFTs. If they were transferring NFTs, the 3rd topic would be indexed
.
Upvotes: 2