Knowledge Flashcards
7 cards from real NFT practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Knowledge flashcards as text
Which Ethereum standard is most commonly used to implement non-fungible tokens?
Answer: ERC-721
ERC-721 is the canonical standard defining unique, non-fungible tokens on Ethereum.
What does the tokenURI function in an ERC-721 contract typically return?
Answer: A pointer to the token's metadata (often JSON)
tokenURI returns a URI pointing to a metadata document describing the NFT.
Why are NFT images and metadata often stored on IPFS rather than directly on-chain?
Answer: On-chain storage of large files is prohibitively expensive in gas
Storing large media on-chain costs enormous gas, so decentralized off-chain storage like IPFS is used.
In ERC-721, which function transfers ownership while checking the recipient can handle NFTs?
Answer: safeTransferFrom()
safeTransferFrom verifies that a contract recipient implements onERC721Received before transferring.
What is 'minting' an NFT?
Answer: Creating a new token and recording it on-chain
Minting is the process of generating a new token and writing it to the blockchain.
Which event must an ERC-721 contract emit when a token changes owner?
Answer: Transfer
The Transfer event signals ownership changes including mints and burns.
What advantage does ERC-1155 offer over ERC-721?
Answer: It can manage multiple token types (fungible and non-fungible) in one contract
ERC-1155 is a multi-token standard supporting batch operations and mixed token types in a single contract.