> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
> Use this file to discover all available pages before exploring further.

# WebhookEstimateBasis Schema

> How the estimate was produced, so the numbers can be read for what they are. Includes route metadata, schemas, examples, and implementation notes.

Source OpenAPI: 0xArchive API 1.7.0; 218 paths; 210 component schemas.

How the estimate was produced, so the numbers can be read for what they are.

## Required Fields

| Field | Type | Description |
| - | - | - |
| `mode` | string | `exact` counted every occurrence in the window. |

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "WebhookEstimateBasis",
  "description": "How the estimate was produced, so the numbers can be read for what they are.",
  "type": "object",
  "required": [
    "mode"
  ],
  "properties": {
    "mode": {
      "description": "`exact` counted every occurrence in the window. `sampled` scaled the counts from a capped scan, and the note says by how much. `replayed` re-ran a windowed rule over history at your own parameters.",
      "type": "string",
      "enum": [
        "exact",
        "sampled",
        "replayed"
      ],
      "example": "exact"
    },
    "note": {
      "description": "What qualifies the numbers, when anything does.",
      "type": "string",
      "nullable": true
    }
  }
}
```

## Referenced By

Use this shared schema with the generated component index and route-specific endpoint pages during implementation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.