Questions tagged [tokenuri]

2 questions
4
votes
1 answer

IPFS uri format: https://ipfs.io/ipfs/ vs. ipfs://?

Here is my test tokenURI.json file w/ the imageURI I pass to my token contract.setTokenURI(): { "attributes": [ { "trait_type": "location", "value": "West Awesomeville" }, { "display_type": "date", "trait_type":…
JDOaktown
  • 4,262
  • 7
  • 37
  • 52
0
votes
2 answers

Error while returning a string from a function

I'm trying to make a function that returns string from mapping(uint256 => string) typeToURI; but I keep getting an error from Remix Ethereum IDE: TypeError: Return argument type uint256[] storage ref is not implicitly convertible to expected type…
saeedhsb
  • 3
  • 2