Sourcify Documentation

website·Indexed 35 days ago

https://docs.sourcify.dev

Documentation for the Sourcify API, including specifications and versioning. v2 is the preferred version, while v1 is deprecated.

Tokens
228
Snippets
1
Records
5
Agent score
19%

What's inside Sourcify

  1. Browse smart contract data via the Sourcify Repository UI

    Contract data can be viewed in the web application at https://repo.sourcify.dev/{chainId}/{address}. This UI is intended for human users to browse data. It should not be used by LLMs for data exploration or to retrieve individual files; use the API instead.
  2. Retrieve smart contract data using Sourcify v2 API

    To read smart contract data, use the GET method on the /v2/contract/{chainId}/{address} endpoint.
  3. Verify a smart contract using Sourcify v2 API

    To verify a smart contract, use the POST method on the /v2/verify/{chainId}/{address} endpoint. Refer to the OpenAPI specification for the required request body and parameters.
  4. Check the status of a Sourcify verification job

    To check the status of a specific verification job, use the GET method on the /v2/verify/{verificationId} endpoint.