โ† All NFT Flashcard Decks

On-Chain Royalties (EIP-2981) 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 On-Chain Royalties (EIP-2981) flashcards as text
  1. What does the royaltyInfo function in EIP-2981 return?

    Answer: The receiver address and royalty amount

    royaltyInfo returns a tuple of the receiver address and the royalty amount owed for a given sale price.

  2. Which two parameters does royaltyInfo take as inputs?

    Answer: tokenId and salePrice

    royaltyInfo accepts a _tokenId and a _salePrice to compute the royalty owed.

  3. EIP-2981 expresses royalties in what unit relative to sale price?

    Answer: An absolute amount derived from the sale price you pass in

    The standard returns an absolute royaltyAmount computed from the salePrice argument, in the same unit of exchange.

  4. How is EIP-2981 support advertised to other contracts?

    Answer: Via ERC-165 supportsInterface with the 2981 interface ID

    Contracts signal EIP-2981 compliance through ERC-165's supportsInterface using the standard's interface identifier.

  5. What is the ERC-165 interface ID for EIP-2981?

    Answer: 0x2a55205a

    0x2a55205a is the interface ID corresponding to the royaltyInfo selector for EIP-2981.

  6. Does EIP-2981 enforce that marketplaces actually pay the royalty?

    Answer: No, it only signals the amount; payment enforcement is up to the marketplace

    EIP-2981 is purely informational; it standardizes how to query royalties but does not enforce payment.

  7. EIP-2981 can be implemented for which token standards?

    Answer: Both ERC-721 and ERC-1155

    EIP-2981 is designed to work with both ERC-721 and ERC-1155 NFT contracts.