Inspect contract source code
inspect_contract_codeRetrieve verified source code and compiler metadata for any smart contract by providing the chain and address.
Instructions
Get verified source code and compiler metadata for a smart contract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain name or numeric chain ID, e.g. "ethereum" or "1". Use get_chains_list to discover supported chains. | |
| address | Yes | The 0x-prefixed smart contract address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| notes | No | ||
| pagination | No | ||
| instructions | No | ||
| data_description | No |