Created
September 30, 2020 16:12
-
-
Save michielmulders/d67a57098e991cc83ad59bfc8970add2 to your computer and use it in GitHub Desktop.
Solidity interface for ERC721 Metadata contract
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface ERC721Metadata { | |
/// @notice A descriptive name for a collection of NFTs in this contract | |
function name() external view returns (string _name); | |
/// @notice An abbreviated name for NFTs in this contract | |
function symbol() external view returns (string _symbol); | |
/// @notice A distinct Uniform Resource Identifier (URI) for a given asset. | |
/// @dev Throws if `_tokenId` is not a valid NFT. URIs are defined in RFC | |
/// 3986. The URI may point to a JSON file that conforms to the "ERC721 | |
/// Metadata JSON Schema". | |
function tokenURI(uint256 _tokenId) external view returns (string); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment