getDetails method in ERC721Standard and ERC1155Standard classes should return image/description instead of TokenURI
See original GitHub issueThe getDetails methods for ERC721Standard and ERC1155Standard currently fetch and return a tokenURI. Ideally they would fetch the tokenURI and then use it to fetch other more useful details like image name and description (possibly more) as we do in the getCollectibleInformationFromTokenURI method of the CollectiblesController.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Jumping into Solidity — The ERC721 Standard (Part 6)
The tokenURI function takes a tokenId as its only argument, and returns a URI which points to metadata about that specific token. Depending...
Read more >ERC 721 - OpenZeppelin Docs
Imagine sending an in-game item to an exchange address that can't send it back! ... Internal function to set the token URI for...
Read more >How to get metadata from ERC721 - Ethereum Stack Exchange
If a token contract properly implements the ERC721 Standard and the ERC721Metadata extension, it will always implement the function
Read more >EIP-1155: Multi Token Standard
This standard outlines a smart contract interface that can represent any number of fungible and non-fungible token types. Existing standards ...
Read more >Metadata Standards - OpenSea Developer Documentation
The tokenURI function in your ERC721 or the uri function in your ERC1155 contract should return an HTTP or IPFS URL. When queried,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

ah yes we should have some logic to set this as its own field if the
tokenURIis in this formatre ipfs: cool 👍 re data uri: I mean something like
data:application/json;base64,ew0KICAgICJ...