v1

latestOpenAPI 3.1.02026-07-17373221.0 KB
Verify Contracts

Verify Contract (using Solidity metadata.json)

Endpoint to submit a verification with the Solidity metadata.json

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

Path parameters

chainIdstring required
Example:42431

The chainId number of the EVM chain

addressstring required
Example:0xe4b10A2a727D0f4863CEBca743a8dAb84cf65b2d

Contract's 20 byte address in hex string with the 0x prefix. Case insensitive.

Request body

sourcesobject required

A mapping from file path to its content.

metadataobject required

The metadata as an object.

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