Get Contract Creation
get_contract_creationGet the creator address and creation transaction hash for up to 5 contract addresses. The multi-kilobyte creation bytecode is omitted by default to keep responses small; set include_creation_bytecode=true to include it.
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": {
"contractaddresses": "<contractaddresses>"
},
"name": "get_contract_creation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainid | No | Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). If omitted, defaults to Ethereum Mainnet (1). | |
| contractaddresses | Yes | List of contract addresses (1-5). | |
| include_creation_bytecode | No | Include the full contract creation bytecode (several KB per contract). Omitted by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The JSON result returned by the Etherscan data tool. |