Skip to main content
POST
/
verify
/
solc-json
Verify solc-json
curl --request POST \
  --url https://api.example.com/verify/solc-json \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>",
  "chain": "<string>",
  "files": {},
  "compilerVersion": "<string>",
  "contractName": "<string>",
  "creatorTxHash": "<string>"
}
'
{
  "result": [
    {
      "address": "<string>",
      "chainId": "<string>",
      "status": "<string>",
      "message": "<string>",
      "libraryMap": {}
    }
  ]
}

Body

address
string<address>
required

Contract address

chain
string<supported-chainId>
required

Chain to check

files
object
required

Files to upload {"path/filename": "content"}

compilerVersion
string
required

Compiler version

contractName
string
required

Name of the contract

creatorTxHash
string

Creator transaction hash

Response

The contract has been successfully checked or sourcified

result
object[]