{
  "type": "object",
  "properties": {
    "contract": {
      "description": "Filter by contract address",
      "type": "string",
      "pattern": "^(0[xX])?[0-9a-fA-F]{40}$",
      "example": "0xc944e90c64b2c07662a292be6244bdf05cda44a7"
    },
    "network_id": {
      "description": "The Graph Network ID https://thegraph.com/networks",
      "type": "string",
      "enum": [
        "mainnet",
        "bsc",
        "base",
        "arbitrum-one",
        "optimism",
        "matic",
        "unichain"
      ],
      "example": "mainnet"
    },
    "orderBy": {
      "description": "The field by which to order the results.",
      "type": "string",
      "enum": [
        "value"
      ],
      "default": "value"
    },
    "orderDirection": {
      "description": "The order in which to return the results: Ascending (asc) or Descending (desc).",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "desc"
    },
    "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": [
    "contract"
  ]
}