Complete the code to declare the token URI variable.
string private [1];The token URI is usually stored in a variable named uri or similar. Here, uri is the private string holding the metadata URI.
Complete the function signature to return the token URI.
function [1](uint256 tokenId) public view returns (string memory) {The standard function to get a token's metadata URI in ERC721 is tokenURI.
Fix the error in the return statement to correctly return the token URI.
return [1][tokenId];
The URI is stored in a mapping or variable named uri, so we return uri[tokenId].
Fill both blanks to declare and initialize the mapping for token URIs.
mapping(uint256 => [1]) private [2];
The mapping stores a string URI for each token ID. The mapping name is uri.
Fill all three blanks to set the token URI in the function.
function setTokenURI(uint256 tokenId, [1] memory [2]) public { [3][tokenId] = [2]; }
The function takes a string memory uri parameter and sets uri[tokenId] to that value.
