{
  "openapi": "3.1.0",
  "info": {
    "title": "Verify Proxy Contract",
    "version": "2.0.0",
    "description": "Submit a proxy contract for verification.",
    "license": {
      "name": "Etherscan API Terms",
      "url": "https://etherscan.io/terms"
    }
  },
  "servers": [
    {
      "url": "https://api.etherscan.io",
      "description": "Etherscan API."
    }
  ],
  "security": [
    {
      "apiKey": []
    }
  ],
  "paths": {
    "/v2/api": {
      "post": {
        "operationId": "postVerifyproxycontract",
        "summary": "Verify Proxy Contract",
        "description": "Submit a proxy contract for verification.",
        "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 verifyproxycontract for this endpoint.",
            "schema": {
              "type": "string",
              "default": "verifyproxycontract"
            },
            "example": "verifyproxycontract"
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-mint": {
          "metadata": {
            "title": "Verify Proxy Contract",
            "description": "Submit a proxy contract for verification."
          }
        },
        "x-etherscan-source-page": {
          "page": "api-reference/endpoint/verifyproxycontract",
          "title": "Verify Proxy Contract",
          "module": "contract",
          "action": "verifyproxycontract"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "address": {
                    "type": "string",
                    "examples": [
                      "0xcbdcd3815b5f975e1a2c944a9b2cd1c985a1cb7f"
                    ],
                    "description": "The proxy contract address to verify."
                  },
                  "expectedimplementation": {
                    "type": "string",
                    "examples": [
                      "0xB0F24CEB2616F6Bb608B00875Db306167c0f2E8C"
                    ],
                    "description": "Optional implementation address to enforce during verification."
                  }
                },
                "required": [
                  "address"
                ]
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "query",
        "name": "apikey",
        "description": "Your Etherscan API key."
      }
    }
  }
}