Minting and Burning Mechanics 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 Minting and Burning Mechanics flashcards as text
In ERC-1155, which function mints a quantity of a fungible token id to an address?
Answer: _mint(to, id, amount, data)
ERC-1155 _mint takes an id, an amount, and a data parameter for batched/semi-fungible tokens.
What is the main gas advantage of ERC-1155 _mintBatch over multiple ERC-721 mints?
Answer: Multiple token ids are minted in a single transaction
Batch minting creates several token ids in one call, saving per-transaction overhead.
Which event does ERC-1155 emit for a single burn operation?
Answer: TransferSingle with the 'to' field as the zero address
ERC-1155 burns emit TransferSingle with the destination set to address(0).
In ERC-1155, what must hold true for _burn(from, id, amount) to succeed?
Answer: The 'from' balance for that id must be at least 'amount'
Burning reverts if the holder's balance for the id is less than the amount being burned.
When using lazy minting, when is the NFT actually written to the blockchain?
Answer: At the time of the first purchase or claim
Lazy minting defers the on-chain mint until a buyer triggers it, shifting gas to the buyer.
What signed data structure typically authorizes a lazy mint via voucher?
Answer: An EIP-712 typed signature from the creator
Lazy mint vouchers are commonly authorized with EIP-712 typed-data signatures.
Why is _mintBatch's array length validation important?
Answer: The ids and amounts arrays must be equal length to map correctly
Mismatched ids and amounts array lengths would corrupt balance assignment, so they must match.