{
  "openapi": "3.1.0",
  "info": {
    "title": "Get Contract Creator and Creation Tx Hash",
    "version": "2.0.0",
    "description": "Retrieve a contract's deployer address and creation transaction.",
    "license": {
      "name": "Etherscan API Terms",
      "url": "https://etherscan.io/terms"
    }
  },
  "servers": [
    {
      "url": "https://api.etherscan.io",
      "description": "Etherscan API."
    }
  ],
  "security": [
    {
      "apiKey": []
    }
  ],
  "paths": {
    "/v2/api": {
      "get": {
        "operationId": "getGetcontractcreation",
        "summary": "Get Contract Creator and Creation Tx Hash",
        "description": "Retrieve a contract's deployer address and creation transaction.",
        "parameters": [
          {
            "name": "chainid",
            "in": "query",
            "required": true,
            "description": "Chain ID to query, eg 1 for Ethereum, 8453 for Base from our supported chains.",
            "schema": {
              "type": "string"
            },
            "example": "1"
          },
          {
            "name": "module",
            "in": "query",
            "required": true,
            "description": "Set to contract for this endpoint.",
            "schema": {
              "type": "string",
              "default": "contract"
            },
            "example": "contract"
          },
          {
            "name": "action",
            "in": "query",
            "required": true,
            "description": "Set to getcontractcreation for this endpoint.",
            "schema": {
              "type": "string",
              "default": "getcontractcreation"
            },
            "example": "getcontractcreation"
          },
          {
            "name": "contractaddresses",
            "in": "query",
            "required": true,
            "description": "Up to 5 contract addresses, separated by commas.",
            "schema": {
              "type": "string"
            },
            "example": "0xB83c27805aAcA5C7082eB45C868d955Cf04C337F,0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45"
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-mint": {
          "metadata": {
            "title": "Get Contract Creator and Creation Tx Hash",
            "description": "Retrieve a contract's deployer address and creation transaction."
          }
        },
        "x-etherscan-source-page": {
          "page": "api-reference/endpoint/getcontractcreation",
          "title": "Get Contract Creator and Creation Tx Hash",
          "module": "contract",
          "action": "getcontractcreation"
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "query",
        "name": "apikey",
        "description": "Your Etherscan API key."
      }
    }
  }
}