{
  "openapi": "3.1.0",
  "info": {
    "title": "Get Daily Transaction Count",
    "version": "2.0.0",
    "description": "Retrieves the daily number of transactions executed in the blockchain.",
    "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": "getDailytx",
        "summary": "Get Daily Transaction Count",
        "description": "Retrieves the daily number of transactions executed in the blockchain.",
        "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 stats for this endpoint.",
            "schema": {
              "type": "string",
              "default": "stats"
            },
            "example": "stats"
          },
          {
            "name": "action",
            "in": "query",
            "required": true,
            "description": "Set to dailytx for this endpoint.",
            "schema": {
              "type": "string",
              "default": "dailytx"
            },
            "example": "dailytx"
          },
          {
            "name": "startdate",
            "in": "query",
            "required": true,
            "description": "Starting date in yyyy-MM-dd format.",
            "schema": {
              "type": "string"
            },
            "example": "2019-02-01"
          },
          {
            "name": "enddate",
            "in": "query",
            "required": true,
            "description": "Ending date in yyyy-MM-dd format.",
            "schema": {
              "type": "string"
            },
            "example": "2019-02-28"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Sort order either desc for the latest results first or asc for the oldest results first.",
            "schema": {
              "type": "string"
            },
            "example": "asc"
          }
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-mint": {
          "metadata": {
            "title": "Get Daily Transaction Count",
            "description": "Retrieves the daily number of transactions executed in the blockchain."
          }
        },
        "x-etherscan-source-page": {
          "page": "api-reference/endpoint/dailytx",
          "title": "Get Daily Transaction Count",
          "module": "stats",
          "action": "dailytx"
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "query",
        "name": "apikey",
        "description": "Your Etherscan API key."
      }
    }
  }
}