August 2019
Intermediate to advanced
486 pages
13h 52m
English
The Transfer event is triggered when an NFT is transferred from the current owner's account to the receiver's account.
The event takes three arguments:
All of the preceding arguments are indexed in the event, which would allow the client applications to filter out the events:
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
The event is also triggered when the new NFT is minted, or an existing NFT is burned from the contract. When a new NFT is minted, the from address will be address(0). However, when an existing NFT is burned, the to