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

# PredictionMarketMetricsEventMarketConditionInput

> Per-window market-level conditions across all 6 windows. PredictionMarketMetricsEventMarketConditionInput input object reference: every field and its type.

## GraphQL

```
input PredictionMarketMetricsEventMarketConditionInput {
  min5: WindowedPredictionMarketMetricsEventMarketConditionInput
  hour1: WindowedPredictionMarketMetricsEventMarketConditionInput
  hour4: WindowedPredictionMarketMetricsEventMarketConditionInput
  hour12: WindowedPredictionMarketMetricsEventMarketConditionInput
  day1: WindowedPredictionMarketMetricsEventMarketConditionInput
  week1: WindowedPredictionMarketMetricsEventMarketConditionInput
}

input ComparisonOperatorInput {
  gt: String
  gte: String
  lt: String
  lte: String
  eq: String
}

input WindowedPredictionMarketMetricsEventMarketConditionInput {
  volumeUsd: ComparisonOperatorInput
  trades: ComparisonOperatorInput
  volumeChange: ComparisonOperatorInput
  tradesChange: ComparisonOperatorInput
}
```

### Used By

**Used as input by**

* [createWebhooks](https://docs.codex.io/api-reference/mutations/createwebhooks.md): Create event webhooks for price, token/pair, transfer, market cap, and prediction market trades.


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