v1

latestOpenAPI 3.1.0MIT2026-07-1716328.3 KB
Contracts

Inspect contract code

Inspects a verified contract's source code or metadata.

get/inspect_contract_code

Query parameters

chain_idstring required

The ID of the blockchain

addressstring required

The address of the smart contract

file_namestring

The name of the source file to inspect. If omitted, returns contract metadata and the list of source files.

Response

Contract source code or metadata

data_descriptionstring[] nullable

Optional list of strings explaining the structure or fields of the data payload

notesstring[] nullable

Optional list of important warnings or contextual notes, such as data truncation alerts

instructionsstring[] nullable

Optional list of suggested follow-up actions for an AI agent