2

I'm trying to find a way to enter an NFT project's contract address and get an associated project profile image (ie: image that shows up on OpenSea, rarity.tools, etc. at the top of a collection's page) - I don't see it in the contract metadata but I might be looking in the wrong place.

Thanks in advance!

2
  • Hi there. Is there a particular project contract you were looking at? (Might be easier for the answer-er to use it as an example.) Commented Jan 7, 2022 at 22:59
  • Yep, RumbleKongLeague (contract 0xef0182dc0574cd5874494a120750fd222fdb909a) opensea.io/collection/rumble-kong-league
    – Ben Kates
    Commented Jan 7, 2022 at 23:01

1 Answer 1

1

For the example you've given in the comments...

  • Open the token contract in Etherscan (i.e. here)
  • Open the Contract tab, then ReadContract
  • In the tokenURI dropdown, insert the ID of the token you're interested in
  • The query will return the IPFS path to a JSON file
  • One of the fields in the JSON file will give a path to the image

For example, for Kong #7620, the associated returned JSON path is ipfs://QmUD7G9xD3beung6RDGV5ZaXEMjaSCDBhe9TjYWqw9jmnV/7620. (You can view this using an IPFS public gateway at https://gateway.ipfs.io/ipfs/QmUD7G9xD3beung6RDGV5ZaXEMjaSCDBhe9TjYWqw9jmnV/7620).

The image path can then be seen to be https://gateway.ipfs.io/ipfs/QmcZx3PksH4HMwCzjbCuvvrRBH7crgnN7dSbyDs6bdScUk

1
  • Thanks for the response, I'm not talking about about an individual NFT, rather the project as a whole, like the "RKL" logo that's on the OpenSea page lh3.googleusercontent.com/…
    – Ben Kates
    Commented Jan 8, 2022 at 0:53

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.