An NFT marketplace is processing a sale and needs to determine if it should pay royalties for a given token. According to the EIP-2981 standard, what is the first step the marketplace's smart contract should take to check for royalty information?
-
A
Call the `getRoyaltyInfo` function with the `tokenId` and `salePrice`.
-
B
Attempt to transfer 1 wei to a standardized royalty treasury address.
-
C
Check if the token contract supports the EIP-2981 interface ID (0x2a55205a) via an ERC-165 check.
-
D
Query a centralized, off-chain registry managed by a consortium of marketplaces.