v1

latestOpenAPI 3.1.02026-07-17373221.0 KB
Verify Contracts

Verify contract via similarity search

Starts a verification job that searches the Sourcify database for contracts whose runtime bytecode is similar to the contract deployed at the given address. The job will attempt to verify against each candidate until a match is found or the candidate list is exhausted.

post/v2/verify/similarity/{chainId}/{address}

Path parameters

chainId31318 | 42431 | 4217 required
addressstring required

Request body

creationTransactionHashstring

The hash of the transaction that created this contract. Optional.

Example request

{
  "creationTransactionHash": "0xb6ee9d528b336942dd70d3b41e2811be10a473776352009fd73f85604f5ed206"
}

Response

Successfully submitted the verification. The server started to process the verification.

You can follow the verification status via the returned verificationId at GET /v2/verify/{verificationId}

verificationIdstring uuid required