0

I need to read an ERC-1155 NFT token metadata.

The smart contract code does not implement the 'uri()' method.

How can we retrieve it's metadata, or at least the metadata's url/URI?

The smart contract is in polygon network, at the address 0x60576a64851c5b42e8c57e3e4a5cf3cf4eeb2ed6.

The actual NFT can be seen at https://opensea.io/assets/matic/0x60576a64851c5b42e8c57e3e4a5cf3cf4eeb2ed6/1655/

Thanks in advance.

1 Answer 1

0

The smart contract you referred to actually has a uri() method. You might not be able to find it because the contract is a proxy contract.

In order to read what's behind the proxy, look at it on PolygonScan. uri() method shows that you need to call this url to retrieve metadata of NFT #1655: https://api.mintkudos.xyz/metadata/1655

2
  • Thanks! I actually got to that point. My problem is I wanted to read it from JavaScript. I think I need to study what a proxy contract is. I want to build a JavaScript NFT reader. Oct 6, 2022 at 7:09
  • @AndreSoeiro try this ethereum.stackexchange.com/questions/91510/…
    – Darker
    Oct 7, 2022 at 8:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.