- Import the contract metadata file and the source files from a deployed contract extracting the metadata IPFS CID from the contract's bytecode
Session-based API is only meant for the sourcify.dev UI. Because it makes use of session cookies and it is not possible have
Access-Control-Allow-Origin: * with
credentials: true, meaning these endpoints can only be used on explicitly set domains on the browser. (e.g. sourcify.dev). Please use the verification API if you want Sourcify on your frontend.
Check add input files API to see a complete list of responses
- The contract doesn't have a metadata IPFS CID
"error": "The contract doesn't have a metadata IPFS CID"