get-contract-code
Retrieve smart contract source code from Ethereum blockchain by providing a contract address. Use this tool to analyze, verify, or audit contract implementations.
Instructions
Get the source code for a smart contract
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "get-contract-code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Contract address (0x format) |