{
  "type": "object",
  "properties": {
    "network_id": {
      "description": "The Graph Network ID https://thegraph.com/networks",
      "type": "string",
      "enum": [
        "mainnet",
        "bsc",
        "base",
        "arbitrum-one",
        "optimism",
        "matic",
        "unichain"
      ],
      "example": "mainnet"
    },
    "from": {
      "description": "Filter by address",
      "type": "string",
      "pattern": "^(0[xX])?[0-9a-fA-F]{40}$"
    },
    "to": {
      "description": "Filter by address",
      "type": "string",
      "pattern": "^(0[xX])?[0-9a-fA-F]{40}$",
      "example": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
    },
    "contract": {
      "description": "Filter by address",
      "type": "string",
      "pattern": "^(0[xX])?[0-9a-fA-F]{40}$"
    },
    "startTime": {
      "description": "UNIX timestamp in seconds.",
      "type": "number",
      "minimum": 0
    },
    "endTime": {
      "description": "UNIX timestamp in seconds.",
      "type": "number",
      "minimum": 0
    },
    "orderBy": {
      "description": "The field by which to order the results.",
      "type": "string",
      "enum": [
        "timestamp"
      ],
      "default": "timestamp"
    },
    "orderDirection": {
      "description": "The order in which to return the results: Ascending (asc) or Descending (desc).",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "desc"
    },
    "transaction_id": {
      "description": "Filter by transaction",
      "type": "string",
      "pattern": "^(0[xX])?[0-9a-fA-F]{64}$"
    },
    "limit": {
      "description": "The maximum number of items returned in a single request.",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000,
      "default": 10
    },
    "page": {
      "description": "The page number of the results to return.",
      "type": "integer",
      "minimum": 1,
      "default": 1
    }
  },
  "required": []
}