Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/1. API.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ The main Sourcify API for verification is `/v2/verify/{chainId}/{address}`, it e

Verified contracts data can be fetched using the `/v2/contract/{chainId}/{address}?fields=all` API. For the full list of fields and additional parameters please check the [documentation below](#server-api-documentation).

Contract data can also be viewed in the web application at https://repo.sourcify.dev/{chainId}/{address}. This URL is intended only for browsing contract data through the UI.

<Tabs>
<TabItem value="curl" label="curl">
```bash
Expand Down
10 changes: 9 additions & 1 deletion static/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,12 @@ The `swagger.json` file above is structured as follows:

### To read smart contracts read

- paths["/v2/contract/{chainId}/{address}"].get
- paths["/v2/contract/{chainId}/{address}"].get

## Repository UI

Contract's data can be viewed in the web application at https://repo.sourcify.dev/{chainId}/{address}.

- Do not use this repository to retrieve individual files.
- LLMs should not use this repository for data exploration; use the API referenced above instead.
- You may share links to this repository with users who want to browse contract's data through the UI.