Skip to main content
GET
/
codes
/
{version_id}
/
sources
list sources
curl --request GET \
  --url https://api.example.com/codes/{version_id}/sources \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "solc_version": "<string>",
      "path": "<string>",
      "is_imported": true,
      "is_known_target": true,
      "n_entry_points": 123,
      "content": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Path Parameters

version_id
string
required

Response

Successful Response

results
CodeSourceContentSchema · object[]