2

Is there a way to read data from an IPFS address inside of a solidity contract?

I found questions about writing to ipfs, which isn't what solidity should be used for, but I can't find anything regarding reading.

1 Answer 1

0

It depends on what data you're refering to here. For example ERC721 has a token URI option that stores the URI of the IPFS link where your NFT attributes and details are stored and if it is in openSea standard format. Opensea will read it to display there as well. For others, you have chainlink that can fetch the data for you but even they have their standards that help them fetch the data for specific purpose distributed amongst their varioud API's.

Your Answer

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

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