Skip to main content
GET
/
versions
/
{version_mapping_id}
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "network": "eth",
  "version_method": "tag",
  "version_identifier": "<string>",
  "source_type": "scan",
  "source_url": "<string>",
  "solc_version": "<string>",
  "is_code_available": true
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Path Parameters

version_mapping_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required
created_at
string<date-time>
required
version_method
enum<string>
required
Available options:
tag,
commit,
hash,
address
version_identifier
string
required

identifier for the code. can be a hash, address, etc...

source_type
enum<string>
required
Available options:
scan,
paste,
upload_file,
upload_folder,
repository
is_code_available
boolean
required
network
enum<string>

if explorer scan, this will be populated

Available options:
eth,
bsc,
polygon,
base,
avax,
mode,
arb,
eth_sepolia,
bsc_test,
polygon_amoy,
base_sepolia,
avax_fuji,
mode_testnet,
arb_sepolia
source_url
string | null

if github repository, this will exist

solc_version
string | null

solidity compiler version detected

I