v1

latestOpenAPI 3.1.02026-07-17373221.0 KB
Contract Lookup

List of verified contracts per chain

Retrieve the verified contracts on a chain

get/v2/contracts/{chainId}

Path parameters

chainId31318 | 42431 | 4217 required

Query parameters

sort'asc' | 'desc'
Example:asc

Sorts the contracts by most recent first (desc, default), or by oldest first (asc)

limitnumber

Number of contracts that should be returned per page. Maximum 200

afterMatchIdstring

The last matchId returned to get contracts older or newer than it (depending on sort)

Response

Returns an array of VerifiedContractMinimal objects under results field.

If not verified on any chain, the results array will be empty.

Example response

{
  "results": [
    {
      "chainId": "42431",
      "address": "0xDFEBAd708F803af22e81044aD228Ff77C83C935c",
      "verifiedAt": "2024-07-24T12:00:00Z",
      "matchId": "3266227"
    }
  ]
}