โ† All Blockchain Technology Flashcard Decks

FREE Blockchain Developer Token Standards and NFTs Questions and Answers Flashcards

6 cards from real Blockchain Technology practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 FREE Blockchain Developer Token Standards and NFTs Questions and Answers flashcards as text
  1. What is the key difference between ERC-721's transferFrom and ERC-1155's safeTransferFrom regarding batch operations?

    Answer: ERC-1155 supports batch transfers natively while ERC-721 requires individual calls

    ERC-1155 includes safeBatchTransferFrom for transferring multiple token types in a single transaction, while ERC-721 requires separate calls per token.

  2. In the ERC-721 standard, what event must be emitted when an NFT is created or minted?

    Answer: Transfer event with the from address set to the zero address

    ERC-721 requires a Transfer event from the zero address (0x0) to the recipient to signal that a new token has been minted.

  3. What mechanism does ERC-777 introduce that ERC-20 lacks, allowing token recipients to react to incoming transfers?

    Answer: Hooks via the ERC-1820 registry

    ERC-777 uses the ERC-1820 introspection registry to call hooks on sender and recipient contracts during token transfers.

  4. What does the supportsInterface function from ERC-165 accomplish when implemented by an NFT contract?

    Answer: It allows external callers to detect which token standards the contract implements

    ERC-165's supportsInterface lets contracts declare which interfaces they implement, enabling callers to verify compatibility before interacting.

  5. What problem does the ERC-4907 standard solve for NFTs?

    Answer: It enables rental and time-limited usage rights separate from ownership

    ERC-4907 introduces a "user" role with an automatic expiry, allowing NFT owners to grant temporary usage rights without transferring ownership.

  6. When implementing an ERC-1155 token receiver contract, which function must be implemented to accept single token transfers?

    Answer: onERC1155Received

    Contracts must implement onERC1155Received and return the correct selector bytes to accept incoming ERC-1155 single token transfers.