ERC-721 vs. ERC-1155 Standards 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 ERC-721 vs. ERC-1155 Standards flashcards as text
How does ERC-1155 typically handle metadata URIs to support many tokens?
Answer: A single URI template with an {id} substitution placeholder
ERC-1155 uses a URI template where {id} is replaced with the hex token ID, avoiding per-token storage.
In ERC-721, which event is emitted when ownership of a token changes?
Answer: Transfer
ERC-721 emits a Transfer event with from, to, and tokenId on ownership change.
Which event does ERC-1155 emit for a single token transfer?
Answer: TransferSingle
ERC-1155 emits TransferSingle for one token type and TransferBatch for many.
A game wants gold coins, potions, and unique swords in one contract. Which standard fits best?
Answer: ERC-1155
ERC-1155 handles fungible coins/potions and unique swords together in a single contract.
What does ERC-1155's balanceOfBatch allow callers to do?
Answer: Query multiple owner/ID balance pairs in one call
balanceOfBatch returns balances for arrays of owners and token IDs in a single query.
Which standard's balanceOf takes only an address and returns a count of owned tokens?
Answer: ERC-721
ERC-721 balanceOf(owner) returns how many tokens an address owns; ERC-1155 also needs a token ID.
What is a key risk of using transfer instead of safeTransfer to an unaware contract?
Answer: Tokens may become permanently locked
Sending to a contract that cannot handle tokens without the safe variant can permanently lock them.