โ† All NFT Flashcard Decks

Token Standards (ERC-721/1155) 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 Token Standards (ERC-721/1155) flashcards as text
  1. In ERC-721, which function returns the address that owns a given tokenId?

    Answer: ownerOf(uint256)

    ownerOf(tokenId) returns the current owner address of that specific NFT.

  2. What does ERC-721's safeTransferFrom do that transferFrom does not?

    Answer: Checks the recipient can receive ERC-721 via onERC721Received

    safeTransferFrom verifies a contract recipient implements onERC721Received to avoid trapping tokens.

  3. ERC-1155 supports which type of token in a single contract?

    Answer: Both fungible and non-fungible

    ERC-1155 is a multi-token standard handling fungible, non-fungible, and semi-fungible tokens together.

  4. Which ERC-1155 function transfers multiple token types at once?

    Answer: safeBatchTransferFrom

    safeBatchTransferFrom moves arrays of ids and amounts in one call to save gas.

  5. What standard is used to detect whether a contract implements ERC-721?

    Answer: ERC-165 supportsInterface

    ERC-165's supportsInterface lets callers query whether a contract implements a given interface id.

  6. In ERC-721, what does approve(address, uint256) grant?

    Answer: Permission for one address to transfer one specific token

    approve authorizes a single address to transfer that one specific tokenId.

  7. ERC-1155 uses a single URI with which placeholder for token metadata?

    Answer: {id}

    ERC-1155 metadata URIs use the {id} placeholder, replaced with the hex token id.