Sourcify — Get verified contract
sourcify_get_server_v2_contract_chainid_addressBy default returns minimal information about the contract: match, creationMatch, runtimeMatch, chainId, address, and verifiedAt.
Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| omit | No | Comma seperated fields to NOT include in the response. All fields except matching ones will be returned. Can't be used simultanously with `fields`. A short `omit` list returns almost every field, so it costs almost as much as `fields=all`. Do not use `omit` in loops. Use `fields` to request only what you need. | |
| fields | No | Comma-separated list of fields to include in the response. Can also be `all` to return every available field. See the endpoint description for the full list of available fields. `all` includes all source files and the full standard JSON input and output, so it is expensive. Do not use `all` in loops. Request only the fields that you need. | |
| address | Yes | Contract's 20 byte address in hex string with the 0x prefix. Case insensitive. | |
| chainId | Yes | The chainId number of the EVM chain |