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

# Polymarket API reference

> API reference for the Polymarket plugin in Corsair: every `polymarket.api.*` operation with its input and output types, taken from the plugin's Zod schemas.

> [!NOTE]
>
> **New to Corsair?** See [API access](https://docs.corsair.dev/concepts/api.md), [authentication](https://docs.corsair.dev/concepts/auth.md), and [error handling](https://docs.corsair.dev/concepts/error-handling).

## Bridge

### deposit

`bridge.deposit`

Create bridge addresses

**Risk:** `write`

```ts theme={null}
await corsair.polymarket.api.bridge.deposit({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `x_builder_code` | `string` | No | Optional builder code (bytes32 hex) attributing this request to your integration so transfer issues can be traced to your app. Omitting it still succeeds but returns a `missing_builder_code` warning; a malformed code returns 400. Get your code at [https://polymarket.com/settings?tab=builder](https://polymarket.com/settings?tab=builder) |
| `address` | `string` | Yes | Ethereum address (0x-prefixed, 40 hex chars) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `object \| null` | No | Bridge addresses for different blockchain networks |
| `note` | `string \| null` | No | Additional information about the bridge addresses |

> [accordion] address full type
>
> ```ts theme={null}
> {
>   evm?: string | null,
>   svm?: string | null,
>   btc?: string | null,
>   tron?: string | null
> } | null
> ```

***

### quote

`bridge.quote`

Get a quote

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.bridge.quote({
	fromAmountBaseUnit: 'example',
	fromChainId: 'example',
	fromTokenAddress: 'example',
	recipientAddress: 'example',
	toChainId: 'example',
	toTokenAddress: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `fromAmountBaseUnit` | `string` | Yes | Amount of tokens to send |
| `fromChainId` | `string` | Yes | Source Chain ID |
| `fromTokenAddress` | `string` | Yes | Source token address |
| `recipientAddress` | `string` | Yes | Address of the recipient |
| `toChainId` | `string` | Yes | Destination Chain ID |
| `toTokenAddress` | `string` | Yes | Destination token address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `estCheckoutTimeMs` | `number \| null` | No | Estimated time to complete the checkout in milliseconds |
| `estFeeBreakdown` | `object \| null` | No | Breakdown of the estimated fees |
| `estInputUsd` | `number \| null` | No | Estimated token amount received in USD |
| `estOutputUsd` | `number \| null` | No | Estimated token amount sent in USD |
| `estToTokenBaseUnit` | `string \| null` | No | Estimated token amount received |
| `quoteId` | `string \| null` | No | Unique quote id of the request |

> [accordion] estFeeBreakdown full type
>
> ```ts theme={null}
> {
>   appFeeLabel?: string | null,
>   appFeePercent?: number | null,
>   appFeeUsd?: number | null,
>   fillCostPercent?: number | null,
>   fillCostUsd?: number | null,
>   gasUsd?: number | null,
>   maxSlippage?: number | null,
>   minReceived?: number | null,
>   swapImpact?: number | null,
>   swapImpactUsd?: number | null,
>   totalImpact?: number | null,
>   totalImpactUsd?: number | null
> } | null
> ```

***

### status

`bridge.status`

Get transaction status

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.bridge.status({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | The bridge address to query for transaction status, taken from the `/deposit` or `/withdraw` response. EVM, Solana, Tron, and Bitcoin address formats are supported. EVM addresses are normalized before the request is forwarded upstream. |
| `limit` | `number` | No | Maximum number of transactions per page. A page may contain fewer transactions than requested and still have a following page. |
| `cursor` | `string` | No | Opaque continuation token returned as `nextCursor` by the previous response. Omit it to request the first page. URL-encode it, since cursors can contain characters such as `+`, `/`, and `=`. Invalid, tampered, or cross-address tokens return 400; restart the walk without a cursor when that happens. |
| `paginate` | `true` | No | Compatibility parameter forwarded upstream for existing integrations. Pagination applies whether or not it is sent, so new integrations should omit it and use `cursor` and `limit` alone. When sent, the only supported value is `true`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `transactions` | `object[] \| null` | No | One page of transactions for the given address, newest first. This is a page, not the full history for the address. |
| `nextCursor` | `string \| null \| null` | No | Opaque continuation token for the next page, or null when the pagination walk is complete. Pass it back verbatim as `cursor` on the next request; never parse, modify, construct, or reuse it with a different address. Stop on null rather than on an empty page or a page shorter than `limit`. |

> [accordion] transactions full type
>
> ```ts theme={null}
> {
>   fromChainId?: string | null,
>   fromTokenAddress?: string | null,
>   fromAmountBaseUnit?: string | null,
>   toChainId?: string | null,
>   toTokenAddress?: string | null,
>   status?: string | null,
>   txHash?: string | null,
>   createdTimeMs?: number | null
> }[] | null
> ```

***

### supportedAssets

`bridge.supportedAssets`

Get supported assets

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.bridge.supportedAssets({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `supportedAssets` | `object[] \| null` | No | List of supported assets with minimum amounts for deposits and withdrawals |

> [accordion] supportedAssets full type
>
> ```ts theme={null}
> {
>   chainId?: string | null,
>   chainName?: string | null,
>   token?: {
>     name?: string | null,
>     symbol?: string | null,
>     address?: string | null,
>     decimals?: number | null
>   } | null,
>   minCheckoutUsd?: number | null
> }[] | null
> ```

***

### withdraw

`bridge.withdraw`

Create withdrawal addresses

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.bridge.withdraw({
	address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
	toChainId: 'example',
	toTokenAddress: 'example',
	recipientAddr: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `x_builder_code` | `string` | No | Optional builder code (bytes32 hex) attributing this request to your integration so transfer issues can be traced to your app. Omitting it still succeeds but returns a `missing_builder_code` warning; a malformed code returns 400. Get your code at [https://polymarket.com/settings?tab=builder](https://polymarket.com/settings?tab=builder) |
| `address` | `string` | Yes | Ethereum address (0x-prefixed, 40 hex chars) |
| `toChainId` | `string` | Yes | Destination chain ID (e.g., "1" for Ethereum, "8453" for Base, "1151111081099710" for Solana) |
| `toTokenAddress` | `string` | Yes | Destination token contract address |
| `recipientAddr` | `string` | Yes | Destination wallet address where funds will be sent |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `object \| null` | No | Bridge addresses for different blockchain networks |
| `note` | `string \| null` | No | Additional information about the bridge addresses |

> [accordion] address full type
>
> ```ts theme={null}
> {
>   evm?: string | null,
>   svm?: string | null,
>   btc?: string | null,
>   tron?: string | null
> } | null
> ```

***

## Clob

### apiKeys.create

`clob.apiKeys.create`

Create API key

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.apiKeys.create({
	poly_address: 'example',
	poly_signature: 'example',
	poly_timestamp: 'example',
	poly_nonce: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `poly_address` | `string` | Yes | The wallet (EOA) address that signed the ClobAuth message. |
| `poly_signature` | `string` | Yes | The wallet's EIP-712 signature of the ClobAuth message. |
| `poly_timestamp` | `string` | Yes | The Unix timestamp (seconds) signed in the message. |
| `poly_nonce` | `string` | Yes | The nonce signed in the message (0 unless you chose another). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiKey` | `string \| null` | No | UUID of the API key |
| `secret` | `string \| null` | No | Base64-encoded secret key for HMAC authentication |
| `passphrase` | `string \| null` | No | Hex-encoded passphrase for secret decryption |

***

### apiKeys.delete

`clob.apiKeys.delete`

Delete API key

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.apiKeys.delete({});
```

**Input:** *empty object*

**Output:** `string`

***

### apiKeys.derive

`clob.apiKeys.derive`

Derive API key

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.apiKeys.derive({
	poly_address: 'example',
	poly_signature: 'example',
	poly_timestamp: 'example',
	poly_nonce: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `poly_address` | `string` | Yes | The wallet (EOA) address that signed the ClobAuth message. |
| `poly_signature` | `string` | Yes | The wallet's EIP-712 signature of the ClobAuth message. |
| `poly_timestamp` | `string` | Yes | The Unix timestamp (seconds) signed in the message. |
| `poly_nonce` | `string` | Yes | The nonce signed in the message (0 unless you chose another). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiKey` | `string \| null` | No | UUID of the API key |
| `secret` | `string \| null` | No | Base64-encoded secret key for HMAC authentication |
| `passphrase` | `string \| null` | No | Hex-encoded passphrase for secret decryption |

***

### apiKeys.list

`clob.apiKeys.list`

Get API keys

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.apiKeys.list({
	poly_address: 'example',
	poly_signature: 'example',
	poly_timestamp: 'example',
	poly_nonce: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `poly_address` | `string` | Yes | The wallet (EOA) address that signed the ClobAuth message. |
| `poly_signature` | `string` | Yes | The wallet's EIP-712 signature of the ClobAuth message. |
| `poly_timestamp` | `string` | Yes | The Unix timestamp (seconds) signed in the message. |
| `poly_nonce` | `string` | Yes | The nonce signed in the message (0 unless you chose another). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiKeys` | `string[] \| null` | No | Array of API key UUIDs |

***

### balanceAllowance.get

`clob.balanceAllowance.get`

Get balance and allowance

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.balanceAllowance.get({ asset_type: 'COLLATERAL' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `asset_type` | `COLLATERAL \| CONDITIONAL` | Yes | Type of asset |
| `token_id` | `string` | No | Token ID (asset ID). Defaults to "-1" for ERC20 collateral. |
| `signature_type` | `0 \| 1 \| 2 \| 3` | No | Signature type for address derivation (0=EOA, 1=POLY\_PROXY, 2=POLY\_GNOSIS\_SAFE, 3=POLY\_1271) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `balance` | `string \| null` | No | Balance amount in fixed-math with 6 decimals |
| `allowances` | `Record<string, string> \| null` | No | Map of spender addresses to allowance amounts |

***

### balanceAllowance.refresh

`clob.balanceAllowance.refresh`

Update balance and allowance

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.balanceAllowance.refresh({ asset_type: 'COLLATERAL' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `asset_type` | `COLLATERAL \| CONDITIONAL` | Yes | Type of asset |
| `token_id` | `string` | No | Token ID (asset ID). Defaults to "-1" for ERC20 collateral. |
| `signature_type` | `0 \| 1 \| 2 \| 3` | No | Signature type for address derivation (0=EOA, 1=POLY\_PROXY, 2=POLY\_GNOSIS\_SAFE, 3=POLY\_1271) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `balance` | `string \| null` | No | Balance amount in fixed-math with 6 decimals |
| `allowances` | `Record<string, string> \| null` | No | Map of spender addresses to allowance amounts |

***

### balanceAllowance.update

`clob.balanceAllowance.update`

Update balance and allowance

**Risk:** `write`

```ts theme={null}
await corsair.polymarket.api.clob.balanceAllowance.update({ asset_type: 'COLLATERAL' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `asset_type` | `COLLATERAL \| CONDITIONAL` | Yes | Type of asset |
| `token_id` | `string` | No | Token ID (asset ID). Defaults to "-1" for ERC20 collateral. |
| `signature_type` | `0 \| 1 \| 2 \| 3` | No | Signature type for address derivation (0=EOA, 1=POLY\_PROXY, 2=POLY\_GNOSIS\_SAFE, 3=POLY\_1271) |

**Output:** *empty object*

***

### books.get

`clob.books.get`

Get order book

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.books.get({ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | Yes | Token ID (asset ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `market` | `string \| null` | No | Market condition ID |
| `asset_id` | `string \| null` | No | Token ID (asset ID) |
| `timestamp` | `string \| null` | No | Timestamp of the order book snapshot |
| `hash` | `string \| null` | No | Hash of the order book summary |
| `bids` | `object[] \| null` | No | List of bid orders (sorted by price descending) |
| `asks` | `object[] \| null` | No | List of ask orders (sorted by price ascending) |
| `min_order_size` | `string \| null` | No | Minimum order size |
| `tick_size` | `string \| null` | No | Minimum price increment (tick size) |
| `neg_risk` | `boolean \| null` | No | Whether negative risk is enabled for this market |
| `last_trade_price` | `string \| null` | No | Last trade price |

> [accordion] bids full type
>
> ```ts theme={null}
> {
>   price?: string | null,
>   size?: string | null
> }[] | null
> ```

> [accordion] asks full type
>
> ```ts theme={null}
> {
>   price?: string | null,
>   size?: string | null
> }[] | null
> ```

***

### books.list

`clob.books.list`

Get order books (query parameters)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.books.list({ token_ids: '1,2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_ids` | `string` | Yes | Comma-separated list of token IDs |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   market?: string | null,
>   asset_id?: string | null,
>   timestamp?: string | null,
>   hash?: string | null,
>   bids?: {
>     price?: string | null,
>     size?: string | null
>   }[] | null,
>   asks?: {
>     price?: string | null,
>     size?: string | null
>   }[] | null,
>   min_order_size?: string | null,
>   tick_size?: string | null,
>   neg_risk?: boolean | null,
>   last_trade_price?: string | null
> }[]
> ```

***

### books.listByBody

`clob.books.listByBody`

Get order books (request body)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.books.listByBody({
	body: [{ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `object[]` | Yes | The request body. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   token_id: string,
>   side?: BUY | SELL
> }[]
> ```

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   market?: string | null,
>   asset_id?: string | null,
>   timestamp?: string | null,
>   hash?: string | null,
>   bids?: {
>     price?: string | null,
>     size?: string | null
>   }[] | null,
>   asks?: {
>     price?: string | null,
>     size?: string | null
>   }[] | null,
>   min_order_size?: string | null,
>   tick_size?: string | null,
>   neg_risk?: boolean | null,
>   last_trade_price?: string | null
> }[]
> ```

***

### builderApiKeys.create

`clob.builderApiKeys.create`

Create builder API key

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.builderApiKeys.create({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `key` | `string \| null` | No | Unique UUID identifier for the builder API key |
| `secret` | `string \| null` | No | Base64-encoded secret key for HMAC authentication |
| `passphrase` | `string \| null` | No | Hex-encoded passphrase for secret decryption |

***

### builderApiKeys.list

`clob.builderApiKeys.list`

Get builder API keys

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.builderApiKeys.list({});
```

**Input:** *empty object*

**Output:** `string[]`

***

### builderApiKeys.revoke

`clob.builderApiKeys.revoke`

Revoke builder API key

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.builderApiKeys.revoke({});
```

**Input:** *empty object*

**Output:** `string`

***

### closedOnlyMode

`clob.closedOnlyMode`

Get closed-only mode status

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.closedOnlyMode({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `closed_only` | `boolean \| null` | No | Whether the user is in closed-only trading mode |

***

### feeRate.get

`clob.feeRate.get`

Get fee rate

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.feeRate.get({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | No | Token ID (asset ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `base_fee` | `number \| null` | No | Base fee in basis points |

***

### feeRate.getByToken

`clob.feeRate.getByToken`

Get fee rate by path parameter

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.feeRate.getByToken({ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | Yes | Token ID (asset ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `base_fee` | `number \| null` | No | Base fee in basis points |

***

### heartbeats.send

`clob.heartbeats.send`

Send heartbeat

**Risk:** `write`

```ts theme={null}
await corsair.polymarket.api.clob.heartbeats.send({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | Status of the heartbeat acknowledgment |

***

### heartbeats.sendV1

`clob.heartbeats.sendV1`

Send heartbeat (v1)

**Risk:** `write`

```ts theme={null}
await corsair.polymarket.api.clob.heartbeats.sendV1({ heartbeat_id: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `heartbeat_id` | `string` | Yes | The heartbeat ID from the previous response. For the first request, this should be empty. Subsequent requests must use the heartbeat\_id returned from the previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `heartbeat_id` | `string \| null` | No | The new heartbeat ID to use in the next request |

***

### lastTradePrices.get

`clob.lastTradePrices.get`

Get last trade price

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.lastTradePrices.get({ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | Yes | Token ID (asset ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `price` | `string \| null` | No | Last trade price |
| `side` | `string \| null` | No | Last trade side (BUY or SELL) |

***

### lastTradePrices.list

`clob.lastTradePrices.list`

Get last trade prices (query parameters)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.lastTradePrices.list({ token_ids: '1,2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_ids` | `string` | Yes | Comma-separated list of token IDs (max 500) |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   token_id?: string | null,
>   price?: string | null,
>   side?: string | null
> }[]
> ```

***

### lastTradePrices.listByBody

`clob.lastTradePrices.listByBody`

Get last trade prices (request body)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.lastTradePrices.listByBody({
	body: [{ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `object[]` | Yes | The request body. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   token_id: string,
>   side?: BUY | SELL
> }[]
> ```

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   token_id?: string | null,
>   price?: string | null,
>   side?: string | null
> }[]
> ```

***

### markets.get

`clob.markets.get`

Get CLOB market info

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.markets.get({ condition_id: '0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `condition_id` | `string` | Yes | The condition ID of the market |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `gst` | `string \| null \| null` | No | Game start time (used for sports markets), ISO 8601 timestamp or null |
| `r` | `object \| null` | No | Rewards configuration for a market. |
| `t` | `object[] \| null` | No | Tokens for this market |
| `mos` | `number \| null` | No | Minimum order size |
| `mts` | `number \| null` | No | Minimum tick size (price increment) |
| `mbf` | `number \| null` | No | Maker base fee in basis points |
| `tbf` | `number \| null` | No | Taker base fee in basis points |
| `rfqe` | `boolean \| null` | No | Whether RFQ (Request for Quote) is enabled for this market |
| `itode` | `boolean \| null` | No | Whether taker order delay is enabled for this market. When true, marketable orders are held for the 250 ms taker-delay window before synchronous processing. This field is omitted when false. |
| `ibce` | `boolean \| null` | No | Whether Blockaid check is enabled |
| `fd` | `object \| null` | No | Fee curve parameters for a market. |
| `oas` | `number \| null` | No | Minimum order age in seconds |

> [accordion] r full type
>
> ```ts theme={null}
> {
> } | null
> ```

> [accordion] t full type
>
> ```ts theme={null}
> {
>   t?: string | null,
>   o?: string | null
> }[] | null
> ```

> [accordion] fd full type
>
> ```ts theme={null}
> {
>   r?: number | null | null,
>   e?: number | null | null,
>   to?: boolean | null | null
> } | null
> ```

***

### markets.getByToken

`clob.markets.getByToken`

Get market by token

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.markets.getByToken({ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | Yes | The token ID to look up the parent market for |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `condition_id` | `string \| null` | No | The condition ID of the market containing the given token |
| `primary_token_id` | `string \| null` | No | The primary (Yes) token ID |
| `secondary_token_id` | `string \| null` | No | The secondary (No) token ID |

***

### markets.listSampling

`clob.markets.listSampling`

Get sampling markets

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.markets.listSampling({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `next_cursor` | `string` | No | — |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | — |
| `next_cursor` | `string \| null` | No | — |
| `count` | `number \| null` | No | — |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   enable_order_book?: boolean | null,
>   active?: boolean | null,
>   closed?: boolean | null,
>   archived?: boolean | null,
>   accepting_orders?: boolean | null,
>   accepting_order_timestamp?: string | null,
>   minimum_order_size?: number | null,
>   minimum_tick_size?: number | null,
>   condition_id?: string | null,
>   question_id?: string | null,
>   question?: string | null,
>   description?: string | null,
>   market_slug?: string | null,
>   end_date_iso?: string | null,
>   game_start_time?: string | null,
>   seconds_delay?: number | null,
>   fpmm?: string | null,
>   maker_base_fee?: number | null,
>   taker_base_fee?: number | null,
>   notifications_enabled?: boolean | null,
>   neg_risk?: boolean | null,
>   neg_risk_market_id?: string | null,
>   neg_risk_request_id?: string | null,
>   icon?: string | null,
>   image?: string | null,
>   rewards?: {
>     rates?: {
>       asset_address?: string | null,
>       rewards_daily_rate?: number | null
>     }[] | null,
>     min_size?: number | null,
>     max_spread?: number | null
>   } | null,
>   is_50_50_outcome?: boolean | null,
>   tokens?: {
>     token_id?: string | null,
>     outcome?: string | null,
>     price?: number | null,
>     winner?: boolean | null
>   }[] | null,
>   tags?: string[] | null
> }[] | null
> ```

***

### markets.listSamplingSimplified

`clob.markets.listSamplingSimplified`

Get sampling simplified markets

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.markets.listSamplingSimplified({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `next_cursor` | `string` | No | — |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | — |
| `next_cursor` | `string \| null` | No | — |
| `count` | `number \| null` | No | — |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   condition_id?: string | null,
>   rewards?: {
>     rates?: {
>       asset_address?: string | null,
>       rewards_daily_rate?: number | null
>     }[] | null,
>     min_size?: number | null,
>     max_spread?: number | null
>   } | null,
>   tokens?: {
>     token_id?: string | null,
>     outcome?: string | null,
>     price?: number | null,
>     winner?: boolean | null
>   }[] | null,
>   active?: boolean | null,
>   closed?: boolean | null,
>   archived?: boolean | null,
>   accepting_orders?: boolean | null
> }[] | null
> ```

***

### markets.listSimplified

`clob.markets.listSimplified`

Get simplified markets

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.markets.listSimplified({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `next_cursor` | `string` | No | — |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | — |
| `next_cursor` | `string \| null` | No | — |
| `count` | `number \| null` | No | — |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   condition_id?: string | null,
>   rewards?: {
>     rates?: {
>       asset_address?: string | null,
>       rewards_daily_rate?: number | null
>     }[] | null,
>     min_size?: number | null,
>     max_spread?: number | null
>   } | null,
>   tokens?: {
>     token_id?: string | null,
>     outcome?: string | null,
>     price?: number | null,
>     winner?: boolean | null
>   }[] | null,
>   active?: boolean | null,
>   closed?: boolean | null,
>   archived?: boolean | null,
>   accepting_orders?: boolean | null
> }[] | null
> ```

***

### markets.liveActivity

`clob.markets.liveActivity`

Get live activity markets by condition IDs

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.markets.liveActivity({
	body: ['example'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `string[]` | Yes | Array of condition IDs to fetch |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   condition_id?: string | null,
>   id?: number | null,
>   question?: string | null,
>   market_slug?: string | null,
>   event_slug?: string | null,
>   series_slug?: string | null,
>   icon?: string | null,
>   image?: string | null,
>   tags?: string[] | null
> }[]
> ```

***

### markets.liveActivityByCondition

`clob.markets.liveActivityByCondition`

Get live activity market by condition ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.markets.liveActivityByCondition({ condition_id: '0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `condition_id` | `string` | Yes | The condition ID of the market |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `condition_id` | `string \| null` | No | Unique identifier for the market condition |
| `id` | `number \| null` | No | Internal market ID |
| `question` | `string \| null` | No | The market question being asked |
| `market_slug` | `string \| null` | No | URL-friendly slug for the market |
| `event_slug` | `string \| null` | No | URL-friendly slug for the parent event |
| `series_slug` | `string \| null` | No | URL-friendly slug for the series (if applicable) |
| `icon` | `string \| null` | No | URL to the market icon image |
| `image` | `string \| null` | No | URL to the market image |
| `tags` | `string[] \| null` | No | List of tag slugs associated with this market |

***

### midpoints.get

`clob.midpoints.get`

Get midpoint price

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.midpoints.get({ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | Yes | Token ID (asset ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `mid_price` | `string \| null` | No | Midpoint price as a string |

***

### midpoints.list

`clob.midpoints.list`

Get midpoint prices (query parameters)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.midpoints.list({ token_ids: '1,2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_ids` | `string` | Yes | Comma-separated list of token IDs |

**Output:** `Record<string, string>`

***

### midpoints.listByBody

`clob.midpoints.listByBody`

Get midpoint prices (request body)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.midpoints.listByBody({
	body: [{ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `object[]` | Yes | The request body. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   token_id: string,
>   side?: BUY | SELL
> }[]
> ```

**Output:** `Record<string, string>`

***

### negRisk.get

`clob.negRisk.get`

Get negative risk flag

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.negRisk.get({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | No | Token ID (asset ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `neg_risk` | `boolean \| null` | No | Whether negative risk is enabled for this market |

***

### negRisk.getByToken

`clob.negRisk.getByToken`

Get negative risk flag by path parameter

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.negRisk.getByToken({ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | Yes | Token ID (asset ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `neg_risk` | `boolean \| null` | No | Whether negative risk is enabled for this market |

***

### notifications.list

`clob.notifications.list`

Get notifications

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.notifications.list({ signature_type: 0 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `signature_type` | `0 \| 1 \| 2 \| 3` | Yes | Signature type for address derivation: - 0: EOA - 1: POLY\_PROXY - 2: POLY\_GNOSIS\_SAFE - 3: POLY\_1271 (Deposit Wallet) |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   id?: number | null,
>   owner?: string | null,
>   type?: number | null,
>   payload?: {
>   } | null,
>   timestamp?: number | null
> }[]
> ```

***

### notifications.markRead

`clob.notifications.markRead`

Mark notifications as read

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.notifications.markRead({ ids: '1,2' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `ids` | `string` | Yes | Comma-separated list of notification IDs to mark as read |

**Output:** `string`

***

### orders.cancel

`clob.orders.cancel`

Cancel single order

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.orders.cancel({ orderID: '0xabababababababababababababababababababababababababababababababab' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orderID` | `string` | Yes | Order ID (order hash) to cancel |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `canceled` | `string[] \| null` | No | Array of order IDs that were successfully canceled |
| `not_canceled` | `Record<string, string> \| null` | No | Map of order IDs that could not be canceled with error messages |

***

### orders.cancelAll

`clob.orders.cancelAll`

Cancel all orders

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.orders.cancelAll({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `canceled` | `string[] \| null` | No | Array of order IDs that were successfully canceled |
| `not_canceled` | `Record<string, string> \| null` | No | Map of order IDs that could not be canceled with error messages |

***

### orders.cancelMany

`clob.orders.cancelMany`

Cancel multiple orders

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.orders.cancelMany({
	body: ['example'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `string[]` | Yes | The request body. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `canceled` | `string[] \| null` | No | Array of order IDs that were successfully canceled |
| `not_canceled` | `Record<string, string> \| null` | No | Map of order IDs that could not be canceled with error messages |

***

### orders.cancelMarket

`clob.orders.cancelMarket`

Cancel orders for a market

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.orders.cancelMarket({ market: '0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917', asset_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `market` | `string` | Yes | Market (condition ID) |
| `asset_id` | `string` | Yes | Asset ID (token ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `canceled` | `string[] \| null` | No | Array of order IDs that were successfully canceled |
| `not_canceled` | `Record<string, string> \| null` | No | Map of order IDs that could not be canceled with error messages |

***

### orders.cancelWallet

`clob.orders.cancelWallet`

Cancel wallet orders

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.orders.cancelWallet({
	body: {
		order_ids: ['0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917'],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `object` | Yes | Set exactly one field. The server deduplicates order\_ids. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   order_ids: string[]
> } | {
>   all: true
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `canceled` | `string[] \| null` | No | Array of order IDs that were successfully canceled |
| `not_canceled` | `Record<string, string> \| null` | No | Map of order IDs that could not be canceled with error messages |

***

### orders.create

`clob.orders.create`

Post a new order

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.orders.create({
	order: {
		maker: 'example',
		signer: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
		tokenId: 'example',
		makerAmount: 'example',
		takerAmount: 'example',
		side: 'BUY',
		expiration: 'example',
		timestamp: 'example',
		builder: 'example',
		signature: 'example',
		salt: 1,
		signatureType: 0,
	},
	owner: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `order` | `object` | Yes | Order payload submitted to the CLOB API. In CLOB V2, `expiration` remains in the POST /order wire body for GTD/order-expiry handling, but it is not part of the EIP-712 signed order struct. |
| `owner` | `string` | Yes | UUID of the API key owner |
| `orderType` | `GTC \| FOK \| GTD \| FAK` | No | Time in force |
| `deferExec` | `boolean` | No | Whether to defer execution |
| `postOnly` | `boolean` | No | Whether the order must rest on the book and not match immediately. Only supported for GTC and GTD orders. |

> [accordion] order full type
>
> ```ts theme={null}
> {
>   maker: string,
>   signer: string,
>   tokenId: string,
>   makerAmount: string,
>   takerAmount: string,
>   side: BUY | SELL,
>   expiration: string,
>   timestamp: string,
>   metadata?: string,
>   builder: string,
>   signature: string,
>   salt: number,
>   signatureType: 0 | 1 | 2 | 3
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | Whether the order was successfully processed |
| `orderID` | `string \| null` | No | Unique identifier for the order (order hash) |
| `status` | `string \| null` | No | Status of the order after processing |
| `makingAmount` | `string \| null` | No | Amount the maker is providing in fixed-math with 6 decimals |
| `takingAmount` | `string \| null` | No | Amount the taker is providing in fixed-math with 6 decimals |
| `transactionsHashes` | `string[] \| null` | No | Array of transaction hashes (present when status is 'matched') |
| `tradeIDs` | `string[] \| null` | No | Array of trade IDs (present when status is 'matched') |
| `errorMsg` | `string \| null` | No | Error message (empty on success) |

***

### orders.createMany

`clob.orders.createMany`

Post multiple orders

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.clob.orders.createMany({
	body: [{
		order: {
			maker: 'example',
			signer: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
			tokenId: 'example',
			makerAmount: 'example',
			takerAmount: 'example',
			side: 'BUY',
			expiration: 'example',
			timestamp: 'example',
			builder: 'example',
			signature: 'example',
			salt: 1,
			signatureType: 0,
		},
		owner: 'example',
	}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `object[]` | Yes | The request body. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   order: {
>     maker: string,
>     signer: string,
>     tokenId: string,
>     makerAmount: string,
>     takerAmount: string,
>     side: BUY | SELL,
>     expiration: string,
>     timestamp: string,
>     metadata?: string,
>     builder: string,
>     signature: string,
>     salt: number,
>     signatureType: 0 | 1 | 2 | 3
>   },
>   owner: string,
>   orderType?: GTC | FOK | GTD | FAK,
>   deferExec?: boolean,
>   postOnly?: boolean
> }[]
> ```

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   success?: boolean | null,
>   orderID?: string | null,
>   status?: string | null,
>   makingAmount?: string | null,
>   takingAmount?: string | null,
>   transactionsHashes?: string[] | null,
>   tradeIDs?: string[] | null,
>   errorMsg?: string | null
> }[]
> ```

***

### orders.get

`clob.orders.get`

Get single order by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.orders.get({ orderID: '0xabababababababababababababababababababababababababababababababab' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orderID` | `string` | Yes | Order ID (order hash) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Order ID (order hash) |
| `status` | `string \| null` | No | Order status. CANCELED\_MARKET\_RESOLVED cancels the unfilled remainder when the market resolves; it does not undo settled fills. |
| `owner` | `string \| null` | No | UUID of the order owner |
| `maker_address` | `string \| null` | No | Ethereum address of the maker |
| `market` | `string \| null` | No | Market (condition ID) |
| `asset_id` | `string \| null` | No | Asset ID (token ID) |
| `side` | `string \| null` | No | Order side |
| `original_size` | `string \| null` | No | Original order size in shares, as a decimal string. Already normalized; do not divide by 1e6. |
| `size_matched` | `string \| null` | No | Matched size in shares, as a decimal string. Retained after cancellation; this is not the current position balance. |
| `price` | `string \| null` | No | Order price |
| `outcome` | `string \| null` | No | Market outcome (YES/NO) |
| `expiration` | `string \| null` | No | Unix timestamp when the order expires |
| `order_type` | `string \| null` | No | Order type |
| `associate_trades` | `string[] \| null` | No | Deprecated and may be omitted. Use size\_matched for cumulative filled quantity, or GET /data/trades and match taker\_order\_id or maker\_orders\[].order\_id to the order ID for individual fills. Absence or an empty array does not mean the order has no fills. |
| `created_at` | `number \| null` | No | Unix timestamp when the order was created |

***

### orders.list

`clob.orders.list`

Get user orders

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.orders.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Order ID (hash) to filter by specific order |
| `market` | `string` | No | Market condition ID to filter orders. Required when asset\_id is supplied. |
| `asset_id` | `string` | No | Outcome identifier (CTF token ID or Polymarket V2 position ID) to filter orders. Also supply market. |
| `next_cursor` | `string` | No | Cursor for pagination (base64 encoded offset) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | Maximum number of results per page |
| `next_cursor` | `string \| null` | No | Cursor for pagination (base64 encoded offset). Empty if no more results. |
| `count` | `number \| null` | No | Number of orders in this response |
| `data` | `object[] \| null` | No | Array of open orders |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   status?: string | null,
>   owner?: string | null,
>   maker_address?: string | null,
>   market?: string | null,
>   asset_id?: string | null,
>   side?: string | null,
>   original_size?: string | null,
>   size_matched?: string | null,
>   price?: string | null,
>   outcome?: string | null,
>   expiration?: string | null,
>   order_type?: string | null,
>   associate_trades?: string[] | null,
>   created_at?: number | null
> }[] | null
> ```

***

### orders.listWalletOpen

`clob.orders.listWalletOpen`

Get wallet open orders

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.orders.listWalletOpen({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `market` | `string` | No | Exact-match filter on the condition ID |
| `asset_id` | `string` | No | Exact-match filter on the token ID |
| `session_keys` | `string[]` | No | Filter to orders placed by these signer addresses (maximum 50). Accepts comma-separated or repeated values. Addresses outside the wallet match nothing. |
| `cursor` | `string` | No | The next\_cursor returned by the previous page |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |
| `next_cursor` | `string \| null` | No | Pass as cursor on the next request. Keep paging until empty, even if data is empty. |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   status?: string | null,
>   owner?: string | null,
>   signer_address?: string | null,
>   maker_address?: string | null,
>   market?: string | null,
>   asset_id?: string | null,
>   side?: string | null,
>   original_size?: string | null,
>   size_matched?: string | null,
>   price?: string | null,
>   outcome?: string | null,
>   expiration?: string | null,
>   order_type?: string | null,
>   created_at?: number | null
> }[] | null
> ```

***

### orderScoring.get

`clob.orderScoring.get`

Get order scoring status

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.orderScoring.get({ order_id: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `order_id` | `string` | Yes | The order ID (order hash) to check scoring status for |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `scoring` | `boolean \| null` | No | Whether the order is currently scoring for maker rewards |

***

### orderScoring.list

`clob.orderScoring.list`

Get scoring status for multiple orders

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.orderScoring.list({
	order_ids: ['example'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `order_ids` | `string[]` | Yes | Array of order IDs (order hashes) to check scoring status for |

**Output:** `Record<string, boolean>`

***

### orderScoring.listByBody

`clob.orderScoring.listByBody`

Get scoring status for multiple orders (POST)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.orderScoring.listByBody({
	body: ['example'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `string[]` | Yes | Array of order IDs (order hashes) to check scoring status for |

**Output:** `Record<string, boolean>`

***

### prices.get

`clob.prices.get`

Get market price

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.prices.get({ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455', side: 'BUY' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | Yes | Token ID (asset ID) |
| `side` | `BUY \| SELL` | Yes | Order side |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `price` | `number \| string \| null` | No | Market price as a decimal (the CLOB sends a string). |

***

### prices.list

`clob.prices.list`

Get market prices (query parameters)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.prices.list({ token_ids: '1,2', sides: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_ids` | `string` | Yes | Comma-separated list of token IDs |
| `sides` | `string` | Yes | Comma-separated list of sides (BUY or SELL) corresponding to token IDs |

**Output:** `Record<string, Record<string, number \| string>>`

***

### prices.listByBody

`clob.prices.listByBody`

Get market prices (request body)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.prices.listByBody({
	body: [{ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `object[]` | Yes | The request body. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   token_id: string,
>   side?: BUY | SELL
> }[]
> ```

**Output:** `Record<string, Record<string, number \| string>>`

***

### pricesHistory.batch

`clob.pricesHistory.batch`

Get batch prices history

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.pricesHistory.batch({
	markets: ['0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `markets` | `string[]` | Yes | List of market asset ids to query. Maximum 20. |
| `start_ts` | `number` | No | Filter by items after this unix timestamp (seconds). |
| `end_ts` | `number` | No | Filter by items before this unix timestamp (seconds). |
| `interval` | `max \| all \| 1m \| 1w \| 1d \| 6h \| 1h` | No | Time interval for data aggregation. |
| `fidelity` | `number` | No | Accuracy of the data expressed in minutes. Default is 1 minute. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `history` | `object \| null` | No | Map of market asset id to array of price data points. |

> [accordion] history full type
>
> ```ts theme={null}
> Record<string, {
>   t?: number | null,
>   p?: number | null
> }[]> | null
> ```

***

### pricesHistory.get

`clob.pricesHistory.get`

Get prices history

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.pricesHistory.get({ market: '0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `market` | `string` | Yes | The market (asset id) to query. |
| `startTs` | `number` | No | Filter by items after this unix timestamp. |
| `endTs` | `number` | No | Filter by items before this unix timestamp. |
| `interval` | `max \| all \| 1m \| 1w \| 1d \| 6h \| 1h` | No | Time interval for data aggregation. |
| `fidelity` | `number` | No | Accuracy of the data expressed in minutes. Default is 1 minute. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `history` | `object[] \| null` | No | — |

> [accordion] history full type
>
> ```ts theme={null}
> {
>   t?: number | null,
>   p?: number | null
> }[] | null
> ```

***

### rateLimitTier

`clob.rateLimitTier`

Get rate limit tier

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.rateLimitTier({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `tier` | `string \| null` | No | Tier currently applied to your signer |
| `usdc_volume` | `string \| null` | No | Trailing-window volume, in USDC, of the maker wallet that set your tier. Omitted below the lowest paid tier |
| `next_tier_threshold` | `number \| null` | No | 30-day volume needed for the next tier. Omitted at the top tier and for manually assigned tiers |
| `period` | `number \| null` | No | Length of the volume window, in days |
| `tier_details` | `object \| null` | No | Rate, burst and negative-balance settings for the tier |

> [accordion] tier\_details full type
>
> ```ts theme={null}
> {
>   name?: string | null,
>   volume_threshold?: number | null,
>   cancel_rate_per_sec?: number | null,
>   order_rate_per_sec?: number | null,
>   order_burst?: number | null,
>   cancel_burst?: number | null,
>   allow_negative?: boolean | null
> } | null
> ```

***

### rebates.current

`clob.rebates.current`

Get current rebated fees for a maker

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.rebates.current({ date: '2026-11-01', maker_address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `date` | `string` | Yes | Date in YYYY-MM-DD format |
| `maker_address` | `string` | Yes | Ethereum address of the maker |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   date?: string | null,
>   condition_id?: string | null,
>   asset_address?: string | null,
>   maker_address?: string | null,
>   rebated_fees_usdc?: string | null
> }[] | null
> ```

***

### rewards.current

`clob.rewards.current`

Get current active rewards configurations

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.rewards.current({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `sponsored` | `boolean` | No | If true, returns sponsored reward configurations instead of standard ones |
| `next_cursor` | `string` | No | Pagination cursor from previous response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | Maximum number of items per page |
| `count` | `number \| null` | No | Number of items in the current response |
| `next_cursor` | `string \| null` | No | Cursor for the next page. "LTE=" indicates the last page. |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   condition_id?: string | null,
>   rewards_max_spread?: number | null,
>   rewards_min_size?: number | null,
>   rewards_config?: {
>     id?: number | null,
>     asset_address?: string | null,
>     start_date?: string | null,
>     end_date?: string | null,
>     rate_per_day?: number | null,
>     total_rewards?: number | null
>   }[] | null,
>   sponsored_daily_rate?: number | null,
>   sponsors_count?: number | null,
>   native_daily_rate?: number | null,
>   total_daily_rate?: number | null
> }[] | null
> ```

***

### rewards.market

`clob.rewards.market`

Get raw rewards for a specific market

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.rewards.market({ condition_id: '0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `condition_id` | `string` | Yes | The condition ID of the market |
| `sponsored` | `boolean` | No | If true, folds sponsored daily rates into each config's rate\_per\_day |
| `next_cursor` | `string` | No | Pagination cursor from previous response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | Maximum number of items per page |
| `count` | `number \| null` | No | Number of items in the current response |
| `next_cursor` | `string \| null` | No | Cursor for the next page. "LTE=" indicates the last page. |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   condition_id?: string | null,
>   question?: string | null,
>   market_slug?: string | null,
>   event_slug?: string | null,
>   image?: string | null,
>   rewards_max_spread?: number | null,
>   rewards_min_size?: number | null,
>   market_competitiveness?: number | null,
>   tokens?: {
>     token_id?: string | null,
>     outcome?: string | null,
>     price?: number | null
>   }[] | null,
>   rewards_config?: {
>     id?: number | null,
>     asset_address?: string | null,
>     start_date?: string | null,
>     end_date?: string | null,
>     rate_per_day?: number | null,
>     total_rewards?: number | null,
>     remaining_reward_amount?: number | null,
>     total_days?: number | null
>   }[] | null
> }[] | null
> ```

***

### rewards.markets

`clob.rewards.markets`

Get multiple markets with rewards

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.rewards.markets({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `q` | `string` | No | Text search on market question/description |
| `tag_slug` | `string` | No | Filter by tag slug. Can be repeated for OR logic (e.g., ?tag\_slug=sports\&tag\_slug=politics) |
| `event_id` | `string` | No | Filter by event ID. Can be repeated for multiple events (e.g., ?event\_id=100\&event\_id=200) |
| `event_title` | `string` | No | Search event titles using case-insensitive pattern matching |
| `order_by` | `market_id \| created_at \| volume_24hr \| spread \| competitiveness \| max_spread \| min_size \| question \| one_day_price_change \| rate_per_day \| price \| end_date \| start_date \| reward_end_date` | No | Field to sort results by |
| `position` | `ASC \| DESC` | No | Sort direction |
| `min_volume_24hr` | `number` | No | Minimum 24-hour volume filter |
| `max_volume_24hr` | `number` | No | Maximum 24-hour volume filter |
| `min_spread` | `number` | No | Minimum spread filter |
| `max_spread` | `number` | No | Maximum spread filter |
| `min_price` | `number` | No | Minimum first token price filter |
| `max_price` | `number` | No | Maximum first token price filter |
| `next_cursor` | `string` | No | Pagination cursor from previous response |
| `page_size` | `number` | No | Number of items per page (max 500, values above are capped) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | Maximum number of items per page |
| `count` | `number \| null` | No | Number of items in the current response |
| `next_cursor` | `string \| null` | No | Cursor for the next page. "LTE=" indicates the last page. |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   condition_id?: string | null,
>   event_id?: string | null,
>   event_slug?: string | null,
>   created_at?: string | null,
>   group_item_title?: string | null,
>   image?: string | null,
>   market_competitiveness?: number | null,
>   market_id?: string | null,
>   market_slug?: string | null,
>   one_day_price_change?: number | null,
>   question?: string | null,
>   rewards_max_spread?: number | null,
>   rewards_min_size?: number | null,
>   spread?: number | null,
>   end_date?: string | null,
>   tokens?: {
>     token_id?: string | null,
>     outcome?: string | null,
>     price?: number | null
>   }[] | null,
>   volume_24hr?: number | null,
>   rewards_config?: {
>     id?: number | null,
>     asset_address?: string | null,
>     start_date?: string | null,
>     end_date?: string | null,
>     rate_per_day?: number | null,
>     total_rewards?: number | null,
>     remaining_reward_amount?: number | null,
>     total_days?: number | null
>   }[] | null
> }[] | null
> ```

***

### rewards.userEarnings

`clob.rewards.userEarnings`

Get earnings for user by date

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.rewards.userEarnings({ date: '2026-11-01' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `date` | `string` | Yes | Date in YYYY-MM-DD format |
| `signature_type` | `0 \| 1 \| 2 \| 3` | No | Signature type for address derivation (required for API KEY auth): - 0: EOA - 1: POLY\_PROXY - 2: POLY\_GNOSIS\_SAFE - 3: POLY\_1271 (Deposit Wallet) |
| `maker_address` | `string` | No | Maker address to query earnings for |
| `sponsored` | `boolean` | No | If true, returns sponsored-only earnings |
| `next_cursor` | `string` | No | Pagination cursor from previous response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | Maximum number of items per page |
| `count` | `number \| null` | No | Number of items in the current response |
| `next_cursor` | `string \| null` | No | Cursor for the next page. "LTE=" indicates the last page. |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   date?: string | null,
>   condition_id?: string | null,
>   asset_address?: string | null,
>   maker_address?: string | null,
>   earnings?: number | null,
>   asset_rate?: number | null
> }[] | null
> ```

***

### rewards.userMarkets

`clob.rewards.userMarkets`

Get user earnings and markets configuration

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.rewards.userMarkets({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `date` | `string` | No | Date in YYYY-MM-DD format. Defaults to current date if not provided. |
| `signature_type` | `0 \| 1 \| 2 \| 3` | No | Signature type for address derivation (required for API KEY auth): - 0: EOA - 1: POLY\_PROXY - 2: POLY\_GNOSIS\_SAFE - 3: POLY\_1271 (Deposit Wallet) |
| `maker_address` | `string` | No | Maker address to query data for |
| `sponsored` | `boolean` | No | If true, returns sponsored reward earnings |
| `next_cursor` | `string` | No | Pagination cursor from previous response |
| `page_size` | `number` | No | Number of items per page (max 500, values above are capped) |
| `q` | `string` | No | Search query to filter markets by question/description |
| `tag_slug` | `string` | No | Filter by tag slug (can be repeated for OR logic) |
| `favorite_markets` | `boolean` | No | If true, only show markets favorited by the user (requires auth) |
| `no_competition` | `boolean` | No | Filter for markets with no competition |
| `only_mergeable` | `boolean` | No | Filter for only mergeable markets |
| `only_open_orders` | `boolean` | No | Filter for markets where user has open orders |
| `only_open_positions` | `boolean` | No | Filter for markets where user has open positions |
| `order_by` | `max_spread \| min_size \| end_date \| earning_percentage \| rate_per_day \| earnings \| spread \| competitiveness \| question \| price \| market \| volume_24hr` | No | Field to sort by |
| `position` | `ASC \| DESC` | No | Sort direction |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | Maximum number of items per page |
| `count` | `number \| null` | No | Number of items in the current response |
| `total_count` | `number \| null` | No | Total number of items across all pages |
| `next_cursor` | `string \| null` | No | Cursor for the next page. "LTE=" indicates the last page. |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   condition_id?: string | null,
>   market_id?: string | null,
>   event_id?: string | null,
>   question?: string | null,
>   market_slug?: string | null,
>   event_slug?: string | null,
>   image?: string | null,
>   rewards_max_spread?: number | null,
>   rewards_min_size?: number | null,
>   volume_24hr?: number | null,
>   spread?: number | null,
>   market_competitiveness?: number | null,
>   tokens?: {
>     token_id?: string | null,
>     outcome?: string | null,
>     price?: number | null
>   }[] | null,
>   rewards_config?: {
>     id?: number | null,
>     asset_address?: string | null,
>     start_date?: string | null,
>     end_date?: string | null,
>     rate_per_day?: number | null,
>     total_rewards?: number | null
>   }[] | null,
>   maker_address?: string | null,
>   earning_percentage?: number | null,
>   earnings?: {
>     asset_address?: string | null,
>     earnings?: number | null,
>     asset_rate?: number | null
>   }[] | null
> }[] | null
> ```

***

### rewards.userPercentages

`clob.rewards.userPercentages`

Get reward percentages for user

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.rewards.userPercentages({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `signature_type` | `0 \| 1 \| 2 \| 3` | No | Signature type for address derivation (required for API KEY auth): - 0: EOA - 1: POLY\_PROXY - 2: POLY\_GNOSIS\_SAFE - 3: POLY\_1271 (Deposit Wallet) |
| `maker_address` | `string` | No | Maker address to query percentages for |

**Output:** `Record<string, number>`

***

### rewards.userTotalEarnings

`clob.rewards.userTotalEarnings`

Get total earnings for user by date

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.rewards.userTotalEarnings({ date: '2026-11-01' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `date` | `string` | Yes | Date in YYYY-MM-DD format |
| `signature_type` | `0 \| 1 \| 2 \| 3` | No | Signature type for address derivation (required for API KEY auth): - 0: EOA - 1: POLY\_PROXY - 2: POLY\_GNOSIS\_SAFE - 3: POLY\_1271 (Deposit Wallet) |
| `maker_address` | `string` | No | Maker address to query earnings for |
| `sponsored` | `boolean` | No | If true, aggregates both native and sponsored earnings |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   date?: string | null,
>   asset_address?: string | null,
>   maker_address?: string | null,
>   earnings?: number | null,
>   native_earnings?: number | null,
>   sponsored_earnings?: number | null,
>   asset_rate?: number | null
> }[]
> ```

***

### spreads.get

`clob.spreads.get`

Get spread

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.spreads.get({ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | Yes | Token ID (asset ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `spread` | `string \| null` | No | Spread as a string |

***

### spreads.list

`clob.spreads.list`

Get spreads

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.spreads.list({
	body: [{ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `object[]` | Yes | The request body. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   token_id: string,
>   side?: BUY | SELL
> }[]
> ```

**Output:** `Record<string, string>`

***

### tickSize.get

`clob.tickSize.get`

Get tick size

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.tickSize.get({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | No | Token ID (asset ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `minimum_tick_size` | `number \| null` | No | Minimum tick size (price increment) |

***

### tickSize.getByToken

`clob.tickSize.getByToken`

Get tick size by path parameter

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.tickSize.getByToken({ token_id: '21742633143463906290569050155826241533067272736897614950488156847949938836455' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string` | Yes | Token ID (asset ID) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `minimum_tick_size` | `number \| null` | No | Minimum tick size (price increment) |

***

### time

`clob.time`

Get server time

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.time({});
```

**Input:** *empty object*

**Output:** `number \| string`

***

### trades.list

`clob.trades.list`

Get trades

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.trades.list({ maker_address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Trade ID to filter by specific trade |
| `maker_address` | `string` | Yes | Maker address to filter trades |
| `market` | `string` | No | Market (condition ID) to filter trades |
| `asset_id` | `string` | No | Asset ID (token ID) to filter trades |
| `before` | `string` | No | Filter trades before this Unix timestamp |
| `after` | `string` | No | Filter trades after this Unix timestamp |
| `next_cursor` | `string` | No | Cursor for pagination (base64 encoded offset) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | Maximum number of items per page |
| `next_cursor` | `string \| null` | No | Cursor for next page (base64 encoded offset). "LTE=" indicates no more pages |
| `count` | `number \| null` | No | Number of items in current response |
| `data` | `object[] \| null` | No | Array of trades |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   taker_order_id?: string | null,
>   market?: string | null,
>   asset_id?: string | null,
>   side?: string | null,
>   size?: string | null,
>   fee_rate_bps?: string | null,
>   price?: string | null,
>   status?: string | null,
>   match_time?: string | null,
>   match_time_nano?: string | null,
>   last_update?: string | null,
>   outcome?: string | null,
>   bucket_index?: number | null,
>   owner?: string | null,
>   maker_address?: string | null,
>   transaction_hash?: string | null,
>   err_msg?: string | null | null,
>   maker_orders?: {
>     order_id?: string | null,
>     owner?: string | null,
>     maker_address?: string | null,
>     matched_amount?: string | null,
>     price?: string | null,
>     fee_rate_bps?: string | null,
>     asset_id?: string | null,
>     outcome?: string | null,
>     side?: string | null
>   }[] | null,
>   trader_side?: string | null
> }[] | null
> ```

***

### trades.listBuilder

`clob.trades.listBuilder`

Get builder trades

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.clob.trades.listBuilder({ builder_code: '0x0000000000000000000000000000000000000000000000000000000000000000' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `builder_code` | `string` | Yes | Builder code to fetch attributed trades for |
| `id` | `string` | No | Trade ID to filter by specific trade |
| `market` | `string` | No | Market (condition ID) to filter trades |
| `asset_id` | `string` | No | Asset ID (token ID) to filter trades |
| `before` | `string` | No | Filter trades before this Unix timestamp |
| `after` | `string` | No | Filter trades after this Unix timestamp |
| `next_cursor` | `string` | No | Cursor for pagination (base64 encoded offset) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number \| null` | No | Maximum number of items per page |
| `next_cursor` | `string \| null` | No | Cursor for next page (base64 encoded offset). "LTE=" indicates no more pages |
| `count` | `number \| null` | No | Number of items in current response |
| `data` | `object[] \| null` | No | Array of builder trades |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   tradeType?: string | null,
>   takerOrderHash?: string | null,
>   builder?: string | null,
>   market?: string | null,
>   assetId?: string | null,
>   side?: string | null,
>   size?: string | null,
>   sizeUsdc?: string | null,
>   price?: string | null,
>   status?: string | null,
>   outcome?: string | null,
>   outcomeIndex?: number | null,
>   owner?: string | null,
>   maker?: string | null,
>   transactionHash?: string | null,
>   matchTime?: string | null,
>   bucketIndex?: number | null,
>   fee?: string | null,
>   feeUsdc?: string | null,
>   err_msg?: string | null | null,
>   createdAt?: string | null,
>   updatedAt?: string | null
> }[] | null
> ```

***

## Combos

### confirmations.submit

`combos.confirmations.submit`

Confirm or decline last look

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.combos.confirmations.submit({
	rfq_id: 'example',
	quote_id: 'example',
	signer_address: 'example',
	maker_address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
	signature_type: 0,
	decision: 'CONFIRM',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `rfq_id` | `string` | Yes | — |
| `quote_id` | `string` | Yes | — |
| `signer_address` | `string` | Yes | — |
| `maker_address` | `string` | Yes | — |
| `signature_type` | `0 \| 1 \| 2 \| 3` | Yes | CLOB signature type: - `0` EOA - `1` POLY\_PROXY - `2` GNOSIS\_SAFE - `3` POLY\_1271 |
| `decision` | `CONFIRM \| DECLINE` | Yes | Confirmation decision. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `snapshot` | `object \| null` | No | Point-in-time view of an RFQ and its competition/confirmation windows. |
| `execution` | `object \| null` | No | Handoff produced when a confirmed RFQ is ready for onchain execution. |

> [accordion] snapshot full type
>
> ```ts theme={null}
> {
>   request?: {
>     rfq_id?: string | null,
>     auth_address?: string | null,
>     signer_address?: string | null,
>     maker_address?: string | null,
>     signature_type?: number | null,
>     requestor_public_id?: string | null,
>     leg_position_ids?: string[] | null,
>     condition_id?: string | null,
>     yes_position_id?: string | null,
>     no_position_id?: string | null,
>     direction?: string | null,
>     side?: string | null,
>     requested_size?: {
>       unit?: string | null,
>       value_e6?: string | null
>     } | null,
>     created_at?: number | null
>   } | null,
>   status?: string | null,
>   competition_started_at?: number | null,
>   competition_ends_at?: number | null,
>   confirmation_started_at?: number | null,
>   confirmation_ends_at?: number | null,
>   quote_id?: string | null,
>   bundle?: {
>     requested_shares_e6?: string | null,
>     requested_notional_e6?: string | null,
>     blended_price_e6?: string | null,
>     allocations?: {
>       maker_quote_id?: string | null,
>       signer_address?: string | null,
>       maker_address?: string | null,
>       size_e6?: string | null,
>       price_e6?: string | null,
>       received_at?: number | null
>     }[] | null
>   } | null,
>   maker_confirmations?: {
>     quote_id?: string | null,
>     signer_address?: string | null,
>     maker_address?: string | null,
>     decision?: string | null,
>     reason?: string | null,
>     responded_at?: number | null
>   }[] | null
> } | null
> ```

> [accordion] execution full type
>
> ```ts theme={null}
> {
>   execution_id?: string | null,
>   request?: {
>     rfq_id?: string | null,
>     auth_address?: string | null,
>     signer_address?: string | null,
>     maker_address?: string | null,
>     signature_type?: number | null,
>     requestor_public_id?: string | null,
>     leg_position_ids?: string[] | null,
>     condition_id?: string | null,
>     yes_position_id?: string | null,
>     no_position_id?: string | null,
>     direction?: string | null,
>     side?: string | null,
>     requested_size?: {
>       unit?: string | null,
>       value_e6?: string | null
>     } | null,
>     created_at?: number | null
>   } | null,
>   quote_id?: string | null,
>   bundle?: {
>     requested_shares_e6?: string | null,
>     requested_notional_e6?: string | null,
>     blended_price_e6?: string | null,
>     allocations?: {
>       maker_quote_id?: string | null,
>       signer_address?: string | null,
>       maker_address?: string | null,
>       size_e6?: string | null,
>       price_e6?: string | null,
>       received_at?: number | null
>     }[] | null
>   } | null,
>   requester_acceptance?: {
>     rfq_id?: string | null,
>     quote_id?: string | null,
>     auth_address?: string | null,
>     signer_address?: string | null,
>     maker_address?: string | null,
>     signature_type?: number | null,
>     signed_order?: {
>       salt?: string | null,
>       maker?: string | null,
>       signer?: string | null,
>       tokenId?: string | null,
>       makerAmount?: string | null,
>       takerAmount?: string | null,
>       side?: number | null,
>       signatureType?: number | null,
>       timestamp?: string | null,
>       metadata?: string | null,
>       builder?: string | null,
>       signature?: string | null
>     } | null,
>     accepted_at?: number | null
>   } | null,
>   maker_quotes?: {
>     quote_id?: string | null,
>     rfq_id?: string | null,
>     auth_address?: string | null,
>     signer_address?: string | null,
>     maker_address?: string | null,
>     signature_type?: number | null,
>     price_e6?: string | null,
>     size_e6?: string | null,
>     valid_until?: number | null,
>     signed_order?: {
>       salt?: string | null,
>       maker?: string | null,
>       signer?: string | null,
>       tokenId?: string | null,
>       makerAmount?: string | null,
>       takerAmount?: string | null,
>       side?: number | null,
>       signatureType?: number | null,
>       timestamp?: string | null,
>       metadata?: string | null,
>       builder?: string | null,
>       signature?: string | null
>     } | null,
>     received_at?: number | null
>   }[] | null,
>   reservations?: {
>     action_id?: string | null,
>     user?: string | null,
>     wallet_nonce?: number | null,
>     deltas?: {
>       asset?: string | null,
>       asset_id?: string | null,
>       amount?: string | null
>     }[] | null
>   }[] | null,
>   ready_at?: number | null
> } | null
> ```

***

### markets.list

`combos.markets.list`

Get combo markets

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.combos.markets.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Number of markets to return. Defaults to `50`; maximum `100`. |
| `cursor` | `string` | No | Opaque cursor returned as `next_cursor` by the previous response. |
| `exclude` | `string` | No | Comma-separated condition IDs to omit, such as markets already shown. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `markets` | `object[] \| null` | No | — |
| `next_cursor` | `string \| null \| null` | No | Cursor for the next page, or `null` on the final page. |

> [accordion] markets full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   condition_id?: string | null,
>   position_ids?: string[] | null,
>   slug?: string | null,
>   title?: string | null,
>   outcomes?: string[] | null,
>   outcome_prices?: string[] | null,
>   image?: string | null,
>   volume?: number | null,
>   tags?: string[] | null
> }[] | null
> ```

***

### quotes.cancel

`combos.quotes.cancel`

Cancel a quote

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.combos.quotes.cancel({
	rfq_id: 'example',
	quote_id: 'example',
	signer_address: 'example',
	maker_address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
	signature_type: 0,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `rfq_id` | `string` | Yes | — |
| `quote_id` | `string` | Yes | — |
| `signer_address` | `string` | Yes | Must match the authenticated `signer_address`. |
| `maker_address` | `string` | Yes | Must match the authenticated `maker_address`. |
| `signature_type` | `0 \| 1 \| 2 \| 3` | Yes | CLOB signature type: - `0` EOA - `1` POLY\_PROXY - `2` GNOSIS\_SAFE - `3` POLY\_1271 |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `request` | `object \| null` | No | The RFQ request as stored by the engine. |
| `status` | `string \| null` | No | Lifecycle status of the RFQ |
| `competition_started_at` | `number \| null` | No | Unix milliseconds. |
| `competition_ends_at` | `number \| null` | No | Unix milliseconds. |
| `confirmation_started_at` | `number \| null` | No | Unix milliseconds. |
| `confirmation_ends_at` | `number \| null` | No | Unix milliseconds. |
| `quote_id` | `string \| null` | No | — |
| `bundle` | `object \| null` | No | The selected executable bundle of maker allocations. |
| `maker_confirmations` | `object[] \| null` | No | — |

> [accordion] request full type
>
> ```ts theme={null}
> {
>   rfq_id?: string | null,
>   auth_address?: string | null,
>   signer_address?: string | null,
>   maker_address?: string | null,
>   signature_type?: number | null,
>   requestor_public_id?: string | null,
>   leg_position_ids?: string[] | null,
>   condition_id?: string | null,
>   yes_position_id?: string | null,
>   no_position_id?: string | null,
>   direction?: string | null,
>   side?: string | null,
>   requested_size?: {
>     unit?: string | null,
>     value_e6?: string | null
>   } | null,
>   created_at?: number | null
> } | null
> ```

> [accordion] bundle full type
>
> ```ts theme={null}
> {
>   requested_shares_e6?: string | null,
>   requested_notional_e6?: string | null,
>   blended_price_e6?: string | null,
>   allocations?: {
>     maker_quote_id?: string | null,
>     signer_address?: string | null,
>     maker_address?: string | null,
>     size_e6?: string | null,
>     price_e6?: string | null,
>     received_at?: number | null
>   }[] | null
> } | null
> ```

> [accordion] maker\_confirmations full type
>
> ```ts theme={null}
> {
>   quote_id?: string | null,
>   signer_address?: string | null,
>   maker_address?: string | null,
>   decision?: string | null,
>   reason?: string | null,
>   responded_at?: number | null
> }[] | null
> ```

***

### quotes.submit

`combos.quotes.submit`

Submit a quote

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.combos.quotes.submit({
	quote_id: 'example',
	rfq_id: 'example',
	signer_address: 'example',
	maker_address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
	signature_type: 0,
	price_e6: 'example',
	size_e6: 'example',
	signed_order: {
		salt: 'example',
		maker: 'example',
		signer: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
		tokenId: 'example',
		makerAmount: 'example',
		takerAmount: 'example',
		side: 0,
		signatureType: 0,
		timestamp: 'example',
		signature: 'example',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `quote_id` | `string` | Yes | Maker-generated quote ID (required for REST submissions). |
| `rfq_id` | `string` | Yes | RFQ ID from the `RFQ_REQUEST`. |
| `signer_address` | `string` | Yes | — |
| `maker_address` | `string` | Yes | — |
| `signature_type` | `0 \| 1 \| 2 \| 3` | Yes | CLOB signature type: - `0` EOA - `1` POLY\_PROXY - `2` GNOSIS\_SAFE - `3` POLY\_1271 |
| `price_e6` | `string` | Yes | Quote price in six-decimal fixed-point units (must be positive). |
| `size_e6` | `string` | Yes | Fillable share count in six-decimal fixed-point units (must be positive). Note this differs from the request's size field, which may be notional or shares. |
| `valid_until` | `number` | No | Optional quote expiry in Unix milliseconds. |
| `signed_order` | `object` | Yes | Signed Exchange v3 order. Combinatorial RFQ trades settle through Exchange v3. |

> [accordion] signed\_order full type
>
> ```ts theme={null}
> {
>   salt: string,
>   maker: string,
>   signer: string,
>   tokenId: string,
>   makerAmount: string,
>   takerAmount: string,
>   side: 0 | 1,
>   signatureType: 0 | 1 | 2 | 3,
>   timestamp: string,
>   metadata?: string,
>   builder?: string,
>   signature: string
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `request` | `object \| null` | No | The RFQ request as stored by the engine. |
| `status` | `string \| null` | No | Lifecycle status of the RFQ |
| `competition_started_at` | `number \| null` | No | Unix milliseconds. |
| `competition_ends_at` | `number \| null` | No | Unix milliseconds. |
| `confirmation_started_at` | `number \| null` | No | Unix milliseconds. |
| `confirmation_ends_at` | `number \| null` | No | Unix milliseconds. |
| `quote_id` | `string \| null` | No | — |
| `bundle` | `object \| null` | No | The selected executable bundle of maker allocations. |
| `maker_confirmations` | `object[] \| null` | No | — |

> [accordion] request full type
>
> ```ts theme={null}
> {
>   rfq_id?: string | null,
>   auth_address?: string | null,
>   signer_address?: string | null,
>   maker_address?: string | null,
>   signature_type?: number | null,
>   requestor_public_id?: string | null,
>   leg_position_ids?: string[] | null,
>   condition_id?: string | null,
>   yes_position_id?: string | null,
>   no_position_id?: string | null,
>   direction?: string | null,
>   side?: string | null,
>   requested_size?: {
>     unit?: string | null,
>     value_e6?: string | null
>   } | null,
>   created_at?: number | null
> } | null
> ```

> [accordion] bundle full type
>
> ```ts theme={null}
> {
>   requested_shares_e6?: string | null,
>   requested_notional_e6?: string | null,
>   blended_price_e6?: string | null,
>   allocations?: {
>     maker_quote_id?: string | null,
>     signer_address?: string | null,
>     maker_address?: string | null,
>     size_e6?: string | null,
>     price_e6?: string | null,
>     received_at?: number | null
>   }[] | null
> } | null
> ```

> [accordion] maker\_confirmations full type
>
> ```ts theme={null}
> {
>   quote_id?: string | null,
>   signer_address?: string | null,
>   maker_address?: string | null,
>   decision?: string | null,
>   reason?: string | null,
>   responded_at?: number | null
> }[] | null
> ```

***

## Data

### activity.combos

`data.activity.combos`

List combo activity

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.activity.combos({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | No | Required; the feed is user-anchored. |
| `limit` | `number \| null` | No | First-page size. Ignored when `cursor` is supplied. |
| `cursor` | `string \| null` | No | Opaque pagination cursor from a prior response's `next_cursor`. |
| `condition` | `string \| null` | No | Combo condition id(s), comma-separated (at most 20 distinct values). `condition_id` / `conditionId` are accepted aliases. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | The page's rows. |
| `pagination` | `object \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   amount_usdc?: number | null | null,
>   block_number?: number | null,
>   combo_condition_id?: string | null,
>   combo_position_id?: string | null,
>   id?: string | null,
>   legs?: {
>     leg_condition_id?: string | null,
>     leg_current_price?: number | null,
>     leg_index?: number | null,
>     leg_outcome_index?: number | null,
>     leg_outcome_label?: string | null,
>     leg_position_id?: string | null,
>     leg_resolved_at?: string | null | null,
>     leg_status?: string | null,
>     market?: {
>       category?: string | null,
>       end_date?: string | null,
>       event?: {
>         event_id?: string | null,
>         event_image?: string | null,
>         event_slug?: string | null,
>         event_title?: string | null
>       } | null,
>       group_item_title?: string | null,
>       icon_url?: string | null,
>       image_url?: string | null,
>       line?: number | null | null,
>       market_id?: string | null,
>       outcome?: string | null,
>       outcomes?: string[] | null,
>       question?: string | null,
>       slug?: string | null,
>       sports_market_type?: string | null,
>       subcategory?: string | null,
>       tags?: string[] | null,
>       title?: string | null
>     } | null
>   }[] | null,
>   payout_usdc?: number | null | null,
>   proxy_wallet?: string | null,
>   timestamp?: number | null,
>   transaction_hash?: string | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   has_more?: boolean | null,
>   limit?: number | null,
>   next_cursor?: string | null | null,
>   offset?: number | null
> } | null
> ```

***

### activity.list

`data.activity.list`

List account activity

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.activity.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | No | Required; the feed is user-anchored. |
| `limit` | `number \| null` | No | Page size; default 100, max 1000, past-cap rejected. |
| `cursor` | `string \| null` | No | Opaque cursor from a prior response's `next_cursor`; binds the sort direction it was minted under. |
| `type` | `string \| null` | No | Activity type(s), comma-separated. Accepted values: `TRADE`, `SPLIT`, `MERGE`, `REDEEM` (automatic redemptions included), `CONVERSION`, `MIGRATION`, `REWARD`, `YIELD`, `MAKER_REBATE`, `TAKER_REBATE`, `REFERRAL_REWARD`, `DEPOSIT`, `WITHDRAWAL`, `DIRECTIONAL_SPLIT`, `DIRECTIONAL_MERGE`, `THRESHOLD_COMPOSE`, `THRESHOLD_DECOMPOSE`, `TIP`. Any other value is rejected with `400`. Omitted, the feed returns every type except `TIP`. `DEPOSIT` and `WITHDRAWAL` rows are returned only with `exclude_deposits_withdrawals=false`. Under its default (`true`) they are dropped even when named here, so `type=DEPOSIT` or `type=WITHDRAWAL` alone returns an empty page. `DIRECTIONAL_SPLIT`, `DIRECTIONAL_MERGE`, `THRESHOLD_COMPOSE` and `THRESHOLD_DECOMPOSE` are operations on range events, whose outcomes are value buckets and whose lines are ABOVE / BELOW positions over those buckets. A directional split turns collateral plus the buckets between two lines into ABOVE the lower line and BELOW the higher one; a directional merge reverses it. Both are rows of the whole event, so a `condition` filter never returns them. A threshold compose turns buckets into one line position and a threshold decompose turns it back; these rows carry the line's market and side. Split, merge, redeem and conversion on a range event keep `SPLIT`, `MERGE`, `REDEEM` and `CONVERSION`. `TIP` is **opt-in**: it is never in the default set, so it is only returned when you name it here. A tip is a user↔user pUSD transfer that is not a trade-settlement leg; `size` is the amount and `side` carries the direction (`IN` received / `OUT` sent). |
| `condition` | `string \| null` | No | Condition id(s), comma-separated (at most 20 distinct values). `condition_id` / `conditionId` are accepted aliases. |
| `event_id` | `string \| null` | No | Gamma event id(s), comma-separated (at most 20 distinct values); resolves to the events' markets. Mutually exclusive with `condition`. |
| `side` | `string \| null` | No | BUY or SELL. |
| `start` | `number \| null` | No | Window start on `block_timestamp`, epoch seconds (inclusive). Omitted or `0` floors to three years back; pass `start=1` for full history. |
| `end` | `number \| null` | No | Window end, epoch seconds (inclusive); omitted or `0` means now plus one day. |
| `sort_by` | `string \| null` | No | Only `TIMESTAMP` is supported (v2 pages by keyset). |
| `sort_direction` | `string \| null` | No | `ASC` or `DESC` (default). The keyset seeks in the chosen direction; the minted cursor binds it, so pass it consistently when paging. |
| `exclude_deposits_withdrawals` | `boolean \| null` | No | Defaults to `true`, which drops `DEPOSIT` and `WITHDRAWAL` rows from the page, including when `type` names them. Pass `false` to include them. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | The page's rows. |
| `pagination` | `object \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   bio?: string | null,
>   condition_id?: string | null,
>   event_slug?: string | null,
>   icon?: string | null,
>   is_combo?: boolean | null,
>   name?: string | null,
>   outcome?: string | null,
>   outcome_index?: number | null,
>   price?: number | null,
>   profile_image?: string | null,
>   profile_image_optimized?: string | null,
>   proxy_wallet?: string | null,
>   pseudonym?: string | null,
>   side?: string | null,
>   size?: number | null,
>   slug?: string | null,
>   timestamp?: number | null,
>   title?: string | null,
>   token_id?: string | null,
>   transaction_hash?: string | null,
>   type?: string | null,
>   usdc_size?: number | null
> }[] | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   has_more?: boolean | null,
>   limit?: number | null,
>   next_cursor?: string | null | null,
>   offset?: number | null
> } | null
> ```

***

### approvals

`data.approvals`

Get wallet approvals

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.approvals({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | No | The proxy wallet whose approval state to return. Required EVM address. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object \| null` | No | Non-paginated approval snapshot for one Polygon proxy wallet. |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   address?: string | null,
>   chain_id?: number | null,
>   checked_at?: string | null,
>   contracts?: {
>     amount?: string | null | null,
>     approved?: boolean | null,
>     feature?: string | null,
>     id?: string | null,
>     spender?: string | null,
>     standard?: string | null,
>     token?: string | null
>   }[] | null
> } | null
> ```

***

### biggestWinners

`data.biggestWinners`

List the biggest wins

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.biggestWinners({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `time_period` | `string \| null` | No | Window on `resolved_at`: `day` \| `week` \| `month` \| `all`. Defaults to `day`. |
| `category` | `string \| null` | No | `overall` (default), a Gamma market category (e.g. `sports`), or a synthetic category: `combos` (combinatorial wins get their own full top-500 per window) or `esports` (promoted subcategory). |
| `limit` | `number \| null` | No | First-page size. Ignored when `cursor` is supplied. |
| `cursor` | `string \| null` | No | Opaque pagination cursor from a prior response's `next_cursor`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | The page's rows. |
| `pagination` | `object \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   condition_id?: string | null,
>   event_id?: number | null,
>   event_slug?: string | null,
>   event_title?: string | null,
>   final_value?: number | null,
>   initial_value?: number | null,
>   kind?: string | null,
>   pnl?: number | null,
>   position_id?: string | null,
>   profile_image?: string | null,
>   resolved_at?: number | null,
>   user_id?: string | null,
>   user_name?: string | null,
>   win_rank?: number | null
> }[] | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   has_more?: boolean | null,
>   limit?: number | null,
>   next_cursor?: string | null | null,
>   offset?: number | null
> } | null
> ```

***

### builders.leaderboard

`data.builders.leaderboard`

Get the builders leaderboard

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.builders.leaderboard({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `time_period` | `string \| null` | No | Window: `day` \| `week` \| `month` \| `all`. Defaults to `day`. |
| `limit` | `number \| null` | No | First-page size. Ignored when `cursor` is supplied. |
| `cursor` | `string \| null` | No | Opaque pagination cursor from a prior response's `next_cursor`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | The page's rows. |
| `pagination` | `object \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   active_users?: number | null,
>   builder_code?: string | null,
>   builder_name?: string | null,
>   profile_image?: string | null,
>   rank?: number | null,
>   verified?: boolean | null,
>   volume?: number | null
> }[] | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   has_more?: boolean | null,
>   limit?: number | null,
>   next_cursor?: string | null | null,
>   offset?: number | null
> } | null
> ```

***

### builders.volume

`data.builders.volume`

Get builder volume over time

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.builders.volume({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `interval` | `string \| null` | No | Bucket width: `day` \| `week` \| `month` \| `all`. Defaults to `day`. `timePeriod` and `time_period` are accepted aliases. |
| `limit` | `number \| null` | No | How many of the most recent buckets to return. Defaults to 30, capped at 90; a lower ceiling than the rest of the surface, because only \~308 daily buckets exist and the family maximum would return the whole series. Bounds BUCKETS, not rows: a row limit would cut a bucket in half and leave a partial period in the series. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   active_users?: number | null,
>   builder_code?: string | null,
>   builder_name?: string | null,
>   date?: string | null,
>   profile_image?: string | null,
>   rank?: number | null,
>   verified?: boolean | null,
>   volume?: number | null
> }[] | null
> ```

***

### holders

`data.holders`

List a market's top holders

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.holders({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `condition` | `string \| null` | No | Comma-separated `condition_id`s (at most 20 distinct values; exactly one with `include_pnl=true`). Required. `condition` is the unified key across v2 (same as the feeds and `/v2/oi`); `condition_id` / `conditionId` are accepted aliases. |
| `limit` | `number \| null` | No | Rows per outcome token; defaults to 100, maximum 1000 (100 with `include_pnl=true`). |
| `cursor` | `string \| null` | No | Opaque pagination cursor from a prior response's `next_cursor`; carries the per-token `(limit, offset)` window and overrides `limit`. Paging past the first page is cursor-only. |
| `min_balance` | `number \| null` | No | Minimum net balance in shares (default 0), applied post-netting. With `include_pnl=true` it applies to the served per-side gross amount instead. |
| `include_pnl` | `boolean \| null` | No | Opt into per-holder position economics (default `false`; `includePnl` is an accepted alias). Adds `avg_price`, `entry_cost_usdc`, `current_price`, `current_value`, `realized_pnl`, `unrealized_pnl` and `total_pnl` to every holder row, and switches the served amounts to per-side gross balances: a wallet holding both outcomes appears under both tokens with per-side sizes and that side's economics, matching `/v2/positions` for the same wallet and token. This mode serves one market's table at a time: exactly one `condition`, `limit` at most 100. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | The page's rows. |
| `pagination` | `object \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   holders?: {
>     amount?: number | null,
>     avg_price?: number | null | null,
>     bio?: string | null,
>     current_price?: number | null | null,
>     current_value?: number | null | null,
>     display_username_public?: boolean | null,
>     entry_cost_usdc?: number | null | null,
>     name?: string | null,
>     outcome_index?: number | null,
>     profile_image?: string | null,
>     profile_image_optimized?: string | null,
>     proxy_wallet?: string | null,
>     pseudonym?: string | null,
>     realized_pnl?: number | null | null,
>     token_id?: string | null,
>     total_pnl?: number | null | null,
>     unrealized_pnl?: number | null | null,
>     verified?: boolean | null
>   }[] | null,
>   token_id?: string | null
> }[] | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   has_more?: boolean | null,
>   limit?: number | null,
>   next_cursor?: string | null | null,
>   offset?: number | null
> } | null
> ```

***

### leaderboard

`data.leaderboard`

Get the trader leaderboard

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.leaderboard({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `time_period` | `string \| null` | No | Window: `day` \| `week` \| `month` \| `all`. Defaults to `day`. |
| `category` | `string \| null` | No | `overall` (default), a Gamma market category (e.g. `sports`), or a synthetic category: `combos` (combinatorial positions; PNL boards only; the volume board has no combos rows) or `esports` (promoted subcategory). |
| `sort_by` | `string \| null` | No | Which board: `PNL` (default) or `VOLUME`. |
| `user` | `string \| null` | No | Look up one wallet's standing instead of reading the board. Returns a single object carrying both ranks, not a page. |
| `limit` | `number \| null` | No | First-page size. Ignored when `cursor` is supplied. |
| `cursor` | `string \| null` | No | Opaque pagination cursor from a prior response's `next_cursor`. |

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   data?: {
>     pnl?: number | null,
>     profile_image?: string | null,
>     rank?: number | null,
>     user_id?: string | null,
>     user_name?: string | null,
>     verified?: boolean | null,
>     volume?: number | null,
>     x_username?: string | null
>   }[] | null,
>   pagination?: {
>     has_more?: boolean | null,
>     limit?: number | null,
>     next_cursor?: string | null | null,
>     offset?: number | null
>   } | null
> } | {
>   data?: {
>     pnl?: number | null,
>     profile_image?: string | null,
>     rank_pnl?: number | null | null,
>     rank_volume?: number | null | null,
>     user_id?: string | null,
>     user_name?: string | null,
>     verified?: boolean | null,
>     volume?: number | null,
>     x_username?: string | null
>   } | null | null
> }
> ```

***

### liveVolume

`data.liveVolume`

Get live volume for an event

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.liveVolume({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `event_id` | `string \| null` | No | Event id(s), comma-separated (at most 20 distinct values). Required. `event_id` is the unified key across v2 (same as the feeds); `id` and `eventId` are accepted aliases. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object \| null` | No | `/v2/live-volume`: one entry per market in the requested event(s), ordered by `taker_volume` descending, plus `taker_volume_total`; their sum. Events that resolve to no markets serve `{ taker_volume_total: 0.0, conditions: [] }`. |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   conditions?: {
>     condition_id?: string | null,
>     taker_volume?: number | null
>   }[] | null,
>   taker_volume_total?: number | null
> } | null
> ```

***

### openInterest

`data.openInterest`

Get open interest

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.openInterest({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `condition` | `string \| null` | No | Condition id(s), comma-separated (at most 20 distinct values). `condition` is the unified key across v2 (same as the feeds); `condition_id` / `conditionId` are accepted aliases. Omit for global open interest. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   condition_id?: string | null,
>   value?: number | null
> }[] | null
> ```

***

### positions.combos

`data.positions.combos`

List combo positions

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.positions.combos({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | No | The wallet to anchor on. Required; combo positions are user-anchored. |
| `limit` | `number \| null` | No | First-page size. Ignored when `cursor` is supplied (the cursor's size wins). |
| `cursor` | `string \| null` | No | Opaque pagination cursor from a prior response's `next_cursor`. |
| `condition` | `string \| null` | No | Combo condition id(s), comma-separated (at most 20 distinct values). `condition_id` / `conditionId` are accepted aliases. |
| `status` | `string \| null` | No | One of `OPEN`, `REDEEMABLE`, `PARTIAL`, `RESOLVED_WIN`, `RESOLVED_LOSS`, `RESOLVED_PARTIAL`; default (absent) is the held-visibility listing. Aligned with `/v2/positions`: `OPEN` is the superset; it includes still-held redeemable positions; and `REDEEMABLE` narrows to exactly the rows whose `redeemable` flag is `true`. `REDEEMABLE` must be the sole value; the other values may be combined comma-separated and keep per-value equality semantics. |
| `sort_by` | `string \| null` | No | `FIRST_ENTRY` (default, except under `status=REDEEMABLE`, which defaults to `ENTRY_COST` so the largest claims lead) \| `ENTRY_COST` \| `CURRENT_VALUE` (alias of `ENTRY_COST`) \| `UPDATED`. `FIRST_ENTRY DESC` and `UPDATED ASC` page by keyset; every other combination pages by an offset-shaped cursor. The minted cursor binds sort + direction along with the `status`/`condition` cohort, so a page-2 request needs only `?user=` and `?cursor=`; restating a filter is allowed but must agree. |
| `sort_direction` | `string \| null` | No | `ASC` or `DESC` (default `DESC`). |
| `updated_after` | `number \| null` | No | Incremental-sync watermark: INCLUSIVE lower bound on `updated_at`, epoch seconds. Without a `status` filter, either watermark serves the sync view; every live row (mirror-complete), not only the held listing; a `status` filter keeps its own row visibility. The window's upper end is always capped by a short stability ceiling (about 90 seconds behind now), so a bound in the future cannot serve rows that may still move. |
| `updated_before` | `number \| null` | No | Incremental-sync watermark: INCLUSIVE upper bound on `updated_at`, epoch seconds; must not precede `updated_after`. See `updated_after` for the sync-view and ceiling semantics. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | The page's rows. |
| `pagination` | `object \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   combo_condition_id?: string | null,
>   combo_position_id?: string | null,
>   current_size?: number | null,
>   entry_avg_price_usdc?: number | null,
>   entry_cost_usdc?: number | null,
>   entry_fees_usdc?: number | null,
>   first_entry_at?: string | null,
>   first_entry_at_micros?: number | null | null,
>   gross_entry_cost_usdc?: number | null,
>   legs?: {
>     leg_condition_id?: string | null,
>     leg_current_price?: number | null,
>     leg_index?: number | null,
>     leg_outcome_index?: number | null,
>     leg_outcome_label?: string | null,
>     leg_position_id?: string | null,
>     leg_resolved_at?: string | null | null,
>     leg_status?: string | null,
>     market?: {
>       category?: string | null,
>       end_date?: string | null,
>       event?: {
>         event_id?: string | null,
>         event_image?: string | null,
>         event_slug?: string | null,
>         event_title?: string | null
>       } | null,
>       group_item_title?: string | null,
>       icon_url?: string | null,
>       image_url?: string | null,
>       line?: number | null | null,
>       market_id?: string | null,
>       outcome?: string | null,
>       outcomes?: string[] | null,
>       question?: string | null,
>       slug?: string | null,
>       sports_market_type?: string | null,
>       subcategory?: string | null,
>       tags?: string[] | null,
>       title?: string | null
>     } | null
>   }[] | null,
>   legs_pending?: number | null,
>   legs_resolved?: number | null,
>   legs_total?: number | null,
>   outcome_index?: number | null,
>   outcome_label?: string | null,
>   proxy_wallet?: string | null,
>   realized_payout_usdc?: number | null,
>   redeemable?: boolean | null,
>   resolved_at?: string | null | null,
>   status?: string | null,
>   updated_at?: string | null,
>   updated_at_micros?: number | null
> }[] | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   has_more?: boolean | null,
>   limit?: number | null,
>   next_cursor?: string | null | null,
>   offset?: number | null
> } | null
> ```

***

### positions.list

`data.positions.list`

List positions for a user or market

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.positions.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | No | The wallet to anchor on. At least one of `user`/`condition` is required. |
| `condition` | `string \| null` | No | Condition id(s), comma-separated (at most 20 distinct values). With `user`, narrows that user's positions (all ids honoured). Without `user`, anchors on the market's holders; exactly one id is accepted there, and a multi-id list is rejected rather than silently truncated. |
| `limit` | `number \| null` | No | First-page size. Ignored when `cursor` is supplied (the cursor's size wins). |
| `cursor` | `string \| null` | No | Opaque pagination cursor from a prior response's `next_cursor`. It carries the page position, page size, and the status/sort/direction it was minted under. |
| `status` | `string \| null` | No | One of `OPEN`, `REDEEMABLE`, `REDEEMABLE_LOST`, `MERGEABLE`, or `CLOSED`; defaults to `OPEN`. `REDEEMABLE_LOST` requires `user`, supports every sort but `AVG_PRICE`, and defaults to `CURRENT_VALUE`; it preserves row status `REDEEMABLE`. `MERGEABLE` is `OPEN` narrowed to live complementary pairs (conditions where the wallet holds >= 2 servable-live tokens) and defaults to `TOKENS`; it is user-scoped, so a market-anchored request renders as `OPEN`. `OPEN` is the superset; it includes settled-but-unredeemed winners, which `REDEEMABLE` narrows to. `CLOSED` is exited positions. |
| `event_id` | `string \| null` | No | Event id(s), comma-separated (at most 20 distinct values). User-anchored only. |
| `title` | `string \| null` | No | Case-insensitive market-title substring filter, honoured on every anchor and status. SQL LIKE wildcards (`%`, `_`) keep their usual meaning; empty or whitespace-only is treated as absent; at most 200 characters. NOT carried by the cursor: re-send it on every page of a walk (like `condition` and the `start`/`end` window), or the cohort silently widens. |
| `filter_type` | `string \| null` | No | `CASH` or `TOKENS`; defaults to `TOKENS` (the /v2/trades-homogenized filter pair, replacing the former `size_threshold`). |
| `filter_amount` | `number \| null` | No | The filter floor. `TOKENS`: minimum CURRENT holding in shares (defaults to the 0.1 dust floor; applies to `OPEN`/`REDEEMABLE`; a user's `CLOSED` set is not narrowed by it, and on a market anchor it moves the OPEN/CLOSED boundary). `CASH`: minimum mark-to-market `current_value` in USDC, on top of the token dust floor. Invalid values fall back to the default. |
| `include_archived` | `boolean \| null` | No | Also include positions on archived markets; defaults to `false`. `OPEN`/`REDEEMABLE`/`REDEEMABLE_LOST`/`MERGEABLE` only; combining it with `status=CLOSED` is rejected. Inactive markets remain excluded either way. |
| `sort_by` | `string \| null` | No | One of `CURRENT_VALUE`, `PRICE`, `AVG_PRICE`, `TOKENS`, `UNREALIZED_PNL`, `REALIZED_PNL`, `TOTAL_PNL`, or `TIMESTAMP` (the row's `last_event_at`). `PRICE` ranks by the response's effective `current_price` on every supported anchor and status. `AVG_PRICE` ranks by the response's `avg_price` (the entry price); a user's `CLOSED` and `REDEEMABLE_LOST` positions reject it until they have an indexed path for it. On `REDEEMABLE`, the existing winners-first partition remains ahead of the requested price order. The default follows the status: `CURRENT_VALUE` for `OPEN`/`REDEEMABLE`, `REALIZED_PNL` for `CLOSED`. On a user's `CLOSED` positions, `TOKENS`, `CURRENT_VALUE`, `PRICE` and `UNREALIZED_PNL` describe a holding that no longer exists, so those pages are served in `REALIZED_PNL` order. |
| `start` | `number \| null` | No | Inclusive lower bound on `last_event_at`, epoch seconds; omit or `0` for unbounded (the `/v2/activity` + `/v2/trades` vocabulary). |
| `end` | `number \| null` | No | Inclusive upper bound on `last_event_at`, epoch seconds; omit or `0` for unbounded. A position with no native economics carries no `last_event_at` and is therefore **excluded by any bound**, in either direction; a window asks which positions moved inside it, and a row with no clock has no answer. Unbounded requests still serve those rows. |
| `sort_direction` | `string \| null` | No | `ASC` or `DESC`; defaults to `DESC`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | The page's rows. |
| `pagination` | `object \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   archived?: boolean | null,
>   avg_price?: number | null,
>   condition_id?: string | null,
>   current_price?: number | null,
>   current_size?: number | null,
>   current_value?: number | null,
>   end_date?: string | null,
>   entry_cost_usdc?: number | null,
>   entry_fees_usdc?: number | null,
>   event_id?: string | null,
>   event_slug?: string | null,
>   event_title?: string | null,
>   first_entry_at?: number | null,
>   group_item_title?: string | null,
>   icon?: string | null,
>   last_event_at?: number | null,
>   mergeable?: boolean | null,
>   name?: string | null,
>   negative_risk?: boolean | null,
>   opposite_outcome?: string | null,
>   opposite_token_id?: string | null,
>   outcome?: string | null,
>   outcome_index?: number | null,
>   percent_pnl?: number | null,
>   percent_realized_pnl?: number | null,
>   profile_image?: string | null,
>   proxy_wallet?: string | null,
>   realized_pnl?: number | null,
>   redeemable?: boolean | null,
>   slug?: string | null,
>   status?: string | null,
>   title?: string | null,
>   token_id?: string | null,
>   total_cost_usdc?: number | null,
>   total_pnl?: number | null,
>   total_size?: number | null,
>   unrealized_pnl?: number | null,
>   verified?: boolean | null
> }[] | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   has_more?: boolean | null,
>   limit?: number | null,
>   next_cursor?: string | null | null,
>   offset?: number | null
> } | null
> ```

***

### positions.snapshot

`data.positions.snapshot`

Snapshot a wallet's positions at the end of a day

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.positions.snapshot({ user: '0x56687bf447db6ffa42ffe2204a05edaa20f55839', date: '2026-11-01' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | Yes | Proxy wallet, `0x` followed by 40 hex digits. The `user_address` spelling is accepted as an alias. |
| `date` | `string \| null` | Yes | The UTC day, `YYYY-MM-DD`: the positions held at its end, the cut being the next day at 00:00:00Z. It must be a closed, servable day; a day outside the servable range is a `400` that names the range. |
| `limit` | `number \| null` | No | Page size, 0 to 1000 (default 100). Ignored when `cursor` is supplied (the cursor's size wins). |
| `cursor` | `string \| null` | No | Opaque pagination cursor from a prior response's `next_cursor`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | The page's positions, in the walk's stable order (not `asset` order). |
| `pagination` | `object \| null` | No | — |
| `summary` | `object \| null` | No | The totals of every position of the day; on the first page only. |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   asset?: string | null,
>   avg_price?: number | null,
>   condition_id?: string | null | null,
>   cost_basis?: number | null,
>   event_slug?: string | null | null,
>   module?: number | null,
>   outcome?: string | null | null,
>   price?: number | null,
>   price_source?: string | null,
>   size?: number | null,
>   slug?: string | null | null,
>   title?: string | null | null,
>   value?: number | null
> }[] | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   has_more?: boolean | null,
>   limit?: number | null,
>   next_cursor?: string | null | null,
>   offset?: number | null
> } | null
> ```

> [accordion] summary full type
>
> ```ts theme={null}
> {
>   closed_block?: number | null,
>   cost_basis?: number | null,
>   cut?: string | null,
>   date?: string | null,
>   positions?: number | null,
>   value?: number | null,
>   value_by_source?: {
>     basis?: number | null,
>     mark?: number | null,
>     settlement?: number | null
>   } | null
> } | null | null
> ```

***

### pricesHistory

`data.pricesHistory`

Get a token's price history

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.pricesHistory({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string \| null` | No | Outcome token id (the CLOB asset id the chart is keyed by). Required. `tokenId` is an accepted alias. |
| `start` | `number \| null` | No | Window start, epoch seconds, INCLUSIVE. Alone it means "up to the present", and is capped at 15 days back from now. Pass `end` too when paging: a window that tracks the present keeps growing at the tip, and the 15-day cap is re-checked on every page, so a walk that starts near the cap can outlive it. |
| `end` | `number \| null` | No | Window end, epoch seconds, EXCLUSIVE. Requires `start`; on its own it would ask for every point ever recorded up to `end`. |
| `interval` | `string \| null` | No | Relative window INSTEAD of `start`/`end`: `max`, `all`, `1m`, `1w`, `1d`, `6h`, `1h`, matched case-sensitively. An empty `interval=` is a malformed value, not an absent one. `max`/`all` serve the market's WHOLE life (back to 2022 for the oldest markets) at 12-hour buckets by default; at `bucket_seconds` of 10800 or 43200 the window is unbounded, while finer widths keep a 30-day window. The other intervals take a width sized to their own span when `bucket_seconds` is omitted (`1h`/`6h`/`1d` 60, `1w` 300, `1m` 1800), and each still floors an explicit value: 600 for `max`/`all`/`1m`, 300 for `1w`. |
| `bucket_seconds` | `number \| null` | No | Bucket width in SECONDS (60…86400). `bucketSeconds` is an accepted alias. OMIT it and the server sizes the width to the window: the finest tier grain (60, 300, 1800, 10800, 43200) that keeps the series under \~2,500 points, except that an explicit window wider than 12 hours never defaults to the 60s grain (send `bucket_seconds=60` when you want second-by-minute detail over a longer window), and coarsened further if that grain no longer reaches the window's start. So a window up to 12 hours keeps 1-minute detail, half a day through a week defaults to 300, fifteen days to 1800; interval presets keep their own span-derived defaults (`1d` 60s, `1w` 300, `1m` 1800, and the unbounded `max`/`all` 43200). SEND it and it is served exactly as asked, which for a window older than that resolution's retention means an empty page rather than a silent substitution. An explicit value is also floored per interval: 600 for `max`/`all`/`1m`, 300 for `1w`. |
| `as_of` | `number \| null` | No | Point-in-time read, epoch seconds, INCLUSIVE: the latest observation at or before this instant. Cannot be combined with a window. `asOf` is an accepted alias. |
| `limit` | `number \| null` | No | First-page size; defaults to the cap (10,000). Ignored when `cursor` is supplied (the cursor's size wins). |
| `cursor` | `string \| null` | No | Opaque pagination cursor from a prior response's `next_cursor`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | The page's rows. |
| `pagination` | `object \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   price?: number | null,
>   resolution_seconds?: number | null,
>   timestamp?: number | null
> }[] | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   has_more?: boolean | null,
>   limit?: number | null,
>   next_cursor?: string | null | null,
>   offset?: number | null
> } | null
> ```

***

### resolutions

`data.resolutions`

Get resolution state

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.resolutions({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `question_id` | `string \| null` | No | One UMA question identifier (`0x` plus 64 hexadecimal characters). |
| `condition` | `string \| null` | No | Comma-separated condition identifiers (at most 20 distinct values): the Gamma condition id, or the structural condition id that `/v2/activity` and `/v2/trades` serve before a market is listed. |
| `event_id` | `string \| null` | No | Comma-separated positive Gamma event IDs (at most 20 distinct values). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   condition_id?: string | null | null,
>   expected_settlement_time?: string | null | null,
>   extended_review?: boolean | null,
>   last_update_timestamp?: string | null,
>   log_index?: string | null,
>   market_type?: string | null | null,
>   new_version_q?: boolean | null,
>   payouts?: number[] | null | null,
>   price?: string | null | null,
>   proposed_price?: string | null | null,
>   question_id?: string | null | null,
>   reporter?: string | null | null,
>   reproposed_price?: string | null | null,
>   resolution_source?: string | null | null,
>   resolved_at?: string | null | null,
>   resolved_block?: number | null | null,
>   settlement_time_basis?: string | null | null,
>   status?: string | null,
>   transaction_hash?: string | null,
>   was_arbitrated?: boolean | null | null,
>   was_disputed?: boolean | null
> }[] | null
> ```

***

### status

`data.status`

Get data freshness

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.status({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object \| null` | No | `/v2/status` payload. Served from a snapshot refreshed in the background, never computed on the request. `computed_at`/`age_seconds` make that explicit rather than implicit: if the refresher wedges or its datastore goes away, the answer keeps being served with a growing age instead of turning into a 500; the right degraded mode for the endpoint you call when something is already wrong. |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   age_seconds?: number | null,
>   computed_at?: string | null,
>   ingestion?: {
>     chain_id?: number | null,
>     cursors?: number | null,
>     lagging?: {
>       behind_max?: number | null,
>       block?: number | null,
>       source?: string | null
>     }[] | null,
>     max_synced_block?: number | null | null,
>     min_synced_block?: number | null | null,
>     most_lagged?: {
>       behind_max?: number | null,
>       block?: number | null,
>       source?: string | null
>     } | null | null,
>     network?: string | null | null
>   } | null,
>   serving?: {
>     lag_seconds?: number | null | null,
>     mechanisms?: {
>       age_seconds?: number | null,
>       blocks_behind?: number | null | null,
>       name?: string | null
>     }[] | null,
>     worst?: string | null | null
>   } | null
> } | null
> ```

***

### tokens

`data.tokens`

Look up tokens

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.tokens({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `token_id` | `string \| null` | No | Token id(s), comma-separated (at most 50 distinct values): decimal ERC-1155 ids as they appear on receipts and on the `token_id` and `asset` fields of the other routes. Elements are trimmed, leading zeros stripped and duplicates collapsed to their first position. `token_ids` is an accepted alias. Exactly one of `token_id` and `condition` is required. |
| `condition` | `string \| null` | No | Condition selector(s), comma-separated (at most 10 distinct values), each `0x` followed by 62 or 64 hex digits: a ConditionalTokens condition id (for a market carried over to polymarket-v2, its whole family), a neg-risk market id (every market of the structure), a polymarket-v2 condition id (that condition only), the 66-character condition id of a native polymarket-v2 market, or the on-chain event id of a polymarket-v2 neg-risk structure (every question of it). Elements are trimmed, lower-cased and duplicates collapsed to their first position. `condition_id` and `conditionId` are accepted aliases. Exactly one of `token_id` and `condition` is required. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   clob_index?: number | null | null,
>   closed?: boolean | null | null,
>   condition_id?: string | null,
>   event_id?: number | null | null,
>   event_slug?: string | null | null,
>   final_price?: number | null | null,
>   market_slug?: string | null | null,
>   module?: string | null,
>   neg_risk?: boolean | null | null,
>   neg_risk_market_id?: string | null | null,
>   opposite_token_id?: string | null | null,
>   outcome?: string | null | null,
>   outcome_index?: number | null,
>   question_index?: number | null | null,
>   resolved?: boolean | null,
>   structural_condition_id?: string | null | null,
>   title?: string | null | null,
>   token_id?: string | null
> }[] | null
> ```

***

### trades

`data.trades`

List trades

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.trades({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | No | Address to filter by; omit for the market/event/global feed. |
| `limit` | `number \| null` | No | First-page size. Ignored when `cursor` is supplied (the cursor's size wins). |
| `cursor` | `string \| null` | No | Opaque pagination cursor from a prior response's `next_cursor`. |
| `taker_only` | `boolean \| null` | No | Defaults to `true`: each fill is served once, on its taker side. `false` includes the maker rows too. |
| `filter_type` | `string \| null` | No | CASH or TOKENS; defaults to TOKENS. |
| `filter_amount` | `number \| null` | No | Minimum trade size; defaults to 0.01, and 0 means the same. |
| `start` | `number \| null` | No | Window start on `block_timestamp`, epoch seconds (inclusive); honored on the `user` shape only. Omitted or `0` floors to three years back; `start=1` asks for full history. The `condition`/`event_id` shapes serve a fixed three-year window and the bare feed the rolling current-plus-previous month, ignoring both bounds. |
| `end` | `number \| null` | No | Window end, epoch seconds (inclusive); honored on the `user` shape only; omitted or `0` means now plus one day. |
| `condition` | `string \| null` | No | Condition id(s), comma-separated (at most 20 distinct values). `condition_id` / `conditionId` are accepted aliases. |
| `event_id` | `string \| null` | No | Event id(s), comma-separated (at most 20 distinct values). |
| `side` | `string \| null` | No | BUY or SELL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | The page's rows. |
| `pagination` | `object \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   bio?: string | null,
>   condition_id?: string | null,
>   event_slug?: string | null,
>   icon?: string | null,
>   name?: string | null,
>   outcome?: string | null,
>   outcome_index?: number | null,
>   price?: number | null,
>   profile_image?: string | null,
>   profile_image_optimized?: string | null,
>   proxy_wallet?: string | null,
>   pseudonym?: string | null,
>   side?: string | null,
>   size?: number | null,
>   slug?: string | null,
>   timestamp?: number | null,
>   title?: string | null,
>   token_id?: string | null,
>   transaction_hash?: string | null
> }[] | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   has_more?: boolean | null,
>   limit?: number | null,
>   next_cursor?: string | null | null,
>   offset?: number | null
> } | null
> ```

***

### users.pnl

`data.users.pnl`

Get a user's PnL series

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.users.pnl({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | No | Proxy wallet. The `user_address` spelling is accepted as an alias. |
| `interval` | `string \| null` | No | Window: `max`, `all`, `1m`, `1w`, `1d`, `12h`, or `6h`. Defaults to `1d`. |
| `fidelity` | `string \| null` | No | Output grid: `1d`, `18h`, `12h`, `3h`, or `1h`. Defaults to `1h`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object \| null` | No | Complete v2 user-PnL response data. |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   fidelity?: string | null,
>   interval?: string | null,
>   points?: {
>     cashflow_net?: number | null | null,
>     deposits?: number | null | null,
>     economic_pnl?: number | null | null,
>     fees?: number | null | null,
>     fees_paid?: number | null | null,
>     fees_refunded?: number | null | null,
>     maker_rebate?: number | null | null,
>     position_pnl?: number | null | null,
>     realized_combo_pnl?: number | null,
>     realized_lp_pnl?: number | null,
>     realized_market_pnl?: number | null,
>     realized_pnl?: number | null,
>     referral_income?: number | null | null,
>     reward_income?: number | null | null,
>     settled_pnl?: number | null | null,
>     source_block?: number | null,
>     sponsored_income?: number | null | null,
>     taker_rebate?: number | null | null,
>     timestamp?: number | null,
>     trade_count?: number | null,
>     trade_pnl?: number | null | null,
>     unrealized_pnl?: number | null | null,
>     volume?: number | null,
>     volume_usdc?: number | null,
>     wallet_income?: number | null | null,
>     withdrawals?: number | null | null,
>     yield_income?: number | null | null
>   }[] | null,
>   proxy_wallet?: string | null,
>   source_fidelity?: string | null
> } | null
> ```

***

### users.stats

`data.users.stats`

Get a user's profile stats

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.users.stats({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | No | The wallet whose profile stats to return. Required; `0x` followed by 40 hexadecimal characters. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object \| null` | No | The profile card for one wallet, plus its newest persisted all-time PnL observation. `join_date` is `null` when unknown, which is a real state rather than an error; a meaningful share of accounts have no recorded creation time. `biggest_win` is `0` when the wallet has no win over \$1. `all_time_pnl` is `null` when the user is known but has no observation yet; a missing user is represented by the outer response `data: null` instead. |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   all_time_pnl?: {
>     cashflow_net?: number | null | null,
>     deposits?: number | null | null,
>     economic_pnl?: number | null | null,
>     fees?: number | null | null,
>     fees_paid?: number | null | null,
>     fees_refunded?: number | null | null,
>     maker_rebate?: number | null | null,
>     position_pnl?: number | null | null,
>     realized_combo_pnl?: number | null,
>     realized_lp_pnl?: number | null,
>     realized_market_pnl?: number | null,
>     realized_pnl?: number | null,
>     referral_income?: number | null | null,
>     reward_income?: number | null | null,
>     settled_pnl?: number | null | null,
>     source_block?: number | null,
>     sponsored_income?: number | null | null,
>     taker_rebate?: number | null | null,
>     timestamp?: number | null,
>     trade_count?: number | null,
>     trade_pnl?: number | null | null,
>     unrealized_pnl?: number | null | null,
>     volume?: number | null,
>     volume_usdc?: number | null,
>     wallet_income?: number | null | null,
>     withdrawals?: number | null | null,
>     yield_income?: number | null | null
>   } | null | null,
>   biggest_win?: number | null,
>   join_date?: number | null | null,
>   proxy_wallet?: string | null,
>   trades?: number | null,
>   views?: number | null
> } | null | null
> ```

***

### users.volume

`data.users.volume`

Get a user's trading volume

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.users.volume({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | No | The wallet whose volume to return. Required. |
| `start` | `number \| null` | No | Window start, epoch seconds, inclusive. Omitted or `0` disables the bound (the feeds' convention). Volume is tracked in whole UTC days, so the bound is floored to its UTC day. |
| `end` | `number \| null` | No | Window end, epoch seconds, inclusive, floored to its UTC day. Omitted or `0` disables the bound. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object \| null` | No | `/v2/user-volume`: one wallet's trading volume over a whole-day window, in both units side by side. `volume` is both-sides SHARES; `volume_usdc` is the same measure in USD; the bare name is the natural unit and `_usdc` is the denomination, the same pairing as `current_size` / `entry_cost_usdc` on `/v2/positions`. `trade_count` is the number of trades in the window. |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   trade_count?: number | null,
>   volume?: number | null,
>   volume_usdc?: number | null
> } | null
> ```

***

### value

`data.value`

Get portfolio value

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.data.value({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user` | `string \| null` | No | The wallet whose portfolio value to return. Required. |
| `condition` | `string \| null` | No | Comma-separated `condition_id`s (at most 20 distinct values); omit for the full portfolio. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object \| null` | No | `/v2/value`: the user's portfolio value; single-market holdings marked to market plus unresolved combo positions at cost basis, rounded to 4 decimals. Always exactly one row; a user with no positions returns `{ proxy_wallet, value: 0 }`. |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   proxy_wallet?: string | null,
>   value?: number | null
> } | null
> ```

***

## Gamma

### comments.get

`gamma.comments.get`

Get comment by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.comments.get({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Comment ID |
| `get_positions` | `boolean` | No | Include commenter positions |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   body?: string | null,
>   createdAt?: string | null,
>   id?: string | null,
>   media?: {
>     altText?: string | null,
>     commentID?: number | null,
>     createdAt?: string | null,
>     id?: string | null,
>     mediaType?: string | null,
>     provider?: string | null,
>     providerMediaId?: string | null,
>     url?: string | null
>   }[] | null | null,
>   parentCommentID?: string | null,
>   parentEntityID?: number | null,
>   parentEntityType?: string | null,
>   profile?: {
>     baseAddress?: string | null,
>     bio?: string | null,
>     displayUsernamePublic?: boolean | null,
>     isCreator?: boolean | null,
>     isMod?: boolean | null,
>     name?: string | null,
>     positions?: {
>       positionSize?: string | null,
>       tokenId?: string | null
>     }[] | null | null,
>     profileImage?: string | null,
>     proxyWallet?: string | null,
>     pseudonym?: string | null
>   } | null,
>   reactionCount?: number | null,
>   reactions?: {
>     $schema?: string | null,
>     commentID?: number | null,
>     createdAt?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     profile?: {
>       baseAddress?: string | null,
>       bio?: string | null,
>       displayUsernamePublic?: boolean | null,
>       isCreator?: boolean | null,
>       isMod?: boolean | null,
>       name?: string | null,
>       positions?: {
>         positionSize?: string | null,
>         tokenId?: string | null
>       }[] | null | null,
>       profileImage?: string | null,
>       proxyWallet?: string | null,
>       pseudonym?: string | null
>     } | null,
>     reactionType?: string | null,
>     userAddress?: string | null
>   }[] | null | null,
>   replyAddress?: string | null,
>   reportCount?: number | null,
>   tradeAsset?: string | null,
>   updatedAt?: string | null,
>   userAddress?: string | null
> }[] | null
> ```

***

### comments.list

`gamma.comments.list`

List comments

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.comments.list({ parent_entity_id: 1, parent_entity_type: 'Event' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `parent_entity_id` | `number` | Yes | Parent entity ID |
| `parent_entity_type` | `Event \| Series \| PerpsAsset` | Yes | Parent entity type |
| `get_positions` | `boolean` | No | Include commenter positions |
| `holders_only` | `boolean` | No | Only include comments from holders |
| `limit` | `number` | No | Max results returned; values above 100 are clamped to 100 |
| `offset` | `number` | No | Number of results to skip; values above 200 are rejected |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `string` | No | Sort ascending when true (default true) |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   body?: string | null,
>   createdAt?: string | null,
>   id?: string | null,
>   media?: {
>     altText?: string | null,
>     commentID?: number | null,
>     createdAt?: string | null,
>     id?: string | null,
>     mediaType?: string | null,
>     provider?: string | null,
>     providerMediaId?: string | null,
>     url?: string | null
>   }[] | null | null,
>   parentCommentID?: string | null,
>   parentEntityID?: number | null,
>   parentEntityType?: string | null,
>   profile?: {
>     baseAddress?: string | null,
>     bio?: string | null,
>     displayUsernamePublic?: boolean | null,
>     isCreator?: boolean | null,
>     isMod?: boolean | null,
>     name?: string | null,
>     positions?: {
>       positionSize?: string | null,
>       tokenId?: string | null
>     }[] | null | null,
>     profileImage?: string | null,
>     proxyWallet?: string | null,
>     pseudonym?: string | null
>   } | null,
>   reactionCount?: number | null,
>   reactions?: {
>     $schema?: string | null,
>     commentID?: number | null,
>     createdAt?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     profile?: {
>       baseAddress?: string | null,
>       bio?: string | null,
>       displayUsernamePublic?: boolean | null,
>       isCreator?: boolean | null,
>       isMod?: boolean | null,
>       name?: string | null,
>       positions?: {
>         positionSize?: string | null,
>         tokenId?: string | null
>       }[] | null | null,
>       profileImage?: string | null,
>       proxyWallet?: string | null,
>       pseudonym?: string | null
>     } | null,
>     reactionType?: string | null,
>     userAddress?: string | null
>   }[] | null | null,
>   replyAddress?: string | null,
>   reportCount?: number | null,
>   tradeAsset?: string | null,
>   updatedAt?: string | null,
>   userAddress?: string | null
> }[] | null
> ```

***

### comments.listByUser

`gamma.comments.listByUser`

List comments by user

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.comments.listByUser({ user_address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user_address` | `string` | Yes | User address |
| `limit` | `number` | No | Max results returned; values above 100 are clamped to 100 |
| `offset` | `number` | No | Number of results to skip; values above 200 are rejected |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `string` | No | Sort ascending when true (default true) |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   body?: string | null,
>   createdAt?: string | null,
>   id?: string | null,
>   media?: {
>     altText?: string | null,
>     commentID?: number | null,
>     createdAt?: string | null,
>     id?: string | null,
>     mediaType?: string | null,
>     provider?: string | null,
>     providerMediaId?: string | null,
>     url?: string | null
>   }[] | null | null,
>   parentCommentID?: string | null,
>   parentEntityID?: number | null,
>   parentEntityType?: string | null,
>   profile?: {
>     baseAddress?: string | null,
>     bio?: string | null,
>     displayUsernamePublic?: boolean | null,
>     isCreator?: boolean | null,
>     isMod?: boolean | null,
>     name?: string | null,
>     positions?: {
>       positionSize?: string | null,
>       tokenId?: string | null
>     }[] | null | null,
>     profileImage?: string | null,
>     proxyWallet?: string | null,
>     pseudonym?: string | null
>   } | null,
>   reactionCount?: number | null,
>   reactions?: {
>     $schema?: string | null,
>     commentID?: number | null,
>     createdAt?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     profile?: {
>       baseAddress?: string | null,
>       bio?: string | null,
>       displayUsernamePublic?: boolean | null,
>       isCreator?: boolean | null,
>       isMod?: boolean | null,
>       name?: string | null,
>       positions?: {
>         positionSize?: string | null,
>         tokenId?: string | null
>       }[] | null | null,
>       profileImage?: string | null,
>       proxyWallet?: string | null,
>       pseudonym?: string | null
>     } | null,
>     reactionType?: string | null,
>     userAddress?: string | null
>   }[] | null | null,
>   replyAddress?: string | null,
>   reportCount?: number | null,
>   tradeAsset?: string | null,
>   updatedAt?: string | null,
>   userAddress?: string | null
> }[] | null
> ```

***

### comments.listKeyset

`gamma.comments.listKeyset`

List comments (keyset pagination)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.comments.listKeyset({ parent_entity_id: 1, parent_entity_type: 'Event' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `parent_entity_id` | `number` | Yes | Parent entity ID |
| `parent_entity_type` | `Event \| Series \| PerpsAsset` | Yes | Parent entity type |
| `limit` | `number` | No | Max results returned; values above 100 are clamped to 100 |
| `offset` | `number` | No | Not allowed for keyset pagination; rejected by the application layer |
| `order` | `id \| createdAt` | No | Field to sort by. Only immutable columns are seekable; defaults to id. |
| `ascending` | `string` | No | Sort ascending when true (default true) |
| `after_cursor` | `string` | No | Opaque keyset cursor from a previous response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `comments` | `object[] \| null` | No | Root comments and their first-level replies for the current page. |
| `next_cursor` | `string \| null` | No | Opaque cursor to pass as after\_cursor when requesting the next page. Absent on the last page. |

> [accordion] comments full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   body?: string | null,
>   createdAt?: string | null,
>   id?: string | null,
>   media?: {
>     altText?: string | null,
>     commentID?: number | null,
>     createdAt?: string | null,
>     id?: string | null,
>     mediaType?: string | null,
>     provider?: string | null,
>     providerMediaId?: string | null,
>     url?: string | null
>   }[] | null | null,
>   parentCommentID?: string | null,
>   parentEntityID?: number | null,
>   parentEntityType?: string | null,
>   profile?: {
>     baseAddress?: string | null,
>     bio?: string | null,
>     displayUsernamePublic?: boolean | null,
>     isCreator?: boolean | null,
>     isMod?: boolean | null,
>     name?: string | null,
>     positions?: {
>       positionSize?: string | null,
>       tokenId?: string | null
>     }[] | null | null,
>     profileImage?: string | null,
>     proxyWallet?: string | null,
>     pseudonym?: string | null
>   } | null,
>   reactionCount?: number | null,
>   reactions?: {
>     $schema?: string | null,
>     commentID?: number | null,
>     createdAt?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     profile?: {
>       baseAddress?: string | null,
>       bio?: string | null,
>       displayUsernamePublic?: boolean | null,
>       isCreator?: boolean | null,
>       isMod?: boolean | null,
>       name?: string | null,
>       positions?: {
>         positionSize?: string | null,
>         tokenId?: string | null
>       }[] | null | null,
>       profileImage?: string | null,
>       proxyWallet?: string | null,
>       pseudonym?: string | null
>     } | null,
>     reactionType?: string | null,
>     userAddress?: string | null
>   }[] | null | null,
>   replyAddress?: string | null,
>   reportCount?: number | null,
>   tradeAsset?: string | null,
>   updatedAt?: string | null,
>   userAddress?: string | null
> }[] | null | null
> ```

***

### cryptoMarketConfigs.list

`gamma.cryptoMarketConfigs.list`

Get crypto market configs

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.cryptoMarketConfigs.list({});
```

**Input:** *empty object*

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   asset?: string | null,
>   duration?: string | null,
>   id?: string | null,
>   twapEnabled?: boolean | null,
>   twapLookbackSeconds?: number | null
> }[] | null
> ```

***

### events.commentCount

`gamma.events.commentCount`

Get event comment count

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.commentCount({ id: '12' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Entity ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `count` | `number \| null` | No | — |

***

### events.count

`gamma.events.count`

Count events

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.count({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number[] \| null` | No | Event IDs to return |
| `slug` | `string[] \| null` | No | Event slugs to return |
| `closed` | `string` | No | Filter by closed flag (true/false/any). Omitted returns open and closed events; 'any' does the same and is accepted for parity with the markets lists |
| `live` | `string` | No | Filter by live flag (true/false) |
| `liquidity_min` | `string` | No | Minimum liquidity |
| `liquidity_max` | `string` | No | Maximum liquidity |
| `volume_min` | `string` | No | Minimum volume |
| `volume_max` | `string` | No | Maximum volume |
| `start_date_min` | `string` | No | Minimum start date (RFC3339 or YYYY-MM-DD) |
| `start_date_max` | `string` | No | Maximum start date (RFC3339 or YYYY-MM-DD) |
| `end_date_min` | `string` | No | Minimum end date (RFC3339 or YYYY-MM-DD) |
| `end_date_max` | `string` | No | Maximum end date (RFC3339 or YYYY-MM-DD) |
| `tag_id` | `number[] \| null` | No | Tag IDs to filter by |
| `related_tags` | `string` | No | Include events from related tags (true/false) |
| `tag_match` | `string` | No | Tag match mode |
| `tag_slug` | `string` | No | Filter by tag slug |
| `featured` | `string` | No | Filter by featured flag (true/false) |
| `cyom` | `string` | No | Filter by CYOM flag (true/false) |
| `series_id` | `number[] \| null` | No | Series IDs to filter by |
| `series_slug` | `string[] \| null` | No | Filter by series slug |
| `game_id` | `number[] \| null` | No | Game IDs to filter by |
| `us_id` | `string[] \| null` | No | US event IDs to filter by |
| `event_date` | `string` | No | Filter by event date (RFC3339 or YYYY-MM-DD) |
| `event_week` | `string` | No | Filter by event week |
| `start_time_min` | `string` | No | Minimum start time (RFC3339) |
| `start_time_max` | `string` | No | Maximum start time (RFC3339) |
| `exclude_tag_id` | `number[] \| null` | No | Tag IDs to exclude |
| `featured_order` | `string` | No | Order by featured when true (true/false) |
| `recurrence` | `daily \| weekly \| monthly \| annual \| hourly` | No | Recurrence filter |
| `created_by` | `string[] \| null` | No | Filter by creator |
| `parent_event_id` | `number[] \| null` | No | Parent event IDs to filter by |
| `include_children` | `string` | No | Include the children of the matched parent\_event\_id or slug (true/false) |
| `top_level` | `string` | No | Return only events without a parent event when true; false has no effect |
| `title_search` | `string` | No | Case-insensitive title search |
| `include_best_lines` | `string` | No | Include best lines (true/false) |
| `include_markets` | `string` | No | Include each event's markets array (true/false, default true). false skips loading markets, so the response carries the event rows without a markets key |
| `include_facets` | `string` | No | Include the facets each event carries, and each market when markets are included (true/false). Facets are the assigned ones plus their ancestors; a market carries only its own, not its event's. |
| `locale` | `string` | No | Locale code |
| `partner_slug` | `string` | No | Filter by external partner slug |
| `event_metadata_key` | `string` | No | Filter by event metadata key |
| `event_metadata_value` | `string` | No | Filter by event metadata value |
| `context_requires_regen` | `string` | No | Return only events flagged for context regeneration when true; false has no effect |
| `context_missing` | `string` | No | Return only events with no generated context when true; false has no effect |
| `combo_status` | `string` | No | Filter by combo status (pending/enabled/disabled). Returns events with at least one market in that status, counting markets owned by their child events, and narrows each event's markets array to that status. |
| `version` | `(v1 \| v2)[] \| null` | No | Protocol versions to return (v1 or v2). Repeat the parameter for several. Omitted means the server default (v1 while polymarket-v2 is in its builder integration period) |
| `facets` | `string` | No | AIP-160 filter over facet slugs, e.g. politics AND (nba OR wnba) -united-states. AND, OR, NOT or -, a space for AND, and one level of parentheses; NOT binds tightest, then AND, then OR; at most 10 facets. A facet also matches its descendants. Only events that have facets match. |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `after_cursor` | `string` | No | Opaque keyset pagination cursor from a previous response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `count` | `number \| null` | No | — |

***

### events.creators.get

`gamma.events.creators.get`

Get event creator by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.creators.get({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Event creator ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `createdAt` | `string \| null` | No | — |
| `creatorHandle` | `string \| null` | No | — |
| `creatorImage` | `string \| null` | No | — |
| `creatorName` | `string \| null` | No | — |
| `creatorUrl` | `string \| null` | No | — |
| `id` | `string \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |

***

### events.creators.list

`gamma.events.creators.list`

List event creators

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.creators.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `creator_name` | `string` | No | Filter by creator name |
| `creator_handle` | `string` | No | Filter by creator handle |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Sort field |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   creatorHandle?: string | null,
>   creatorImage?: string | null,
>   creatorName?: string | null,
>   creatorUrl?: string | null,
>   id?: string | null,
>   updatedAt?: string | null
> }[] | null
> ```

***

### events.externalPartners.get

`gamma.events.externalPartners.get`

Get event external partner by slug

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.externalPartners.get({ id: 1, partnerSlug: 'espn' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Event ID |
| `partnerSlug` | `string` | Yes | External partner slug |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `createdAt` | `string \| null` | No | — |
| `eventId` | `number \| null` | No | — |
| `externalId` | `string \| null` | No | — |
| `id` | `number \| null` | No | — |
| `partner` | `object \| null` | No | — |
| `partnerId` | `number \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |

> [accordion] partner full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   id?: number | null,
>   name?: string | null,
>   slug?: string | null,
>   updatedAt?: string | null
> } | null
> ```

***

### events.externalPartners.list

`gamma.events.externalPartners.list`

Get event external partners

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.externalPartners.list({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Event ID |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   eventId?: number | null,
>   externalId?: string | null,
>   id?: number | null,
>   partner?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     id?: number | null,
>     name?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null
>   } | null,
>   partnerId?: number | null,
>   updatedAt?: string | null
> }[] | null
> ```

***

### events.get

`gamma.events.get`

Get event by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.get({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Event ID |
| `include_best_lines` | `string` | No | Include best lines (true/false) |
| `include_facets` | `string` | No | Include the facets each event carries, and each market when markets are included (true/false). Facets are the assigned ones plus their ancestors; a market carries only its own, not its event's. |
| `locale` | `string` | No | Locale code |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `active` | `boolean \| null` | No | — |
| `archived` | `boolean \| null` | No | — |
| `automaticallyActive` | `boolean \| null` | No | — |
| `automaticallyResolved` | `boolean \| null` | No | — |
| `bestLines` | `object[] \| null` | No | — |
| `cantEstimate` | `boolean \| null` | No | — |
| `carouselMap` | `string \| null` | No | — |
| `category` | `string \| null` | No | — |
| `closed` | `boolean \| null` | No | — |
| `closedTime` | `string \| null` | No | — |
| `color` | `string \| null` | No | — |
| `commentCount` | `number \| null` | No | — |
| `commentsEnabled` | `boolean \| null` | No | — |
| `competitive` | `number \| null` | No | — |
| `countryName` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `createdBy` | `string \| null` | No | — |
| `creationDate` | `string \| null` | No | — |
| `cumulativeMarkets` | `boolean \| null` | No | — |
| `cyom` | `boolean \| null` | No | — |
| `deploying` | `boolean \| null` | No | — |
| `deployingTimestamp` | `string \| null` | No | — |
| `description` | `string \| null` | No | — |
| `disqusThread` | `string \| null` | No | — |
| `elapsed` | `string \| null` | No | — |
| `electionType` | `string \| null` | No | — |
| `enableNegRisk` | `boolean \| null` | No | — |
| `enableOrderBook` | `boolean \| null` | No | — |
| `endDate` | `string \| null` | No | — |
| `ended` | `boolean \| null` | No | — |
| `estimateValue` | `boolean \| null` | No | — |
| `estimatedValue` | `string \| null` | No | — |
| `eventCreators` | `object[] \| null` | No | — |
| `eventDate` | `string \| null` | No | — |
| `eventMetadata` | `Record<string, any> \| null` | No | — |
| `eventWeek` | `number \| null` | No | — |
| `externalPartners` | `object[] \| null` | No | — |
| `facets` | `object[] \| null` | No | Facets the event carries, with their ancestors. Present only when the request sets include\_facets=true. Read-only. |
| `featured` | `boolean \| null` | No | — |
| `featuredImage` | `string \| null` | No | — |
| `featuredOrder` | `number \| null` | No | — |
| `finishedTimestamp` | `string \| null` | No | — |
| `gameId` | `number \| null` | No | — |
| `gmpChartMode` | `string \| null` | No | — |
| `icon` | `string \| null` | No | — |
| `id` | `string \| null` | No | — |
| `image` | `string \| null` | No | — |
| `isTemplate` | `boolean \| null` | No | — |
| `lastHighlight` | `string \| null` | No | — |
| `lastHighlightAt` | `string \| null` | No | — |
| `lastHighlightType` | `string \| null` | No | — |
| `liquidity` | `number \| null` | No | — |
| `liquidityAmm` | `number \| null` | No | — |
| `liquidityClob` | `number \| null` | No | — |
| `live` | `boolean \| null` | No | — |
| `markets` | `object[] \| null` | No | — |
| `maxMarketCount` | `number \| null` | No | On-chain capacity: neg-risk arity, or directional real-bucket capacity B (2..32767), excluding thresholds and Void. Null for binary events. Directional capacity is fixed at creation; condition IDs depend on it. |
| `moduleType` | `string \| null` | No | On-chain module of a directional event; null for every other event. Server-owned, immutable from creation; read-only. |
| `negRisk` | `boolean \| null` | No | — |
| `negRiskAugmented` | `boolean \| null` | No | — |
| `negRiskFeeBips` | `number \| null` | No | — |
| `negRiskMarketID` | `string \| null` | No | — |
| `new` | `boolean \| null` | No | — |
| `openInterest` | `number \| null` | No | — |
| `parentEventId` | `number \| null` | No | — |
| `pendingDeployment` | `boolean \| null` | No | — |
| `period` | `string \| null` | No | — |
| `published_at` | `string \| null` | No | — |
| `rescheduledFromGameId` | `number \| null` | No | — |
| `resolutionMode` | `string \| null` | No | Directional event resolution mode: incremental (buckets may be appended after deployment) or atomic (all buckets exist at creation). Null for non-directional events. Server-owned, immutable from creation; read-only. |
| `resolutionSource` | `string \| null` | No | — |
| `restricted` | `boolean \| null` | No | — |
| `scheduledDeploymentTimestamp` | `string \| null` | No | — |
| `score` | `string \| null` | No | — |
| `series` | `object[] \| null` | No | — |
| `seriesSlug` | `string \| null` | No | — |
| `showAllOutcomes` | `boolean \| null` | No | — |
| `showMarketImages` | `boolean \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `sortBy` | `string \| null` | No | — |
| `sport` | `object \| null` | No | — |
| `spreadsMainLine` | `number \| null` | No | — |
| `startDate` | `string \| null` | No | — |
| `startTime` | `string \| null` | No | — |
| `subEvents` | `(string \| null)[] \| null \| null` | No | — |
| `subcategory` | `string \| null` | No | — |
| `subtitle` | `string \| null` | No | — |
| `tag_labels` | `string[] \| null \| null` | No | — |
| `tag_slugs` | `string[] \| null \| null` | No | — |
| `tags` | `object[] \| null` | No | — |
| `teams` | `object[] \| null` | No | — |
| `templateVariables` | `string \| null` | No | — |
| `ticker` | `string \| null` | No | — |
| `title` | `string \| null` | No | — |
| `totalsMainLine` | `number \| null` | No | — |
| `turnProviderId` | `string \| null` | No | — |
| `tweetCount` | `number \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |
| `updatedBy` | `string \| null` | No | — |
| `usId` | `string \| null` | No | — |
| `version` | `string \| null` | No | Protocol version of the event: v1 (legacy) or v2 (all child markets on polymarket-v2 modules). Clients must match exact values and treat unknown values as unsupported. |
| `volume` | `number \| null` | No | — |
| `volume1mo` | `number \| null` | No | — |
| `volume1wk` | `number \| null` | No | — |
| `volume1yr` | `number \| null` | No | — |
| `volume24hr` | `number \| null` | No | — |

> [accordion] bestLines full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   line?: number | null,
>   lineType?: string | null
> }[] | null | null
> ```

> [accordion] eventCreators full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   creatorHandle?: string | null,
>   creatorImage?: string | null,
>   creatorName?: string | null,
>   creatorUrl?: string | null,
>   id?: string | null,
>   updatedAt?: string | null
> }[] | null | null
> ```

> [accordion] externalPartners full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   eventId?: number | null,
>   externalId?: string | null,
>   id?: number | null,
>   partner?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     id?: number | null,
>     name?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null
>   } | null,
>   partnerId?: number | null,
>   updatedAt?: string | null
> }[] | null | null
> ```

> [accordion] facets full type
>
> ```ts theme={null}
> {
>   abbreviation?: string | null,
>   appliesTo?: string[] | null | null,
>   label?: string | null,
>   parents?: string[] | null | null,
>   slug?: string | null
> }[] | null | null
> ```

> [accordion] markets full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   acceptingOrders?: boolean | null,
>   acceptingOrdersTimestamp?: string | null,
>   acceptingOrdersUntil?: string | null,
>   active?: boolean | null,
>   ammType?: string | null,
>   approved?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestAsk?: number | null,
>   bestBid?: number | null,
>   category?: string | null,
>   categoryMailchimpTag?: string | null,
>   chartColor?: string | null,
>   clearBookOnStart?: boolean | null,
>   clobRewards?: {
>     assetAddress?: string | null,
>     conditionId?: string | null,
>     endDate?: string | null,
>     id?: string | null,
>     rewardsAmount?: number | null,
>     rewardsDailyRate?: number | null,
>     startDate?: string | null
>   }[] | null | null,
>   clobTokenIds?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   comboStatus?: string | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   conditionId?: string | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   creator?: string | null,
>   cryptoMarketConfig?: {
>     $schema?: string | null,
>     asset?: string | null,
>     duration?: string | null,
>     id?: string | null,
>     twapEnabled?: boolean | null,
>     twapLookbackSeconds?: number | null
>   } | null,
>   cryptoMarketConfigId?: string | null,
>   curationOrder?: number | null,
>   customLiveness?: number | null,
>   cyom?: boolean | null,
>   denominationToken?: string | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   endDateIso?: string | null,
>   eventStartTime?: string | null,
>   events?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestLines?: {
>       id?: string | null,
>       line?: number | null,
>       lineType?: string | null
>     }[] | null | null,
>     cantEstimate?: boolean | null,
>     carouselMap?: string | null,
>     category?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     color?: string | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     countryName?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     creationDate?: string | null,
>     cumulativeMarkets?: boolean | null,
>     cyom?: boolean | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     elapsed?: string | null,
>     electionType?: string | null,
>     enableNegRisk?: boolean | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     ended?: boolean | null,
>     estimateValue?: boolean | null,
>     estimatedValue?: string | null,
>     eventCreators?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       creatorHandle?: string | null,
>       creatorImage?: string | null,
>       creatorName?: string | null,
>       creatorUrl?: string | null,
>       id?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     eventDate?: string | null,
>     eventMetadata?: Record<string, any> | null,
>     eventWeek?: number | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       eventId?: number | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     featured?: boolean | null,
>     featuredImage?: string | null,
>     featuredOrder?: number | null,
>     finishedTimestamp?: string | null,
>     gameId?: number | null,
>     gmpChartMode?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     lastHighlight?: string | null,
>     lastHighlightAt?: string | null,
>     lastHighlightType?: string | null,
>     liquidity?: number | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     live?: boolean | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: (recursive)[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: (recursive)[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     maxMarketCount?: number | null,
>     moduleType?: string | null,
>     negRisk?: boolean | null,
>     negRiskAugmented?: boolean | null,
>     negRiskFeeBips?: number | null,
>     negRiskMarketID?: string | null,
>     new?: boolean | null,
>     openInterest?: number | null,
>     parentEventId?: number | null,
>     pendingDeployment?: boolean | null,
>     period?: string | null,
>     published_at?: string | null,
>     rescheduledFromGameId?: number | null,
>     resolutionMode?: string | null,
>     resolutionSource?: string | null,
>     restricted?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: string | null,
>     series?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       cgAssetName?: string | null,
>       closed?: boolean | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       description?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: (recursive)[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       featured?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       layout?: string | null,
>       liquidity?: number | null,
>       new?: boolean | null,
>       publishedAt?: string | null,
>       pythTokenID?: string | null,
>       recurrence?: string | null,
>       restricted?: boolean | null,
>       score?: number | null,
>       seriesType?: string | null,
>       slug?: string | null,
>       startDate?: string | null,
>       subtitle?: string | null,
>       templateVariables?: boolean | null,
>       ticker?: string | null,
>       title?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       volume?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     seriesSlug?: string | null,
>     showAllOutcomes?: boolean | null,
>     showMarketImages?: boolean | null,
>     slug?: string | null,
>     sortBy?: string | null,
>     sport?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         sportId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       image?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       primaryTagId?: number | null,
>       resolution?: string | null,
>       series?: string | null,
>       sport?: string | null,
>       tags?: string | null,
>       updatedAt?: string | null
>     } | null,
>     spreadsMainLine?: number | null,
>     startDate?: string | null,
>     startTime?: string | null,
>     subEvents?: (string | null)[] | null | null,
>     subcategory?: string | null,
>     subtitle?: string | null,
>     tag_labels?: string[] | null | null,
>     tag_slugs?: string[] | null | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     teams?: {
>       $schema?: string | null,
>       abbreviation?: string | null,
>       alias?: string | null,
>       color?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         source?: string | null,
>         teamId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       league?: string | null,
>       logo?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       providerId?: number | null,
>       record?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     templateVariables?: string | null,
>     ticker?: string | null,
>     title?: string | null,
>     totalsMainLine?: number | null,
>     turnProviderId?: string | null,
>     tweetCount?: number | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     usId?: string | null,
>     version?: string | null,
>     volume?: number | null,
>     volume1mo?: number | null,
>     volume1wk?: number | null,
>     volume1yr?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   fallbackResolutionType?: string | null,
>   featured?: boolean | null,
>   fee?: string | null,
>   feeExponent?: number | null,
>   feeRate?: number | null,
>   feeSchedule?: {
>     exponent?: number | null,
>     rate?: number | null,
>     rebateRate?: number | null,
>     takerOnly?: boolean | null
>   } | null,
>   feeType?: string | null | null,
>   feesEnabled?: boolean | null,
>   formatType?: string | null,
>   fpmmLive?: boolean | null,
>   funded?: boolean | null,
>   fundedTimestamp?: string | null,
>   gameId?: string | null,
>   gameStartTime?: string | null,
>   groupItemRange?: string | null,
>   groupItemThreshold?: string | null,
>   groupItemTitle?: string | null,
>   hasReviewedDates?: boolean | null,
>   holdingRewardsEnabled?: boolean | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   instrumentIndex?: number | null,
>   instrumentKind?: string | null,
>   lastTradePrice?: number | null,
>   line?: number | null,
>   liquidity?: string | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   liquidityNum?: number | null,
>   lowerBound?: string | null,
>   lowerBoundDate?: string | null,
>   mailchimpTag?: string | null,
>   makerBaseFee?: number | null,
>   makerRebatesFeeShareBps?: number | null,
>   manualActivation?: boolean | null,
>   marketGroup?: number | null,
>   marketMakerAddress?: string | null,
>   marketMetadata?: Record<string, any> | null,
>   marketType?: string | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: (recursive)[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: (recursive)[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   negRisk?: boolean | null,
>   negRiskMarketID?: string | null,
>   negRiskOther?: boolean | null,
>   negRiskRequestID?: string | null,
>   new?: boolean | null,
>   notificationsEnabled?: boolean | null,
>   onchainEventId?: string | null,
>   oneDayPriceChange?: number | null,
>   oneHourPriceChange?: number | null,
>   oneMonthPriceChange?: number | null,
>   oneWeekPriceChange?: number | null,
>   oneYearPriceChange?: number | null,
>   orderMinSize?: number | null,
>   orderPriceMinTickSize?: number | null,
>   outcomePrices?: string | null,
>   outcomes?: string | null,
>   pastSlugs?: string | null,
>   pendingDeployment?: boolean | null,
>   positionIds?: string[] | null | null,
>   question?: string | null,
>   questionID?: string | null,
>   ready?: boolean | null,
>   readyForCron?: boolean | null,
>   readyTimestamp?: string | null,
>   requestId?: string | null,
>   resolutionMechanism?: string | null | null,
>   resolutionSource?: string | null,
>   resolutionStatus?: string | null,
>   resolvedBy?: string | null,
>   restricted?: boolean | null,
>   rewardsMaxSpread?: number | null,
>   rewardsMinSize?: number | null,
>   rfqEnabled?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: number | null,
>   secondsDelay?: number | null,
>   sentDiscord?: boolean | null,
>   seriesColor?: string | null,
>   shortOutcomes?: string | null,
>   showGmpOutcome?: boolean | null,
>   showGmpSeries?: boolean | null,
>   slug?: string | null,
>   sponsorImage?: string | null,
>   sponsorName?: string | null,
>   sportsMarketType?: string | null,
>   spread?: number | null,
>   startDate?: string | null,
>   startDateIso?: string | null,
>   subcategory?: string | null,
>   submitted_by?: string | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   takerBaseFee?: number | null,
>   teamAID?: string | null,
>   teamBID?: string | null,
>   tradingEligible?: boolean | null | null,
>   twitterCardImage?: string | null,
>   twitterCardLastRefreshed?: string | null,
>   twitterCardLastValidated?: string | null,
>   twitterCardLocation?: string | null,
>   umaBond?: string | null,
>   umaEndDate?: string | null,
>   umaEndDateIso?: string | null,
>   umaResolutionStatus?: string | null,
>   umaResolutionStatuses?: string | null,
>   umaReward?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null,
>   upperBound?: string | null,
>   upperBoundDate?: string | null,
>   version?: string | null,
>   volume?: string | null,
>   volume1mo?: number | null,
>   volume1moAmm?: number | null,
>   volume1moClob?: number | null,
>   volume1wk?: number | null,
>   volume1wkAmm?: number | null,
>   volume1wkClob?: number | null,
>   volume1yr?: number | null,
>   volume1yrAmm?: number | null,
>   volume1yrClob?: number | null,
>   volume24hr?: number | null,
>   volume24hrAmm?: number | null,
>   volume24hrClob?: number | null,
>   volumeAmm?: number | null,
>   volumeClob?: number | null,
>   volumeNum?: number | null,
>   wideFormat?: boolean | null,
>   xAxisValue?: string | null,
>   yAxisValue?: string | null
> }[] | null | null
> ```

> [accordion] series full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   cgAssetName?: string | null,
>   closed?: boolean | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   description?: string | null,
>   events?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestLines?: {
>       id?: string | null,
>       line?: number | null,
>       lineType?: string | null
>     }[] | null | null,
>     cantEstimate?: boolean | null,
>     carouselMap?: string | null,
>     category?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     color?: string | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     countryName?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     creationDate?: string | null,
>     cumulativeMarkets?: boolean | null,
>     cyom?: boolean | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     elapsed?: string | null,
>     electionType?: string | null,
>     enableNegRisk?: boolean | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     ended?: boolean | null,
>     estimateValue?: boolean | null,
>     estimatedValue?: string | null,
>     eventCreators?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       creatorHandle?: string | null,
>       creatorImage?: string | null,
>       creatorName?: string | null,
>       creatorUrl?: string | null,
>       id?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     eventDate?: string | null,
>     eventMetadata?: Record<string, any> | null,
>     eventWeek?: number | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       eventId?: number | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     featured?: boolean | null,
>     featuredImage?: string | null,
>     featuredOrder?: number | null,
>     finishedTimestamp?: string | null,
>     gameId?: number | null,
>     gmpChartMode?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     lastHighlight?: string | null,
>     lastHighlightAt?: string | null,
>     lastHighlightType?: string | null,
>     liquidity?: number | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     live?: boolean | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: (recursive)[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: (recursive)[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     maxMarketCount?: number | null,
>     moduleType?: string | null,
>     negRisk?: boolean | null,
>     negRiskAugmented?: boolean | null,
>     negRiskFeeBips?: number | null,
>     negRiskMarketID?: string | null,
>     new?: boolean | null,
>     openInterest?: number | null,
>     parentEventId?: number | null,
>     pendingDeployment?: boolean | null,
>     period?: string | null,
>     published_at?: string | null,
>     rescheduledFromGameId?: number | null,
>     resolutionMode?: string | null,
>     resolutionSource?: string | null,
>     restricted?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: string | null,
>     series?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       cgAssetName?: string | null,
>       closed?: boolean | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       description?: string | null,
>       events?: (recursive)[] | null | null,
>       featured?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       layout?: string | null,
>       liquidity?: number | null,
>       new?: boolean | null,
>       publishedAt?: string | null,
>       pythTokenID?: string | null,
>       recurrence?: string | null,
>       restricted?: boolean | null,
>       score?: number | null,
>       seriesType?: string | null,
>       slug?: string | null,
>       startDate?: string | null,
>       subtitle?: string | null,
>       templateVariables?: boolean | null,
>       ticker?: string | null,
>       title?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       volume?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     seriesSlug?: string | null,
>     showAllOutcomes?: boolean | null,
>     showMarketImages?: boolean | null,
>     slug?: string | null,
>     sortBy?: string | null,
>     sport?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         sportId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       image?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       primaryTagId?: number | null,
>       resolution?: string | null,
>       series?: string | null,
>       sport?: string | null,
>       tags?: string | null,
>       updatedAt?: string | null
>     } | null,
>     spreadsMainLine?: number | null,
>     startDate?: string | null,
>     startTime?: string | null,
>     subEvents?: (string | null)[] | null | null,
>     subcategory?: string | null,
>     subtitle?: string | null,
>     tag_labels?: string[] | null | null,
>     tag_slugs?: string[] | null | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     teams?: {
>       $schema?: string | null,
>       abbreviation?: string | null,
>       alias?: string | null,
>       color?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         source?: string | null,
>         teamId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       league?: string | null,
>       logo?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       providerId?: number | null,
>       record?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     templateVariables?: string | null,
>     ticker?: string | null,
>     title?: string | null,
>     totalsMainLine?: number | null,
>     turnProviderId?: string | null,
>     tweetCount?: number | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     usId?: string | null,
>     version?: string | null,
>     volume?: number | null,
>     volume1mo?: number | null,
>     volume1wk?: number | null,
>     volume1yr?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   featured?: boolean | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   layout?: string | null,
>   liquidity?: number | null,
>   new?: boolean | null,
>   publishedAt?: string | null,
>   pythTokenID?: string | null,
>   recurrence?: string | null,
>   restricted?: boolean | null,
>   score?: number | null,
>   seriesType?: string | null,
>   slug?: string | null,
>   startDate?: string | null,
>   subtitle?: string | null,
>   templateVariables?: boolean | null,
>   ticker?: string | null,
>   title?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   volume?: number | null,
>   volume24hr?: number | null
> }[] | null | null
> ```

> [accordion] sport full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     sportId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   id?: number | null,
>   image?: string | null,
>   name?: string | null,
>   ordering?: string | null,
>   primaryTagId?: number | null,
>   resolution?: string | null,
>   series?: string | null,
>   sport?: string | null,
>   tags?: string | null,
>   updatedAt?: string | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   activeEventsCount?: number | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   forceHide?: boolean | null,
>   forceShow?: boolean | null,
>   id?: string | null,
>   isCarousel?: boolean | null,
>   label?: string | null,
>   publishedAt?: string | null,
>   slug?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null
> }[] | null | null
> ```

> [accordion] teams full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   abbreviation?: string | null,
>   alias?: string | null,
>   color?: string | null,
>   createdAt?: string | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     source?: string | null,
>     teamId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   id?: number | null,
>   league?: string | null,
>   logo?: string | null,
>   name?: string | null,
>   ordering?: string | null,
>   providerId?: number | null,
>   record?: string | null,
>   updatedAt?: string | null
> }[] | null | null
> ```

***

### events.getByPartner

`gamma.events.getByPartner`

Get event by external partner

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.getByPartner({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `partner` | `string` | No | External partner slug. |
| `external_id` | `string` | No | Sport identifier used by the external partner. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `active` | `boolean \| null` | No | — |
| `archived` | `boolean \| null` | No | — |
| `automaticallyActive` | `boolean \| null` | No | — |
| `automaticallyResolved` | `boolean \| null` | No | — |
| `bestLines` | `object[] \| null` | No | — |
| `cantEstimate` | `boolean \| null` | No | — |
| `carouselMap` | `string \| null` | No | — |
| `category` | `string \| null` | No | — |
| `closed` | `boolean \| null` | No | — |
| `closedTime` | `string \| null` | No | — |
| `color` | `string \| null` | No | — |
| `commentCount` | `number \| null` | No | — |
| `commentsEnabled` | `boolean \| null` | No | — |
| `competitive` | `number \| null` | No | — |
| `countryName` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `createdBy` | `string \| null` | No | — |
| `creationDate` | `string \| null` | No | — |
| `cumulativeMarkets` | `boolean \| null` | No | — |
| `cyom` | `boolean \| null` | No | — |
| `deploying` | `boolean \| null` | No | — |
| `deployingTimestamp` | `string \| null` | No | — |
| `description` | `string \| null` | No | — |
| `disqusThread` | `string \| null` | No | — |
| `elapsed` | `string \| null` | No | — |
| `electionType` | `string \| null` | No | — |
| `enableNegRisk` | `boolean \| null` | No | — |
| `enableOrderBook` | `boolean \| null` | No | — |
| `endDate` | `string \| null` | No | — |
| `ended` | `boolean \| null` | No | — |
| `estimateValue` | `boolean \| null` | No | — |
| `estimatedValue` | `string \| null` | No | — |
| `eventCreators` | `object[] \| null` | No | — |
| `eventDate` | `string \| null` | No | — |
| `eventMetadata` | `Record<string, any> \| null` | No | — |
| `eventWeek` | `number \| null` | No | — |
| `externalPartners` | `object[] \| null` | No | — |
| `facets` | `object[] \| null` | No | Facets the event carries, with their ancestors. Present only when the request sets include\_facets=true. Read-only. |
| `featured` | `boolean \| null` | No | — |
| `featuredImage` | `string \| null` | No | — |
| `featuredOrder` | `number \| null` | No | — |
| `finishedTimestamp` | `string \| null` | No | — |
| `gameId` | `number \| null` | No | — |
| `gmpChartMode` | `string \| null` | No | — |
| `icon` | `string \| null` | No | — |
| `id` | `string \| null` | No | — |
| `image` | `string \| null` | No | — |
| `isTemplate` | `boolean \| null` | No | — |
| `lastHighlight` | `string \| null` | No | — |
| `lastHighlightAt` | `string \| null` | No | — |
| `lastHighlightType` | `string \| null` | No | — |
| `liquidity` | `number \| null` | No | — |
| `liquidityAmm` | `number \| null` | No | — |
| `liquidityClob` | `number \| null` | No | — |
| `live` | `boolean \| null` | No | — |
| `markets` | `object[] \| null` | No | — |
| `maxMarketCount` | `number \| null` | No | On-chain capacity: neg-risk arity, or directional real-bucket capacity B (2..32767), excluding thresholds and Void. Null for binary events. Directional capacity is fixed at creation; condition IDs depend on it. |
| `moduleType` | `string \| null` | No | On-chain module of a directional event; null for every other event. Server-owned, immutable from creation; read-only. |
| `negRisk` | `boolean \| null` | No | — |
| `negRiskAugmented` | `boolean \| null` | No | — |
| `negRiskFeeBips` | `number \| null` | No | — |
| `negRiskMarketID` | `string \| null` | No | — |
| `new` | `boolean \| null` | No | — |
| `openInterest` | `number \| null` | No | — |
| `parentEventId` | `number \| null` | No | — |
| `pendingDeployment` | `boolean \| null` | No | — |
| `period` | `string \| null` | No | — |
| `published_at` | `string \| null` | No | — |
| `rescheduledFromGameId` | `number \| null` | No | — |
| `resolutionMode` | `string \| null` | No | Directional event resolution mode: incremental (buckets may be appended after deployment) or atomic (all buckets exist at creation). Null for non-directional events. Server-owned, immutable from creation; read-only. |
| `resolutionSource` | `string \| null` | No | — |
| `restricted` | `boolean \| null` | No | — |
| `scheduledDeploymentTimestamp` | `string \| null` | No | — |
| `score` | `string \| null` | No | — |
| `series` | `object[] \| null` | No | — |
| `seriesSlug` | `string \| null` | No | — |
| `showAllOutcomes` | `boolean \| null` | No | — |
| `showMarketImages` | `boolean \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `sortBy` | `string \| null` | No | — |
| `sport` | `object \| null` | No | — |
| `spreadsMainLine` | `number \| null` | No | — |
| `startDate` | `string \| null` | No | — |
| `startTime` | `string \| null` | No | — |
| `subEvents` | `(string \| null)[] \| null \| null` | No | — |
| `subcategory` | `string \| null` | No | — |
| `subtitle` | `string \| null` | No | — |
| `tag_labels` | `string[] \| null \| null` | No | — |
| `tag_slugs` | `string[] \| null \| null` | No | — |
| `tags` | `object[] \| null` | No | — |
| `teams` | `object[] \| null` | No | — |
| `templateVariables` | `string \| null` | No | — |
| `ticker` | `string \| null` | No | — |
| `title` | `string \| null` | No | — |
| `totalsMainLine` | `number \| null` | No | — |
| `turnProviderId` | `string \| null` | No | — |
| `tweetCount` | `number \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |
| `updatedBy` | `string \| null` | No | — |
| `usId` | `string \| null` | No | — |
| `version` | `string \| null` | No | Protocol version of the event: v1 (legacy) or v2 (all child markets on polymarket-v2 modules). Clients must match exact values and treat unknown values as unsupported. |
| `volume` | `number \| null` | No | — |
| `volume1mo` | `number \| null` | No | — |
| `volume1wk` | `number \| null` | No | — |
| `volume1yr` | `number \| null` | No | — |
| `volume24hr` | `number \| null` | No | — |

> [accordion] bestLines full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   line?: number | null,
>   lineType?: string | null
> }[] | null | null
> ```

> [accordion] eventCreators full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   creatorHandle?: string | null,
>   creatorImage?: string | null,
>   creatorName?: string | null,
>   creatorUrl?: string | null,
>   id?: string | null,
>   updatedAt?: string | null
> }[] | null | null
> ```

> [accordion] externalPartners full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   eventId?: number | null,
>   externalId?: string | null,
>   id?: number | null,
>   partner?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     id?: number | null,
>     name?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null
>   } | null,
>   partnerId?: number | null,
>   updatedAt?: string | null
> }[] | null | null
> ```

> [accordion] facets full type
>
> ```ts theme={null}
> {
>   abbreviation?: string | null,
>   appliesTo?: string[] | null | null,
>   label?: string | null,
>   parents?: string[] | null | null,
>   slug?: string | null
> }[] | null | null
> ```

> [accordion] markets full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   acceptingOrders?: boolean | null,
>   acceptingOrdersTimestamp?: string | null,
>   acceptingOrdersUntil?: string | null,
>   active?: boolean | null,
>   ammType?: string | null,
>   approved?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestAsk?: number | null,
>   bestBid?: number | null,
>   category?: string | null,
>   categoryMailchimpTag?: string | null,
>   chartColor?: string | null,
>   clearBookOnStart?: boolean | null,
>   clobRewards?: {
>     assetAddress?: string | null,
>     conditionId?: string | null,
>     endDate?: string | null,
>     id?: string | null,
>     rewardsAmount?: number | null,
>     rewardsDailyRate?: number | null,
>     startDate?: string | null
>   }[] | null | null,
>   clobTokenIds?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   comboStatus?: string | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   conditionId?: string | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   creator?: string | null,
>   cryptoMarketConfig?: {
>     $schema?: string | null,
>     asset?: string | null,
>     duration?: string | null,
>     id?: string | null,
>     twapEnabled?: boolean | null,
>     twapLookbackSeconds?: number | null
>   } | null,
>   cryptoMarketConfigId?: string | null,
>   curationOrder?: number | null,
>   customLiveness?: number | null,
>   cyom?: boolean | null,
>   denominationToken?: string | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   endDateIso?: string | null,
>   eventStartTime?: string | null,
>   events?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestLines?: {
>       id?: string | null,
>       line?: number | null,
>       lineType?: string | null
>     }[] | null | null,
>     cantEstimate?: boolean | null,
>     carouselMap?: string | null,
>     category?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     color?: string | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     countryName?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     creationDate?: string | null,
>     cumulativeMarkets?: boolean | null,
>     cyom?: boolean | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     elapsed?: string | null,
>     electionType?: string | null,
>     enableNegRisk?: boolean | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     ended?: boolean | null,
>     estimateValue?: boolean | null,
>     estimatedValue?: string | null,
>     eventCreators?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       creatorHandle?: string | null,
>       creatorImage?: string | null,
>       creatorName?: string | null,
>       creatorUrl?: string | null,
>       id?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     eventDate?: string | null,
>     eventMetadata?: Record<string, any> | null,
>     eventWeek?: number | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       eventId?: number | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     featured?: boolean | null,
>     featuredImage?: string | null,
>     featuredOrder?: number | null,
>     finishedTimestamp?: string | null,
>     gameId?: number | null,
>     gmpChartMode?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     lastHighlight?: string | null,
>     lastHighlightAt?: string | null,
>     lastHighlightType?: string | null,
>     liquidity?: number | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     live?: boolean | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: (recursive)[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: (recursive)[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     maxMarketCount?: number | null,
>     moduleType?: string | null,
>     negRisk?: boolean | null,
>     negRiskAugmented?: boolean | null,
>     negRiskFeeBips?: number | null,
>     negRiskMarketID?: string | null,
>     new?: boolean | null,
>     openInterest?: number | null,
>     parentEventId?: number | null,
>     pendingDeployment?: boolean | null,
>     period?: string | null,
>     published_at?: string | null,
>     rescheduledFromGameId?: number | null,
>     resolutionMode?: string | null,
>     resolutionSource?: string | null,
>     restricted?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: string | null,
>     series?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       cgAssetName?: string | null,
>       closed?: boolean | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       description?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: (recursive)[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       featured?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       layout?: string | null,
>       liquidity?: number | null,
>       new?: boolean | null,
>       publishedAt?: string | null,
>       pythTokenID?: string | null,
>       recurrence?: string | null,
>       restricted?: boolean | null,
>       score?: number | null,
>       seriesType?: string | null,
>       slug?: string | null,
>       startDate?: string | null,
>       subtitle?: string | null,
>       templateVariables?: boolean | null,
>       ticker?: string | null,
>       title?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       volume?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     seriesSlug?: string | null,
>     showAllOutcomes?: boolean | null,
>     showMarketImages?: boolean | null,
>     slug?: string | null,
>     sortBy?: string | null,
>     sport?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         sportId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       image?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       primaryTagId?: number | null,
>       resolution?: string | null,
>       series?: string | null,
>       sport?: string | null,
>       tags?: string | null,
>       updatedAt?: string | null
>     } | null,
>     spreadsMainLine?: number | null,
>     startDate?: string | null,
>     startTime?: string | null,
>     subEvents?: (string | null)[] | null | null,
>     subcategory?: string | null,
>     subtitle?: string | null,
>     tag_labels?: string[] | null | null,
>     tag_slugs?: string[] | null | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     teams?: {
>       $schema?: string | null,
>       abbreviation?: string | null,
>       alias?: string | null,
>       color?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         source?: string | null,
>         teamId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       league?: string | null,
>       logo?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       providerId?: number | null,
>       record?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     templateVariables?: string | null,
>     ticker?: string | null,
>     title?: string | null,
>     totalsMainLine?: number | null,
>     turnProviderId?: string | null,
>     tweetCount?: number | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     usId?: string | null,
>     version?: string | null,
>     volume?: number | null,
>     volume1mo?: number | null,
>     volume1wk?: number | null,
>     volume1yr?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   fallbackResolutionType?: string | null,
>   featured?: boolean | null,
>   fee?: string | null,
>   feeExponent?: number | null,
>   feeRate?: number | null,
>   feeSchedule?: {
>     exponent?: number | null,
>     rate?: number | null,
>     rebateRate?: number | null,
>     takerOnly?: boolean | null
>   } | null,
>   feeType?: string | null | null,
>   feesEnabled?: boolean | null,
>   formatType?: string | null,
>   fpmmLive?: boolean | null,
>   funded?: boolean | null,
>   fundedTimestamp?: string | null,
>   gameId?: string | null,
>   gameStartTime?: string | null,
>   groupItemRange?: string | null,
>   groupItemThreshold?: string | null,
>   groupItemTitle?: string | null,
>   hasReviewedDates?: boolean | null,
>   holdingRewardsEnabled?: boolean | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   instrumentIndex?: number | null,
>   instrumentKind?: string | null,
>   lastTradePrice?: number | null,
>   line?: number | null,
>   liquidity?: string | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   liquidityNum?: number | null,
>   lowerBound?: string | null,
>   lowerBoundDate?: string | null,
>   mailchimpTag?: string | null,
>   makerBaseFee?: number | null,
>   makerRebatesFeeShareBps?: number | null,
>   manualActivation?: boolean | null,
>   marketGroup?: number | null,
>   marketMakerAddress?: string | null,
>   marketMetadata?: Record<string, any> | null,
>   marketType?: string | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: (recursive)[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: (recursive)[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   negRisk?: boolean | null,
>   negRiskMarketID?: string | null,
>   negRiskOther?: boolean | null,
>   negRiskRequestID?: string | null,
>   new?: boolean | null,
>   notificationsEnabled?: boolean | null,
>   onchainEventId?: string | null,
>   oneDayPriceChange?: number | null,
>   oneHourPriceChange?: number | null,
>   oneMonthPriceChange?: number | null,
>   oneWeekPriceChange?: number | null,
>   oneYearPriceChange?: number | null,
>   orderMinSize?: number | null,
>   orderPriceMinTickSize?: number | null,
>   outcomePrices?: string | null,
>   outcomes?: string | null,
>   pastSlugs?: string | null,
>   pendingDeployment?: boolean | null,
>   positionIds?: string[] | null | null,
>   question?: string | null,
>   questionID?: string | null,
>   ready?: boolean | null,
>   readyForCron?: boolean | null,
>   readyTimestamp?: string | null,
>   requestId?: string | null,
>   resolutionMechanism?: string | null | null,
>   resolutionSource?: string | null,
>   resolutionStatus?: string | null,
>   resolvedBy?: string | null,
>   restricted?: boolean | null,
>   rewardsMaxSpread?: number | null,
>   rewardsMinSize?: number | null,
>   rfqEnabled?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: number | null,
>   secondsDelay?: number | null,
>   sentDiscord?: boolean | null,
>   seriesColor?: string | null,
>   shortOutcomes?: string | null,
>   showGmpOutcome?: boolean | null,
>   showGmpSeries?: boolean | null,
>   slug?: string | null,
>   sponsorImage?: string | null,
>   sponsorName?: string | null,
>   sportsMarketType?: string | null,
>   spread?: number | null,
>   startDate?: string | null,
>   startDateIso?: string | null,
>   subcategory?: string | null,
>   submitted_by?: string | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   takerBaseFee?: number | null,
>   teamAID?: string | null,
>   teamBID?: string | null,
>   tradingEligible?: boolean | null | null,
>   twitterCardImage?: string | null,
>   twitterCardLastRefreshed?: string | null,
>   twitterCardLastValidated?: string | null,
>   twitterCardLocation?: string | null,
>   umaBond?: string | null,
>   umaEndDate?: string | null,
>   umaEndDateIso?: string | null,
>   umaResolutionStatus?: string | null,
>   umaResolutionStatuses?: string | null,
>   umaReward?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null,
>   upperBound?: string | null,
>   upperBoundDate?: string | null,
>   version?: string | null,
>   volume?: string | null,
>   volume1mo?: number | null,
>   volume1moAmm?: number | null,
>   volume1moClob?: number | null,
>   volume1wk?: number | null,
>   volume1wkAmm?: number | null,
>   volume1wkClob?: number | null,
>   volume1yr?: number | null,
>   volume1yrAmm?: number | null,
>   volume1yrClob?: number | null,
>   volume24hr?: number | null,
>   volume24hrAmm?: number | null,
>   volume24hrClob?: number | null,
>   volumeAmm?: number | null,
>   volumeClob?: number | null,
>   volumeNum?: number | null,
>   wideFormat?: boolean | null,
>   xAxisValue?: string | null,
>   yAxisValue?: string | null
> }[] | null | null
> ```

> [accordion] series full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   cgAssetName?: string | null,
>   closed?: boolean | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   description?: string | null,
>   events?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestLines?: {
>       id?: string | null,
>       line?: number | null,
>       lineType?: string | null
>     }[] | null | null,
>     cantEstimate?: boolean | null,
>     carouselMap?: string | null,
>     category?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     color?: string | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     countryName?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     creationDate?: string | null,
>     cumulativeMarkets?: boolean | null,
>     cyom?: boolean | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     elapsed?: string | null,
>     electionType?: string | null,
>     enableNegRisk?: boolean | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     ended?: boolean | null,
>     estimateValue?: boolean | null,
>     estimatedValue?: string | null,
>     eventCreators?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       creatorHandle?: string | null,
>       creatorImage?: string | null,
>       creatorName?: string | null,
>       creatorUrl?: string | null,
>       id?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     eventDate?: string | null,
>     eventMetadata?: Record<string, any> | null,
>     eventWeek?: number | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       eventId?: number | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     featured?: boolean | null,
>     featuredImage?: string | null,
>     featuredOrder?: number | null,
>     finishedTimestamp?: string | null,
>     gameId?: number | null,
>     gmpChartMode?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     lastHighlight?: string | null,
>     lastHighlightAt?: string | null,
>     lastHighlightType?: string | null,
>     liquidity?: number | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     live?: boolean | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: (recursive)[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: (recursive)[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     maxMarketCount?: number | null,
>     moduleType?: string | null,
>     negRisk?: boolean | null,
>     negRiskAugmented?: boolean | null,
>     negRiskFeeBips?: number | null,
>     negRiskMarketID?: string | null,
>     new?: boolean | null,
>     openInterest?: number | null,
>     parentEventId?: number | null,
>     pendingDeployment?: boolean | null,
>     period?: string | null,
>     published_at?: string | null,
>     rescheduledFromGameId?: number | null,
>     resolutionMode?: string | null,
>     resolutionSource?: string | null,
>     restricted?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: string | null,
>     series?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       cgAssetName?: string | null,
>       closed?: boolean | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       description?: string | null,
>       events?: (recursive)[] | null | null,
>       featured?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       layout?: string | null,
>       liquidity?: number | null,
>       new?: boolean | null,
>       publishedAt?: string | null,
>       pythTokenID?: string | null,
>       recurrence?: string | null,
>       restricted?: boolean | null,
>       score?: number | null,
>       seriesType?: string | null,
>       slug?: string | null,
>       startDate?: string | null,
>       subtitle?: string | null,
>       templateVariables?: boolean | null,
>       ticker?: string | null,
>       title?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       volume?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     seriesSlug?: string | null,
>     showAllOutcomes?: boolean | null,
>     showMarketImages?: boolean | null,
>     slug?: string | null,
>     sortBy?: string | null,
>     sport?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         sportId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       image?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       primaryTagId?: number | null,
>       resolution?: string | null,
>       series?: string | null,
>       sport?: string | null,
>       tags?: string | null,
>       updatedAt?: string | null
>     } | null,
>     spreadsMainLine?: number | null,
>     startDate?: string | null,
>     startTime?: string | null,
>     subEvents?: (string | null)[] | null | null,
>     subcategory?: string | null,
>     subtitle?: string | null,
>     tag_labels?: string[] | null | null,
>     tag_slugs?: string[] | null | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     teams?: {
>       $schema?: string | null,
>       abbreviation?: string | null,
>       alias?: string | null,
>       color?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         source?: string | null,
>         teamId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       league?: string | null,
>       logo?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       providerId?: number | null,
>       record?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     templateVariables?: string | null,
>     ticker?: string | null,
>     title?: string | null,
>     totalsMainLine?: number | null,
>     turnProviderId?: string | null,
>     tweetCount?: number | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     usId?: string | null,
>     version?: string | null,
>     volume?: number | null,
>     volume1mo?: number | null,
>     volume1wk?: number | null,
>     volume1yr?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   featured?: boolean | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   layout?: string | null,
>   liquidity?: number | null,
>   new?: boolean | null,
>   publishedAt?: string | null,
>   pythTokenID?: string | null,
>   recurrence?: string | null,
>   restricted?: boolean | null,
>   score?: number | null,
>   seriesType?: string | null,
>   slug?: string | null,
>   startDate?: string | null,
>   subtitle?: string | null,
>   templateVariables?: boolean | null,
>   ticker?: string | null,
>   title?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   volume?: number | null,
>   volume24hr?: number | null
> }[] | null | null
> ```

> [accordion] sport full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     sportId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   id?: number | null,
>   image?: string | null,
>   name?: string | null,
>   ordering?: string | null,
>   primaryTagId?: number | null,
>   resolution?: string | null,
>   series?: string | null,
>   sport?: string | null,
>   tags?: string | null,
>   updatedAt?: string | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   activeEventsCount?: number | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   forceHide?: boolean | null,
>   forceShow?: boolean | null,
>   id?: string | null,
>   isCarousel?: boolean | null,
>   label?: string | null,
>   publishedAt?: string | null,
>   slug?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null
> }[] | null | null
> ```

> [accordion] teams full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   abbreviation?: string | null,
>   alias?: string | null,
>   color?: string | null,
>   createdAt?: string | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     source?: string | null,
>     teamId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   id?: number | null,
>   league?: string | null,
>   logo?: string | null,
>   name?: string | null,
>   ordering?: string | null,
>   providerId?: number | null,
>   record?: string | null,
>   updatedAt?: string | null
> }[] | null | null
> ```

***

### events.getBySlug

`gamma.events.getBySlug`

Get event by slug

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.getBySlug({ slug: 'will-bitcoin-hit-100k-in-2026' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string` | Yes | Event slug |
| `include_best_lines` | `string` | No | Include best lines (true/false) |
| `include_facets` | `string` | No | Include the facets each event carries, and each market when markets are included (true/false). Facets are the assigned ones plus their ancestors; a market carries only its own, not its event's. |
| `locale` | `string` | No | Locale code |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `active` | `boolean \| null` | No | — |
| `archived` | `boolean \| null` | No | — |
| `automaticallyActive` | `boolean \| null` | No | — |
| `automaticallyResolved` | `boolean \| null` | No | — |
| `bestLines` | `object[] \| null` | No | — |
| `cantEstimate` | `boolean \| null` | No | — |
| `carouselMap` | `string \| null` | No | — |
| `category` | `string \| null` | No | — |
| `closed` | `boolean \| null` | No | — |
| `closedTime` | `string \| null` | No | — |
| `color` | `string \| null` | No | — |
| `commentCount` | `number \| null` | No | — |
| `commentsEnabled` | `boolean \| null` | No | — |
| `competitive` | `number \| null` | No | — |
| `countryName` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `createdBy` | `string \| null` | No | — |
| `creationDate` | `string \| null` | No | — |
| `cumulativeMarkets` | `boolean \| null` | No | — |
| `cyom` | `boolean \| null` | No | — |
| `deploying` | `boolean \| null` | No | — |
| `deployingTimestamp` | `string \| null` | No | — |
| `description` | `string \| null` | No | — |
| `disqusThread` | `string \| null` | No | — |
| `elapsed` | `string \| null` | No | — |
| `electionType` | `string \| null` | No | — |
| `enableNegRisk` | `boolean \| null` | No | — |
| `enableOrderBook` | `boolean \| null` | No | — |
| `endDate` | `string \| null` | No | — |
| `ended` | `boolean \| null` | No | — |
| `estimateValue` | `boolean \| null` | No | — |
| `estimatedValue` | `string \| null` | No | — |
| `eventCreators` | `object[] \| null` | No | — |
| `eventDate` | `string \| null` | No | — |
| `eventMetadata` | `Record<string, any> \| null` | No | — |
| `eventWeek` | `number \| null` | No | — |
| `externalPartners` | `object[] \| null` | No | — |
| `facets` | `object[] \| null` | No | Facets the event carries, with their ancestors. Present only when the request sets include\_facets=true. Read-only. |
| `featured` | `boolean \| null` | No | — |
| `featuredImage` | `string \| null` | No | — |
| `featuredOrder` | `number \| null` | No | — |
| `finishedTimestamp` | `string \| null` | No | — |
| `gameId` | `number \| null` | No | — |
| `gmpChartMode` | `string \| null` | No | — |
| `icon` | `string \| null` | No | — |
| `id` | `string \| null` | No | — |
| `image` | `string \| null` | No | — |
| `isTemplate` | `boolean \| null` | No | — |
| `lastHighlight` | `string \| null` | No | — |
| `lastHighlightAt` | `string \| null` | No | — |
| `lastHighlightType` | `string \| null` | No | — |
| `liquidity` | `number \| null` | No | — |
| `liquidityAmm` | `number \| null` | No | — |
| `liquidityClob` | `number \| null` | No | — |
| `live` | `boolean \| null` | No | — |
| `markets` | `object[] \| null` | No | — |
| `maxMarketCount` | `number \| null` | No | On-chain capacity: neg-risk arity, or directional real-bucket capacity B (2..32767), excluding thresholds and Void. Null for binary events. Directional capacity is fixed at creation; condition IDs depend on it. |
| `moduleType` | `string \| null` | No | On-chain module of a directional event; null for every other event. Server-owned, immutable from creation; read-only. |
| `negRisk` | `boolean \| null` | No | — |
| `negRiskAugmented` | `boolean \| null` | No | — |
| `negRiskFeeBips` | `number \| null` | No | — |
| `negRiskMarketID` | `string \| null` | No | — |
| `new` | `boolean \| null` | No | — |
| `openInterest` | `number \| null` | No | — |
| `parentEventId` | `number \| null` | No | — |
| `pendingDeployment` | `boolean \| null` | No | — |
| `period` | `string \| null` | No | — |
| `published_at` | `string \| null` | No | — |
| `rescheduledFromGameId` | `number \| null` | No | — |
| `resolutionMode` | `string \| null` | No | Directional event resolution mode: incremental (buckets may be appended after deployment) or atomic (all buckets exist at creation). Null for non-directional events. Server-owned, immutable from creation; read-only. |
| `resolutionSource` | `string \| null` | No | — |
| `restricted` | `boolean \| null` | No | — |
| `scheduledDeploymentTimestamp` | `string \| null` | No | — |
| `score` | `string \| null` | No | — |
| `series` | `object[] \| null` | No | — |
| `seriesSlug` | `string \| null` | No | — |
| `showAllOutcomes` | `boolean \| null` | No | — |
| `showMarketImages` | `boolean \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `sortBy` | `string \| null` | No | — |
| `sport` | `object \| null` | No | — |
| `spreadsMainLine` | `number \| null` | No | — |
| `startDate` | `string \| null` | No | — |
| `startTime` | `string \| null` | No | — |
| `subEvents` | `(string \| null)[] \| null \| null` | No | — |
| `subcategory` | `string \| null` | No | — |
| `subtitle` | `string \| null` | No | — |
| `tag_labels` | `string[] \| null \| null` | No | — |
| `tag_slugs` | `string[] \| null \| null` | No | — |
| `tags` | `object[] \| null` | No | — |
| `teams` | `object[] \| null` | No | — |
| `templateVariables` | `string \| null` | No | — |
| `ticker` | `string \| null` | No | — |
| `title` | `string \| null` | No | — |
| `totalsMainLine` | `number \| null` | No | — |
| `turnProviderId` | `string \| null` | No | — |
| `tweetCount` | `number \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |
| `updatedBy` | `string \| null` | No | — |
| `usId` | `string \| null` | No | — |
| `version` | `string \| null` | No | Protocol version of the event: v1 (legacy) or v2 (all child markets on polymarket-v2 modules). Clients must match exact values and treat unknown values as unsupported. |
| `volume` | `number \| null` | No | — |
| `volume1mo` | `number \| null` | No | — |
| `volume1wk` | `number \| null` | No | — |
| `volume1yr` | `number \| null` | No | — |
| `volume24hr` | `number \| null` | No | — |

> [accordion] bestLines full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   line?: number | null,
>   lineType?: string | null
> }[] | null | null
> ```

> [accordion] eventCreators full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   creatorHandle?: string | null,
>   creatorImage?: string | null,
>   creatorName?: string | null,
>   creatorUrl?: string | null,
>   id?: string | null,
>   updatedAt?: string | null
> }[] | null | null
> ```

> [accordion] externalPartners full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   eventId?: number | null,
>   externalId?: string | null,
>   id?: number | null,
>   partner?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     id?: number | null,
>     name?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null
>   } | null,
>   partnerId?: number | null,
>   updatedAt?: string | null
> }[] | null | null
> ```

> [accordion] facets full type
>
> ```ts theme={null}
> {
>   abbreviation?: string | null,
>   appliesTo?: string[] | null | null,
>   label?: string | null,
>   parents?: string[] | null | null,
>   slug?: string | null
> }[] | null | null
> ```

> [accordion] markets full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   acceptingOrders?: boolean | null,
>   acceptingOrdersTimestamp?: string | null,
>   acceptingOrdersUntil?: string | null,
>   active?: boolean | null,
>   ammType?: string | null,
>   approved?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestAsk?: number | null,
>   bestBid?: number | null,
>   category?: string | null,
>   categoryMailchimpTag?: string | null,
>   chartColor?: string | null,
>   clearBookOnStart?: boolean | null,
>   clobRewards?: {
>     assetAddress?: string | null,
>     conditionId?: string | null,
>     endDate?: string | null,
>     id?: string | null,
>     rewardsAmount?: number | null,
>     rewardsDailyRate?: number | null,
>     startDate?: string | null
>   }[] | null | null,
>   clobTokenIds?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   comboStatus?: string | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   conditionId?: string | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   creator?: string | null,
>   cryptoMarketConfig?: {
>     $schema?: string | null,
>     asset?: string | null,
>     duration?: string | null,
>     id?: string | null,
>     twapEnabled?: boolean | null,
>     twapLookbackSeconds?: number | null
>   } | null,
>   cryptoMarketConfigId?: string | null,
>   curationOrder?: number | null,
>   customLiveness?: number | null,
>   cyom?: boolean | null,
>   denominationToken?: string | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   endDateIso?: string | null,
>   eventStartTime?: string | null,
>   events?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestLines?: {
>       id?: string | null,
>       line?: number | null,
>       lineType?: string | null
>     }[] | null | null,
>     cantEstimate?: boolean | null,
>     carouselMap?: string | null,
>     category?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     color?: string | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     countryName?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     creationDate?: string | null,
>     cumulativeMarkets?: boolean | null,
>     cyom?: boolean | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     elapsed?: string | null,
>     electionType?: string | null,
>     enableNegRisk?: boolean | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     ended?: boolean | null,
>     estimateValue?: boolean | null,
>     estimatedValue?: string | null,
>     eventCreators?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       creatorHandle?: string | null,
>       creatorImage?: string | null,
>       creatorName?: string | null,
>       creatorUrl?: string | null,
>       id?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     eventDate?: string | null,
>     eventMetadata?: Record<string, any> | null,
>     eventWeek?: number | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       eventId?: number | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     featured?: boolean | null,
>     featuredImage?: string | null,
>     featuredOrder?: number | null,
>     finishedTimestamp?: string | null,
>     gameId?: number | null,
>     gmpChartMode?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     lastHighlight?: string | null,
>     lastHighlightAt?: string | null,
>     lastHighlightType?: string | null,
>     liquidity?: number | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     live?: boolean | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: (recursive)[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: (recursive)[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     maxMarketCount?: number | null,
>     moduleType?: string | null,
>     negRisk?: boolean | null,
>     negRiskAugmented?: boolean | null,
>     negRiskFeeBips?: number | null,
>     negRiskMarketID?: string | null,
>     new?: boolean | null,
>     openInterest?: number | null,
>     parentEventId?: number | null,
>     pendingDeployment?: boolean | null,
>     period?: string | null,
>     published_at?: string | null,
>     rescheduledFromGameId?: number | null,
>     resolutionMode?: string | null,
>     resolutionSource?: string | null,
>     restricted?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: string | null,
>     series?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       cgAssetName?: string | null,
>       closed?: boolean | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       description?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: (recursive)[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       featured?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       layout?: string | null,
>       liquidity?: number | null,
>       new?: boolean | null,
>       publishedAt?: string | null,
>       pythTokenID?: string | null,
>       recurrence?: string | null,
>       restricted?: boolean | null,
>       score?: number | null,
>       seriesType?: string | null,
>       slug?: string | null,
>       startDate?: string | null,
>       subtitle?: string | null,
>       templateVariables?: boolean | null,
>       ticker?: string | null,
>       title?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       volume?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     seriesSlug?: string | null,
>     showAllOutcomes?: boolean | null,
>     showMarketImages?: boolean | null,
>     slug?: string | null,
>     sortBy?: string | null,
>     sport?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         sportId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       image?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       primaryTagId?: number | null,
>       resolution?: string | null,
>       series?: string | null,
>       sport?: string | null,
>       tags?: string | null,
>       updatedAt?: string | null
>     } | null,
>     spreadsMainLine?: number | null,
>     startDate?: string | null,
>     startTime?: string | null,
>     subEvents?: (string | null)[] | null | null,
>     subcategory?: string | null,
>     subtitle?: string | null,
>     tag_labels?: string[] | null | null,
>     tag_slugs?: string[] | null | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     teams?: {
>       $schema?: string | null,
>       abbreviation?: string | null,
>       alias?: string | null,
>       color?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         source?: string | null,
>         teamId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       league?: string | null,
>       logo?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       providerId?: number | null,
>       record?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     templateVariables?: string | null,
>     ticker?: string | null,
>     title?: string | null,
>     totalsMainLine?: number | null,
>     turnProviderId?: string | null,
>     tweetCount?: number | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     usId?: string | null,
>     version?: string | null,
>     volume?: number | null,
>     volume1mo?: number | null,
>     volume1wk?: number | null,
>     volume1yr?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   fallbackResolutionType?: string | null,
>   featured?: boolean | null,
>   fee?: string | null,
>   feeExponent?: number | null,
>   feeRate?: number | null,
>   feeSchedule?: {
>     exponent?: number | null,
>     rate?: number | null,
>     rebateRate?: number | null,
>     takerOnly?: boolean | null
>   } | null,
>   feeType?: string | null | null,
>   feesEnabled?: boolean | null,
>   formatType?: string | null,
>   fpmmLive?: boolean | null,
>   funded?: boolean | null,
>   fundedTimestamp?: string | null,
>   gameId?: string | null,
>   gameStartTime?: string | null,
>   groupItemRange?: string | null,
>   groupItemThreshold?: string | null,
>   groupItemTitle?: string | null,
>   hasReviewedDates?: boolean | null,
>   holdingRewardsEnabled?: boolean | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   instrumentIndex?: number | null,
>   instrumentKind?: string | null,
>   lastTradePrice?: number | null,
>   line?: number | null,
>   liquidity?: string | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   liquidityNum?: number | null,
>   lowerBound?: string | null,
>   lowerBoundDate?: string | null,
>   mailchimpTag?: string | null,
>   makerBaseFee?: number | null,
>   makerRebatesFeeShareBps?: number | null,
>   manualActivation?: boolean | null,
>   marketGroup?: number | null,
>   marketMakerAddress?: string | null,
>   marketMetadata?: Record<string, any> | null,
>   marketType?: string | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: (recursive)[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: (recursive)[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   negRisk?: boolean | null,
>   negRiskMarketID?: string | null,
>   negRiskOther?: boolean | null,
>   negRiskRequestID?: string | null,
>   new?: boolean | null,
>   notificationsEnabled?: boolean | null,
>   onchainEventId?: string | null,
>   oneDayPriceChange?: number | null,
>   oneHourPriceChange?: number | null,
>   oneMonthPriceChange?: number | null,
>   oneWeekPriceChange?: number | null,
>   oneYearPriceChange?: number | null,
>   orderMinSize?: number | null,
>   orderPriceMinTickSize?: number | null,
>   outcomePrices?: string | null,
>   outcomes?: string | null,
>   pastSlugs?: string | null,
>   pendingDeployment?: boolean | null,
>   positionIds?: string[] | null | null,
>   question?: string | null,
>   questionID?: string | null,
>   ready?: boolean | null,
>   readyForCron?: boolean | null,
>   readyTimestamp?: string | null,
>   requestId?: string | null,
>   resolutionMechanism?: string | null | null,
>   resolutionSource?: string | null,
>   resolutionStatus?: string | null,
>   resolvedBy?: string | null,
>   restricted?: boolean | null,
>   rewardsMaxSpread?: number | null,
>   rewardsMinSize?: number | null,
>   rfqEnabled?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: number | null,
>   secondsDelay?: number | null,
>   sentDiscord?: boolean | null,
>   seriesColor?: string | null,
>   shortOutcomes?: string | null,
>   showGmpOutcome?: boolean | null,
>   showGmpSeries?: boolean | null,
>   slug?: string | null,
>   sponsorImage?: string | null,
>   sponsorName?: string | null,
>   sportsMarketType?: string | null,
>   spread?: number | null,
>   startDate?: string | null,
>   startDateIso?: string | null,
>   subcategory?: string | null,
>   submitted_by?: string | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   takerBaseFee?: number | null,
>   teamAID?: string | null,
>   teamBID?: string | null,
>   tradingEligible?: boolean | null | null,
>   twitterCardImage?: string | null,
>   twitterCardLastRefreshed?: string | null,
>   twitterCardLastValidated?: string | null,
>   twitterCardLocation?: string | null,
>   umaBond?: string | null,
>   umaEndDate?: string | null,
>   umaEndDateIso?: string | null,
>   umaResolutionStatus?: string | null,
>   umaResolutionStatuses?: string | null,
>   umaReward?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null,
>   upperBound?: string | null,
>   upperBoundDate?: string | null,
>   version?: string | null,
>   volume?: string | null,
>   volume1mo?: number | null,
>   volume1moAmm?: number | null,
>   volume1moClob?: number | null,
>   volume1wk?: number | null,
>   volume1wkAmm?: number | null,
>   volume1wkClob?: number | null,
>   volume1yr?: number | null,
>   volume1yrAmm?: number | null,
>   volume1yrClob?: number | null,
>   volume24hr?: number | null,
>   volume24hrAmm?: number | null,
>   volume24hrClob?: number | null,
>   volumeAmm?: number | null,
>   volumeClob?: number | null,
>   volumeNum?: number | null,
>   wideFormat?: boolean | null,
>   xAxisValue?: string | null,
>   yAxisValue?: string | null
> }[] | null | null
> ```

> [accordion] series full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   cgAssetName?: string | null,
>   closed?: boolean | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   description?: string | null,
>   events?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestLines?: {
>       id?: string | null,
>       line?: number | null,
>       lineType?: string | null
>     }[] | null | null,
>     cantEstimate?: boolean | null,
>     carouselMap?: string | null,
>     category?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     color?: string | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     countryName?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     creationDate?: string | null,
>     cumulativeMarkets?: boolean | null,
>     cyom?: boolean | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     elapsed?: string | null,
>     electionType?: string | null,
>     enableNegRisk?: boolean | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     ended?: boolean | null,
>     estimateValue?: boolean | null,
>     estimatedValue?: string | null,
>     eventCreators?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       creatorHandle?: string | null,
>       creatorImage?: string | null,
>       creatorName?: string | null,
>       creatorUrl?: string | null,
>       id?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     eventDate?: string | null,
>     eventMetadata?: Record<string, any> | null,
>     eventWeek?: number | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       eventId?: number | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     featured?: boolean | null,
>     featuredImage?: string | null,
>     featuredOrder?: number | null,
>     finishedTimestamp?: string | null,
>     gameId?: number | null,
>     gmpChartMode?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     lastHighlight?: string | null,
>     lastHighlightAt?: string | null,
>     lastHighlightType?: string | null,
>     liquidity?: number | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     live?: boolean | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: (recursive)[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: (recursive)[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: (recursive)[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     maxMarketCount?: number | null,
>     moduleType?: string | null,
>     negRisk?: boolean | null,
>     negRiskAugmented?: boolean | null,
>     negRiskFeeBips?: number | null,
>     negRiskMarketID?: string | null,
>     new?: boolean | null,
>     openInterest?: number | null,
>     parentEventId?: number | null,
>     pendingDeployment?: boolean | null,
>     period?: string | null,
>     published_at?: string | null,
>     rescheduledFromGameId?: number | null,
>     resolutionMode?: string | null,
>     resolutionSource?: string | null,
>     restricted?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: string | null,
>     series?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       cgAssetName?: string | null,
>       closed?: boolean | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       description?: string | null,
>       events?: (recursive)[] | null | null,
>       featured?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       layout?: string | null,
>       liquidity?: number | null,
>       new?: boolean | null,
>       publishedAt?: string | null,
>       pythTokenID?: string | null,
>       recurrence?: string | null,
>       restricted?: boolean | null,
>       score?: number | null,
>       seriesType?: string | null,
>       slug?: string | null,
>       startDate?: string | null,
>       subtitle?: string | null,
>       templateVariables?: boolean | null,
>       ticker?: string | null,
>       title?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       volume?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     seriesSlug?: string | null,
>     showAllOutcomes?: boolean | null,
>     showMarketImages?: boolean | null,
>     slug?: string | null,
>     sortBy?: string | null,
>     sport?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         sportId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       image?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       primaryTagId?: number | null,
>       resolution?: string | null,
>       series?: string | null,
>       sport?: string | null,
>       tags?: string | null,
>       updatedAt?: string | null
>     } | null,
>     spreadsMainLine?: number | null,
>     startDate?: string | null,
>     startTime?: string | null,
>     subEvents?: (string | null)[] | null | null,
>     subcategory?: string | null,
>     subtitle?: string | null,
>     tag_labels?: string[] | null | null,
>     tag_slugs?: string[] | null | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     teams?: {
>       $schema?: string | null,
>       abbreviation?: string | null,
>       alias?: string | null,
>       color?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         source?: string | null,
>         teamId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       league?: string | null,
>       logo?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       providerId?: number | null,
>       record?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     templateVariables?: string | null,
>     ticker?: string | null,
>     title?: string | null,
>     totalsMainLine?: number | null,
>     turnProviderId?: string | null,
>     tweetCount?: number | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     usId?: string | null,
>     version?: string | null,
>     volume?: number | null,
>     volume1mo?: number | null,
>     volume1wk?: number | null,
>     volume1yr?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   featured?: boolean | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   layout?: string | null,
>   liquidity?: number | null,
>   new?: boolean | null,
>   publishedAt?: string | null,
>   pythTokenID?: string | null,
>   recurrence?: string | null,
>   restricted?: boolean | null,
>   score?: number | null,
>   seriesType?: string | null,
>   slug?: string | null,
>   startDate?: string | null,
>   subtitle?: string | null,
>   templateVariables?: boolean | null,
>   ticker?: string | null,
>   title?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   volume?: number | null,
>   volume24hr?: number | null
> }[] | null | null
> ```

> [accordion] sport full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   createdAt?: string | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     sportId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   id?: number | null,
>   image?: string | null,
>   name?: string | null,
>   ordering?: string | null,
>   primaryTagId?: number | null,
>   resolution?: string | null,
>   series?: string | null,
>   sport?: string | null,
>   tags?: string | null,
>   updatedAt?: string | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   activeEventsCount?: number | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   forceHide?: boolean | null,
>   forceShow?: boolean | null,
>   id?: string | null,
>   isCarousel?: boolean | null,
>   label?: string | null,
>   publishedAt?: string | null,
>   slug?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null
> }[] | null | null
> ```

> [accordion] teams full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   abbreviation?: string | null,
>   alias?: string | null,
>   color?: string | null,
>   createdAt?: string | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     source?: string | null,
>     teamId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   id?: number | null,
>   league?: string | null,
>   logo?: string | null,
>   name?: string | null,
>   ordering?: string | null,
>   providerId?: number | null,
>   record?: string | null,
>   updatedAt?: string | null
> }[] | null | null
> ```

***

### events.insights

`gamma.events.insights`

Get event insights

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.insights({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Event ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `context` | `object \| null` | No | — |

> [accordion] context full type
>
> ```ts theme={null}
> {
>   description?: string | null | null,
>   updatedAt?: string | null | null
> } | null | null
> ```

***

### events.list

`gamma.events.list`

Get events

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number[] \| null` | No | Event IDs to return |
| `slug` | `string[] \| null` | No | Event slugs to return |
| `closed` | `string` | No | Filter by closed flag (true/false/any). Omitted returns open and closed events; 'any' does the same and is accepted for parity with the markets lists |
| `live` | `string` | No | Filter by live flag (true/false) |
| `liquidity_min` | `string` | No | Minimum liquidity |
| `liquidity_max` | `string` | No | Maximum liquidity |
| `volume_min` | `string` | No | Minimum volume |
| `volume_max` | `string` | No | Maximum volume |
| `start_date_min` | `string` | No | Minimum start date (RFC3339 or YYYY-MM-DD) |
| `start_date_max` | `string` | No | Maximum start date (RFC3339 or YYYY-MM-DD) |
| `end_date_min` | `string` | No | Minimum end date (RFC3339 or YYYY-MM-DD) |
| `end_date_max` | `string` | No | Maximum end date (RFC3339 or YYYY-MM-DD) |
| `tag_id` | `number[] \| null` | No | Tag IDs to filter by |
| `related_tags` | `string` | No | Include events from related tags (true/false) |
| `tag_match` | `string` | No | Tag match mode |
| `tag_slug` | `string` | No | Filter by tag slug |
| `featured` | `string` | No | Filter by featured flag (true/false) |
| `cyom` | `string` | No | Filter by CYOM flag (true/false) |
| `series_id` | `number[] \| null` | No | Series IDs to filter by |
| `series_slug` | `string[] \| null` | No | Filter by series slug |
| `game_id` | `number[] \| null` | No | Game IDs to filter by |
| `us_id` | `string[] \| null` | No | US event IDs to filter by |
| `event_date` | `string` | No | Filter by event date (RFC3339 or YYYY-MM-DD) |
| `event_week` | `string` | No | Filter by event week |
| `start_time_min` | `string` | No | Minimum start time (RFC3339) |
| `start_time_max` | `string` | No | Maximum start time (RFC3339) |
| `exclude_tag_id` | `number[] \| null` | No | Tag IDs to exclude |
| `featured_order` | `string` | No | Order by featured when true (true/false) |
| `recurrence` | `daily \| weekly \| monthly \| annual \| hourly` | No | Recurrence filter |
| `created_by` | `string[] \| null` | No | Filter by creator |
| `parent_event_id` | `number[] \| null` | No | Parent event IDs to filter by |
| `include_children` | `string` | No | Include the children of the matched parent\_event\_id or slug (true/false) |
| `top_level` | `string` | No | Return only events without a parent event when true; false has no effect |
| `title_search` | `string` | No | Case-insensitive title search |
| `include_best_lines` | `string` | No | Include best lines (true/false) |
| `include_markets` | `string` | No | Include each event's markets array (true/false, default true). false skips loading markets, so the response carries the event rows without a markets key |
| `include_facets` | `string` | No | Include the facets each event carries, and each market when markets are included (true/false). Facets are the assigned ones plus their ancestors; a market carries only its own, not its event's. |
| `locale` | `string` | No | Locale code |
| `partner_slug` | `string` | No | Filter by external partner slug |
| `event_metadata_key` | `string` | No | Filter by event metadata key |
| `event_metadata_value` | `string` | No | Filter by event metadata value |
| `context_requires_regen` | `string` | No | Return only events flagged for context regeneration when true; false has no effect |
| `context_missing` | `string` | No | Return only events with no generated context when true; false has no effect |
| `combo_status` | `string` | No | Filter by combo status (pending/enabled/disabled). Returns events with at least one market in that status, counting markets owned by their child events, and narrows each event's markets array to that status. |
| `version` | `(v1 \| v2)[] \| null` | No | Protocol versions to return (v1 or v2). Repeat the parameter for several. Omitted means the server default (v1 while polymarket-v2 is in its builder integration period) |
| `facets` | `string` | No | AIP-160 filter over facet slugs, e.g. politics AND (nba OR wnba) -united-states. AND, OR, NOT or -, a space for AND, and one level of parentheses; NOT binds tightest, then AND, then OR; at most 10 facets. A facet also matches its descendants. Only events that have facets match. |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `after_cursor` | `string` | No | Opaque keyset pagination cursor from a previous response |
| `market_projection` | `full \| card` | No | Market fields to load. full preserves the default response. card keeps all visible markets with card identity, quotes, lifecycle and selection fields, plus rewards and fee enrichment and market translations, and drops descriptions and resolution, deployment and admin metadata. Event fields, filters, ordering and the 100-row cap are unchanged. Requires include\_markets=true (the default). |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestLines?: {
>     id?: string | null,
>     line?: number | null,
>     lineType?: string | null
>   }[] | null | null,
>   cantEstimate?: boolean | null,
>   carouselMap?: string | null,
>   category?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   color?: string | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   countryName?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   creationDate?: string | null,
>   cumulativeMarkets?: boolean | null,
>   cyom?: boolean | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   elapsed?: string | null,
>   electionType?: string | null,
>   enableNegRisk?: boolean | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   ended?: boolean | null,
>   estimateValue?: boolean | null,
>   estimatedValue?: string | null,
>   eventCreators?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     creatorHandle?: string | null,
>     creatorImage?: string | null,
>     creatorName?: string | null,
>     creatorUrl?: string | null,
>     id?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   eventDate?: string | null,
>   eventMetadata?: Record<string, any> | null,
>   eventWeek?: number | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     eventId?: number | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   featured?: boolean | null,
>   featuredImage?: string | null,
>   featuredOrder?: number | null,
>   finishedTimestamp?: string | null,
>   gameId?: number | null,
>   gmpChartMode?: string | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   lastHighlight?: string | null,
>   lastHighlightAt?: string | null,
>   lastHighlightType?: string | null,
>   liquidity?: number | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   live?: boolean | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   maxMarketCount?: number | null,
>   moduleType?: string | null,
>   negRisk?: boolean | null,
>   negRiskAugmented?: boolean | null,
>   negRiskFeeBips?: number | null,
>   negRiskMarketID?: string | null,
>   new?: boolean | null,
>   openInterest?: number | null,
>   parentEventId?: number | null,
>   pendingDeployment?: boolean | null,
>   period?: string | null,
>   published_at?: string | null,
>   rescheduledFromGameId?: number | null,
>   resolutionMode?: string | null,
>   resolutionSource?: string | null,
>   restricted?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: string | null,
>   series?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     cgAssetName?: string | null,
>     closed?: boolean | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     description?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: (recursive)[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     featured?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     layout?: string | null,
>     liquidity?: number | null,
>     new?: boolean | null,
>     publishedAt?: string | null,
>     pythTokenID?: string | null,
>     recurrence?: string | null,
>     restricted?: boolean | null,
>     score?: number | null,
>     seriesType?: string | null,
>     slug?: string | null,
>     startDate?: string | null,
>     subtitle?: string | null,
>     templateVariables?: boolean | null,
>     ticker?: string | null,
>     title?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     volume?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   seriesSlug?: string | null,
>   showAllOutcomes?: boolean | null,
>   showMarketImages?: boolean | null,
>   slug?: string | null,
>   sortBy?: string | null,
>   sport?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       sportId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     image?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     primaryTagId?: number | null,
>     resolution?: string | null,
>     series?: string | null,
>     sport?: string | null,
>     tags?: string | null,
>     updatedAt?: string | null
>   } | null,
>   spreadsMainLine?: number | null,
>   startDate?: string | null,
>   startTime?: string | null,
>   subEvents?: (string | null)[] | null | null,
>   subcategory?: string | null,
>   subtitle?: string | null,
>   tag_labels?: string[] | null | null,
>   tag_slugs?: string[] | null | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   teams?: {
>     $schema?: string | null,
>     abbreviation?: string | null,
>     alias?: string | null,
>     color?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       source?: string | null,
>       teamId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     league?: string | null,
>     logo?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     providerId?: number | null,
>     record?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   templateVariables?: string | null,
>   ticker?: string | null,
>   title?: string | null,
>   totalsMainLine?: number | null,
>   turnProviderId?: string | null,
>   tweetCount?: number | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   usId?: string | null,
>   version?: string | null,
>   volume?: number | null,
>   volume1mo?: number | null,
>   volume1wk?: number | null,
>   volume1yr?: number | null,
>   volume24hr?: number | null
> }[] | null
> ```

***

### events.listKeyset

`gamma.events.listKeyset`

Get events (keyset)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.listKeyset({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number[] \| null` | No | Event IDs to return |
| `slug` | `string[] \| null` | No | Event slugs to return |
| `closed` | `string` | No | Filter by closed flag (true/false/any). Omitted returns open and closed events; 'any' does the same and is accepted for parity with the markets lists |
| `live` | `string` | No | Filter by live flag (true/false) |
| `liquidity_min` | `string` | No | Minimum liquidity |
| `liquidity_max` | `string` | No | Maximum liquidity |
| `volume_min` | `string` | No | Minimum volume |
| `volume_max` | `string` | No | Maximum volume |
| `start_date_min` | `string` | No | Minimum start date (RFC3339 or YYYY-MM-DD) |
| `start_date_max` | `string` | No | Maximum start date (RFC3339 or YYYY-MM-DD) |
| `end_date_min` | `string` | No | Minimum end date (RFC3339 or YYYY-MM-DD) |
| `end_date_max` | `string` | No | Maximum end date (RFC3339 or YYYY-MM-DD) |
| `tag_id` | `number[] \| null` | No | Tag IDs to filter by |
| `related_tags` | `string` | No | Include events from related tags (true/false) |
| `tag_match` | `string` | No | Tag match mode |
| `tag_slug` | `string` | No | Filter by tag slug |
| `featured` | `string` | No | Filter by featured flag (true/false) |
| `cyom` | `string` | No | Filter by CYOM flag (true/false) |
| `series_id` | `number[] \| null` | No | Series IDs to filter by |
| `series_slug` | `string[] \| null` | No | Filter by series slug |
| `game_id` | `number[] \| null` | No | Game IDs to filter by |
| `us_id` | `string[] \| null` | No | US event IDs to filter by |
| `event_date` | `string` | No | Filter by event date (RFC3339 or YYYY-MM-DD) |
| `event_week` | `string` | No | Filter by event week |
| `start_time_min` | `string` | No | Minimum start time (RFC3339) |
| `start_time_max` | `string` | No | Maximum start time (RFC3339) |
| `exclude_tag_id` | `number[] \| null` | No | Tag IDs to exclude |
| `featured_order` | `string` | No | Order by featured when true (true/false) |
| `recurrence` | `daily \| weekly \| monthly \| annual \| hourly` | No | Recurrence filter |
| `created_by` | `string[] \| null` | No | Filter by creator |
| `parent_event_id` | `number[] \| null` | No | Parent event IDs to filter by |
| `include_children` | `string` | No | Include the children of the matched parent\_event\_id or slug (true/false) |
| `top_level` | `string` | No | Return only events without a parent event when true; false has no effect |
| `title_search` | `string` | No | Case-insensitive title search |
| `include_best_lines` | `string` | No | Include best lines (true/false) |
| `include_markets` | `string` | No | Include each event's markets array (true/false, default true). false skips loading markets, so the response carries the event rows without a markets key |
| `include_facets` | `string` | No | Include the facets each event carries, and each market when markets are included (true/false). Facets are the assigned ones plus their ancestors; a market carries only its own, not its event's. |
| `locale` | `string` | No | Locale code |
| `partner_slug` | `string` | No | Filter by external partner slug |
| `event_metadata_key` | `string` | No | Filter by event metadata key |
| `event_metadata_value` | `string` | No | Filter by event metadata value |
| `context_requires_regen` | `string` | No | Return only events flagged for context regeneration when true; false has no effect |
| `context_missing` | `string` | No | Return only events with no generated context when true; false has no effect |
| `combo_status` | `string` | No | Filter by combo status (pending/enabled/disabled). Returns events with at least one market in that status, counting markets owned by their child events, and narrows each event's markets array to that status. |
| `version` | `(v1 \| v2)[] \| null` | No | Protocol versions to return (v1 or v2). Repeat the parameter for several. Omitted means the server default (v1 while polymarket-v2 is in its builder integration period) |
| `facets` | `string` | No | AIP-160 filter over facet slugs, e.g. politics AND (nba OR wnba) -united-states. AND, OR, NOT or -, a space for AND, and one level of parentheses; NOT binds tightest, then AND, then OR; at most 10 facets. A facet also matches its descendants. Only events that have facets match. |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `after_cursor` | `string` | No | Opaque keyset pagination cursor from a previous response |
| `market_projection` | `full \| status \| card` | No | Market fields to load. full preserves the default response. status keeps every visible market in the same order, with only id, conditionId, marketMakerAddress, feeType, sportsMarketType, closed, gameStartTime, tradingEligible and resolutionMechanism; skips market enrichment and translation. Event fields, filters and ordering are unchanged. status allows up to 500 candidates and returns event\_cursors for resuming after each row; full keeps its 100-row cap. card keeps all visible markets with card identity, quotes, lifecycle and selection fields, plus rewards and fee enrichment and market translations; its cap is 100 and it omits event\_cursors. Requires include\_markets=true (the default). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `event_cursors` | `string[] \| null \| null` | No | Status projection only: one signed continuation cursor per event, in event order. Clients can resume after a partially consumed batch. |
| `events` | `object[] \| null` | No | — |
| `next_cursor` | `string \| null` | No | — |

> [accordion] events full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestLines?: {
>     id?: string | null,
>     line?: number | null,
>     lineType?: string | null
>   }[] | null | null,
>   cantEstimate?: boolean | null,
>   carouselMap?: string | null,
>   category?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   color?: string | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   countryName?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   creationDate?: string | null,
>   cumulativeMarkets?: boolean | null,
>   cyom?: boolean | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   elapsed?: string | null,
>   electionType?: string | null,
>   enableNegRisk?: boolean | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   ended?: boolean | null,
>   estimateValue?: boolean | null,
>   estimatedValue?: string | null,
>   eventCreators?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     creatorHandle?: string | null,
>     creatorImage?: string | null,
>     creatorName?: string | null,
>     creatorUrl?: string | null,
>     id?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   eventDate?: string | null,
>   eventMetadata?: Record<string, any> | null,
>   eventWeek?: number | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     eventId?: number | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   featured?: boolean | null,
>   featuredImage?: string | null,
>   featuredOrder?: number | null,
>   finishedTimestamp?: string | null,
>   gameId?: number | null,
>   gmpChartMode?: string | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   lastHighlight?: string | null,
>   lastHighlightAt?: string | null,
>   lastHighlightType?: string | null,
>   liquidity?: number | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   live?: boolean | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   maxMarketCount?: number | null,
>   moduleType?: string | null,
>   negRisk?: boolean | null,
>   negRiskAugmented?: boolean | null,
>   negRiskFeeBips?: number | null,
>   negRiskMarketID?: string | null,
>   new?: boolean | null,
>   openInterest?: number | null,
>   parentEventId?: number | null,
>   pendingDeployment?: boolean | null,
>   period?: string | null,
>   published_at?: string | null,
>   rescheduledFromGameId?: number | null,
>   resolutionMode?: string | null,
>   resolutionSource?: string | null,
>   restricted?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: string | null,
>   series?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     cgAssetName?: string | null,
>     closed?: boolean | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     description?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: (recursive)[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     featured?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     layout?: string | null,
>     liquidity?: number | null,
>     new?: boolean | null,
>     publishedAt?: string | null,
>     pythTokenID?: string | null,
>     recurrence?: string | null,
>     restricted?: boolean | null,
>     score?: number | null,
>     seriesType?: string | null,
>     slug?: string | null,
>     startDate?: string | null,
>     subtitle?: string | null,
>     templateVariables?: boolean | null,
>     ticker?: string | null,
>     title?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     volume?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   seriesSlug?: string | null,
>   showAllOutcomes?: boolean | null,
>   showMarketImages?: boolean | null,
>   slug?: string | null,
>   sortBy?: string | null,
>   sport?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       sportId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     image?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     primaryTagId?: number | null,
>     resolution?: string | null,
>     series?: string | null,
>     sport?: string | null,
>     tags?: string | null,
>     updatedAt?: string | null
>   } | null,
>   spreadsMainLine?: number | null,
>   startDate?: string | null,
>   startTime?: string | null,
>   subEvents?: (string | null)[] | null | null,
>   subcategory?: string | null,
>   subtitle?: string | null,
>   tag_labels?: string[] | null | null,
>   tag_slugs?: string[] | null | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   teams?: {
>     $schema?: string | null,
>     abbreviation?: string | null,
>     alias?: string | null,
>     color?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       source?: string | null,
>       teamId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     league?: string | null,
>     logo?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     providerId?: number | null,
>     record?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   templateVariables?: string | null,
>   ticker?: string | null,
>   title?: string | null,
>   totalsMainLine?: number | null,
>   turnProviderId?: string | null,
>   tweetCount?: number | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   usId?: string | null,
>   version?: string | null,
>   volume?: number | null,
>   volume1mo?: number | null,
>   volume1wk?: number | null,
>   volume1yr?: number | null,
>   volume24hr?: number | null
> }[] | null | null
> ```

***

### events.listPaginated

`gamma.events.listPaginated`

Get events (paginated)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.listPaginated({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number[] \| null` | No | Event IDs to return |
| `slug` | `string[] \| null` | No | Event slugs to return |
| `closed` | `string` | No | Filter by closed flag (true/false/any). Omitted returns open and closed events; 'any' does the same and is accepted for parity with the markets lists |
| `live` | `string` | No | Filter by live flag (true/false) |
| `liquidity_min` | `string` | No | Minimum liquidity |
| `liquidity_max` | `string` | No | Maximum liquidity |
| `volume_min` | `string` | No | Minimum volume |
| `volume_max` | `string` | No | Maximum volume |
| `start_date_min` | `string` | No | Minimum start date (RFC3339 or YYYY-MM-DD) |
| `start_date_max` | `string` | No | Maximum start date (RFC3339 or YYYY-MM-DD) |
| `end_date_min` | `string` | No | Minimum end date (RFC3339 or YYYY-MM-DD) |
| `end_date_max` | `string` | No | Maximum end date (RFC3339 or YYYY-MM-DD) |
| `tag_id` | `number[] \| null` | No | Tag IDs to filter by |
| `related_tags` | `string` | No | Include events from related tags (true/false) |
| `tag_match` | `string` | No | Tag match mode |
| `tag_slug` | `string` | No | Filter by tag slug |
| `featured` | `string` | No | Filter by featured flag (true/false) |
| `cyom` | `string` | No | Filter by CYOM flag (true/false) |
| `series_id` | `number[] \| null` | No | Series IDs to filter by |
| `series_slug` | `string[] \| null` | No | Filter by series slug |
| `game_id` | `number[] \| null` | No | Game IDs to filter by |
| `us_id` | `string[] \| null` | No | US event IDs to filter by |
| `event_date` | `string` | No | Filter by event date (RFC3339 or YYYY-MM-DD) |
| `event_week` | `string` | No | Filter by event week |
| `start_time_min` | `string` | No | Minimum start time (RFC3339) |
| `start_time_max` | `string` | No | Maximum start time (RFC3339) |
| `exclude_tag_id` | `number[] \| null` | No | Tag IDs to exclude |
| `featured_order` | `string` | No | Order by featured when true (true/false) |
| `recurrence` | `daily \| weekly \| monthly \| annual \| hourly` | No | Recurrence filter |
| `created_by` | `string[] \| null` | No | Filter by creator |
| `parent_event_id` | `number[] \| null` | No | Parent event IDs to filter by |
| `include_children` | `string` | No | Include the children of the matched parent\_event\_id or slug (true/false) |
| `top_level` | `string` | No | Return only events without a parent event when true; false has no effect |
| `title_search` | `string` | No | Case-insensitive title search |
| `include_best_lines` | `string` | No | Include best lines (true/false) |
| `include_markets` | `string` | No | Include each event's markets array (true/false, default true). false skips loading markets, so the response carries the event rows without a markets key |
| `include_facets` | `string` | No | Include the facets each event carries, and each market when markets are included (true/false). Facets are the assigned ones plus their ancestors; a market carries only its own, not its event's. |
| `locale` | `string` | No | Locale code |
| `partner_slug` | `string` | No | Filter by external partner slug |
| `event_metadata_key` | `string` | No | Filter by event metadata key |
| `event_metadata_value` | `string` | No | Filter by event metadata value |
| `context_requires_regen` | `string` | No | Return only events flagged for context regeneration when true; false has no effect |
| `context_missing` | `string` | No | Return only events with no generated context when true; false has no effect |
| `combo_status` | `string` | No | Filter by combo status (pending/enabled/disabled). Returns events with at least one market in that status, counting markets owned by their child events, and narrows each event's markets array to that status. |
| `version` | `(v1 \| v2)[] \| null` | No | Protocol versions to return (v1 or v2). Repeat the parameter for several. Omitted means the server default (v1 while polymarket-v2 is in its builder integration period) |
| `facets` | `string` | No | AIP-160 filter over facet slugs, e.g. politics AND (nba OR wnba) -united-states. AND, OR, NOT or -, a space for AND, and one level of parentheses; NOT binds tightest, then AND, then OR; at most 10 facets. A facet also matches its descendants. Only events that have facets match. |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `after_cursor` | `string` | No | Opaque keyset pagination cursor from a previous response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `data` | `object[] \| null` | No | — |
| `pagination` | `object \| null` | No | — |

> [accordion] data full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestLines?: {
>     id?: string | null,
>     line?: number | null,
>     lineType?: string | null
>   }[] | null | null,
>   cantEstimate?: boolean | null,
>   carouselMap?: string | null,
>   category?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   color?: string | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   countryName?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   creationDate?: string | null,
>   cumulativeMarkets?: boolean | null,
>   cyom?: boolean | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   elapsed?: string | null,
>   electionType?: string | null,
>   enableNegRisk?: boolean | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   ended?: boolean | null,
>   estimateValue?: boolean | null,
>   estimatedValue?: string | null,
>   eventCreators?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     creatorHandle?: string | null,
>     creatorImage?: string | null,
>     creatorName?: string | null,
>     creatorUrl?: string | null,
>     id?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   eventDate?: string | null,
>   eventMetadata?: Record<string, any> | null,
>   eventWeek?: number | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     eventId?: number | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   featured?: boolean | null,
>   featuredImage?: string | null,
>   featuredOrder?: number | null,
>   finishedTimestamp?: string | null,
>   gameId?: number | null,
>   gmpChartMode?: string | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   lastHighlight?: string | null,
>   lastHighlightAt?: string | null,
>   lastHighlightType?: string | null,
>   liquidity?: number | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   live?: boolean | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   maxMarketCount?: number | null,
>   moduleType?: string | null,
>   negRisk?: boolean | null,
>   negRiskAugmented?: boolean | null,
>   negRiskFeeBips?: number | null,
>   negRiskMarketID?: string | null,
>   new?: boolean | null,
>   openInterest?: number | null,
>   parentEventId?: number | null,
>   pendingDeployment?: boolean | null,
>   period?: string | null,
>   published_at?: string | null,
>   rescheduledFromGameId?: number | null,
>   resolutionMode?: string | null,
>   resolutionSource?: string | null,
>   restricted?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: string | null,
>   series?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     cgAssetName?: string | null,
>     closed?: boolean | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     description?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: (recursive)[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     featured?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     layout?: string | null,
>     liquidity?: number | null,
>     new?: boolean | null,
>     publishedAt?: string | null,
>     pythTokenID?: string | null,
>     recurrence?: string | null,
>     restricted?: boolean | null,
>     score?: number | null,
>     seriesType?: string | null,
>     slug?: string | null,
>     startDate?: string | null,
>     subtitle?: string | null,
>     templateVariables?: boolean | null,
>     ticker?: string | null,
>     title?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     volume?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   seriesSlug?: string | null,
>   showAllOutcomes?: boolean | null,
>   showMarketImages?: boolean | null,
>   slug?: string | null,
>   sortBy?: string | null,
>   sport?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       sportId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     image?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     primaryTagId?: number | null,
>     resolution?: string | null,
>     series?: string | null,
>     sport?: string | null,
>     tags?: string | null,
>     updatedAt?: string | null
>   } | null,
>   spreadsMainLine?: number | null,
>   startDate?: string | null,
>   startTime?: string | null,
>   subEvents?: (string | null)[] | null | null,
>   subcategory?: string | null,
>   subtitle?: string | null,
>   tag_labels?: string[] | null | null,
>   tag_slugs?: string[] | null | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   teams?: {
>     $schema?: string | null,
>     abbreviation?: string | null,
>     alias?: string | null,
>     color?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       source?: string | null,
>       teamId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     league?: string | null,
>     logo?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     providerId?: number | null,
>     record?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   templateVariables?: string | null,
>   ticker?: string | null,
>   title?: string | null,
>   totalsMainLine?: number | null,
>   turnProviderId?: string | null,
>   tweetCount?: number | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   usId?: string | null,
>   version?: string | null,
>   volume?: number | null,
>   volume1mo?: number | null,
>   volume1wk?: number | null,
>   volume1yr?: number | null,
>   volume24hr?: number | null
> }[] | null | null
> ```

> [accordion] pagination full type
>
> ```ts theme={null}
> {
>   hasMore?: boolean | null,
>   totalResults?: number | null
> } | null
> ```

***

### events.premadeCombos

`gamma.events.premadeCombos`

Get event premade combos

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.premadeCombos({ slug: 'will-bitcoin-hit-100k-in-2026' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string` | Yes | Event slug |
| `placement` | `string` | No | Page placement. Defaults to event\_under\_chart. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `scope` | `object \| null` | No | — |
| `shelves` | `object[] \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |

> [accordion] scope full type
>
> ```ts theme={null}
> {
>   slug?: string | null,
>   type?: string | null
> } | null
> ```

> [accordion] shelves full type
>
> ```ts theme={null}
> {
>   combos?: {
>     comboType?: string | null,
>     eventId?: string | null,
>     eventSlug?: string | null,
>     eventTitle?: string | null,
>     id?: number | null,
>     leagueSlug?: string | null,
>     legs?: {
>       conditionId?: string | null,
>       display?: {
>         eventTitle?: string | null,
>         iconUrl?: string | null,
>         line?: number | null,
>         marketLabel?: string | null,
>         marketTitle?: string | null,
>         pickLabel?: string | null,
>         teamAbbreviation?: string | null
>       } | null,
>       eventId?: string | null,
>       eventSlug?: string | null,
>       marketId?: string | null,
>       marketSlug?: string | null,
>       ordinal?: number | null,
>       positionIds?: string[] | null | null,
>       prices?: {
>         no?: number | null,
>         selected?: number | null,
>         yes?: number | null
>       } | null,
>       selectedPositionId?: string | null,
>       side?: string | null,
>       sportsMarketType?: string | null
>     }[] | null | null,
>     slug?: string | null,
>     sortOrder?: number | null,
>     stats?: {
>       indicativeMultiplier?: number | null,
>       traderCount?: number | null,
>       wagered?: number | null
>     } | null,
>     subtitle?: string | null,
>     title?: string | null
>   }[] | null | null,
>   id?: string | null,
>   placement?: string | null,
>   title?: string | null
> }[] | null | null
> ```

***

### events.reference

`gamma.events.reference`

Get event reference by slug

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.reference({ slug: 'will-bitcoin-hit-100k-in-2026' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string` | Yes | Event slug |
| `include_parent` | `boolean` | No | Include the parent event's routing metadata when it has a public detail page. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `archived` | `boolean \| null` | No | — |
| `id` | `string \| null` | No | — |
| `parent` | `object \| null` | No | — |
| `parentEventId` | `string \| null` | No | String identifier matching parent.id; unlike the legacy event payload's numeric parentEventId. |
| `slug` | `string \| null` | No | — |
| `tags` | `object[] \| null` | No | — |

> [accordion] parent full type
>
> ```ts theme={null}
> {
>   archived?: boolean | null,
>   eventDate?: string | null,
>   eventMetadata?: {
>     league?: string | null
>   } | null,
>   eventWeek?: number | null,
>   id?: string | null,
>   seriesSlug?: string | null,
>   slug?: string | null,
>   tags?: {
>     id?: string | null,
>     slug?: string | null
>   }[] | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   slug?: string | null
> }[] | null
> ```

***

### events.similar

`gamma.events.similar`

Get similar events

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.similar({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | No | Event ID. Fastest path: skips the Typesense reference lookup. |
| `event_title` | `string` | No | Free-text event title to find a reference event in Typesense. |
| `event_slug` | `string` | No | Event slug. Validated as a slug when provided, looked up in PG. |
| `market_title` | `string` | No | Free-text market title to find a reference event in Typesense. |
| `market_slug` | `string` | No | Market slug. Validated as a slug when provided; the parent event is used as the reference. |
| `limit` | `number` | No | Max results returned. Capped at 50. |
| `closed` | `true \| false` | No | Optional. When 'true' returns only resolved events; when 'false' returns only open events. When omitted, both are returned. Always combined with the unconditional active=true filter. |
| `include_markets` | `string` | No | Load each event's markets (true/false). Off by default: the response is the slim event list. |
| `markets_limit` | `number` | No | With include\_markets=true, keep only the N most likely markets per event: open markets first, then by first outcome price descending. 0 (default) keeps every market. |
| `search_timeout_ms` | `number` | No | Optional wait budget for vector-search candidates in milliseconds (100 to 5000). Expiry uses the popular-events fallback without cancelling the underlying search, which has a server-owned deadline of at most 5 seconds. When omitted, the configured search deadline applies. |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestLines?: {
>     id?: string | null,
>     line?: number | null,
>     lineType?: string | null
>   }[] | null | null,
>   cantEstimate?: boolean | null,
>   carouselMap?: string | null,
>   category?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   color?: string | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   countryName?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   creationDate?: string | null,
>   cumulativeMarkets?: boolean | null,
>   cyom?: boolean | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   elapsed?: string | null,
>   electionType?: string | null,
>   enableNegRisk?: boolean | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   ended?: boolean | null,
>   estimateValue?: boolean | null,
>   estimatedValue?: string | null,
>   eventCreators?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     creatorHandle?: string | null,
>     creatorImage?: string | null,
>     creatorName?: string | null,
>     creatorUrl?: string | null,
>     id?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   eventDate?: string | null,
>   eventMetadata?: Record<string, any> | null,
>   eventWeek?: number | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     eventId?: number | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   featured?: boolean | null,
>   featuredImage?: string | null,
>   featuredOrder?: number | null,
>   finishedTimestamp?: string | null,
>   gameId?: number | null,
>   gmpChartMode?: string | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   lastHighlight?: string | null,
>   lastHighlightAt?: string | null,
>   lastHighlightType?: string | null,
>   liquidity?: number | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   live?: boolean | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   maxMarketCount?: number | null,
>   moduleType?: string | null,
>   negRisk?: boolean | null,
>   negRiskAugmented?: boolean | null,
>   negRiskFeeBips?: number | null,
>   negRiskMarketID?: string | null,
>   new?: boolean | null,
>   openInterest?: number | null,
>   parentEventId?: number | null,
>   pendingDeployment?: boolean | null,
>   period?: string | null,
>   published_at?: string | null,
>   rescheduledFromGameId?: number | null,
>   resolutionMode?: string | null,
>   resolutionSource?: string | null,
>   restricted?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: string | null,
>   series?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     cgAssetName?: string | null,
>     closed?: boolean | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     description?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: (recursive)[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     featured?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     layout?: string | null,
>     liquidity?: number | null,
>     new?: boolean | null,
>     publishedAt?: string | null,
>     pythTokenID?: string | null,
>     recurrence?: string | null,
>     restricted?: boolean | null,
>     score?: number | null,
>     seriesType?: string | null,
>     slug?: string | null,
>     startDate?: string | null,
>     subtitle?: string | null,
>     templateVariables?: boolean | null,
>     ticker?: string | null,
>     title?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     volume?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   seriesSlug?: string | null,
>   showAllOutcomes?: boolean | null,
>   showMarketImages?: boolean | null,
>   slug?: string | null,
>   sortBy?: string | null,
>   sport?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       sportId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     image?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     primaryTagId?: number | null,
>     resolution?: string | null,
>     series?: string | null,
>     sport?: string | null,
>     tags?: string | null,
>     updatedAt?: string | null
>   } | null,
>   spreadsMainLine?: number | null,
>   startDate?: string | null,
>   startTime?: string | null,
>   subEvents?: (string | null)[] | null | null,
>   subcategory?: string | null,
>   subtitle?: string | null,
>   tag_labels?: string[] | null | null,
>   tag_slugs?: string[] | null | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   teams?: {
>     $schema?: string | null,
>     abbreviation?: string | null,
>     alias?: string | null,
>     color?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       source?: string | null,
>       teamId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     league?: string | null,
>     logo?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     providerId?: number | null,
>     record?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   templateVariables?: string | null,
>   ticker?: string | null,
>   title?: string | null,
>   totalsMainLine?: number | null,
>   turnProviderId?: string | null,
>   tweetCount?: number | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   usId?: string | null,
>   version?: string | null,
>   volume?: number | null,
>   volume1mo?: number | null,
>   volume1wk?: number | null,
>   volume1yr?: number | null,
>   volume24hr?: number | null
> }[] | null
> ```

***

### events.sportResults

`gamma.events.sportResults`

Get sport event results

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.sportResults({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number[] \| null` | No | Event IDs |
| `slug` | `string[] \| null` | No | Event slugs |
| `closed` | `string` | No | Filter by closed flag (true/false) |
| `series_id` | `number[] \| null` | No | Series IDs |
| `game_id` | `number[] \| null` | No | Game IDs |
| `event_date` | `string` | No | Filter by event date (RFC3339 or YYYY-MM-DD) |
| `event_week` | `string` | No | Filter by event week |
| `start_time_min` | `string` | No | Minimum start time (RFC3339) |
| `start_time_max` | `string` | No | Maximum start time (RFC3339) |
| `version` | `(v1 \| v2)[] \| null` | No | Protocol versions to return (v1 or v2). Omitted means the server default |
| `facets` | `string` | No | AIP-160 filter over facet slugs, e.g. politics AND (nba OR wnba) -united-states. AND, OR, NOT or -, a space for AND, and one level of parentheses; NOT binds tightest, then AND, then OR; at most 10 facets. A facet also matches its descendants. Only events that have facets match. |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestLines?: {
>     id?: string | null,
>     line?: number | null,
>     lineType?: string | null
>   }[] | null | null,
>   cantEstimate?: boolean | null,
>   carouselMap?: string | null,
>   category?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   color?: string | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   countryName?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   creationDate?: string | null,
>   cumulativeMarkets?: boolean | null,
>   cyom?: boolean | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   elapsed?: string | null,
>   electionType?: string | null,
>   enableNegRisk?: boolean | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   ended?: boolean | null,
>   estimateValue?: boolean | null,
>   estimatedValue?: string | null,
>   eventCreators?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     creatorHandle?: string | null,
>     creatorImage?: string | null,
>     creatorName?: string | null,
>     creatorUrl?: string | null,
>     id?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   eventDate?: string | null,
>   eventMetadata?: Record<string, any> | null,
>   eventWeek?: number | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     eventId?: number | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   featured?: boolean | null,
>   featuredImage?: string | null,
>   featuredOrder?: number | null,
>   finishedTimestamp?: string | null,
>   gameId?: number | null,
>   gmpChartMode?: string | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   lastHighlight?: string | null,
>   lastHighlightAt?: string | null,
>   lastHighlightType?: string | null,
>   liquidity?: number | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   live?: boolean | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   maxMarketCount?: number | null,
>   moduleType?: string | null,
>   negRisk?: boolean | null,
>   negRiskAugmented?: boolean | null,
>   negRiskFeeBips?: number | null,
>   negRiskMarketID?: string | null,
>   new?: boolean | null,
>   openInterest?: number | null,
>   parentEventId?: number | null,
>   pendingDeployment?: boolean | null,
>   period?: string | null,
>   published_at?: string | null,
>   rescheduledFromGameId?: number | null,
>   resolutionMode?: string | null,
>   resolutionSource?: string | null,
>   restricted?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: string | null,
>   series?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     cgAssetName?: string | null,
>     closed?: boolean | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     description?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: (recursive)[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     featured?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     layout?: string | null,
>     liquidity?: number | null,
>     new?: boolean | null,
>     publishedAt?: string | null,
>     pythTokenID?: string | null,
>     recurrence?: string | null,
>     restricted?: boolean | null,
>     score?: number | null,
>     seriesType?: string | null,
>     slug?: string | null,
>     startDate?: string | null,
>     subtitle?: string | null,
>     templateVariables?: boolean | null,
>     ticker?: string | null,
>     title?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     volume?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   seriesSlug?: string | null,
>   showAllOutcomes?: boolean | null,
>   showMarketImages?: boolean | null,
>   slug?: string | null,
>   sortBy?: string | null,
>   sport?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       sportId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     image?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     primaryTagId?: number | null,
>     resolution?: string | null,
>     series?: string | null,
>     sport?: string | null,
>     tags?: string | null,
>     updatedAt?: string | null
>   } | null,
>   spreadsMainLine?: number | null,
>   startDate?: string | null,
>   startTime?: string | null,
>   subEvents?: (string | null)[] | null | null,
>   subcategory?: string | null,
>   subtitle?: string | null,
>   tag_labels?: string[] | null | null,
>   tag_slugs?: string[] | null | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   teams?: {
>     $schema?: string | null,
>     abbreviation?: string | null,
>     alias?: string | null,
>     color?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       source?: string | null,
>       teamId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     league?: string | null,
>     logo?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     providerId?: number | null,
>     record?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   templateVariables?: string | null,
>   ticker?: string | null,
>   title?: string | null,
>   totalsMainLine?: number | null,
>   turnProviderId?: string | null,
>   tweetCount?: number | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   usId?: string | null,
>   version?: string | null,
>   volume?: number | null,
>   volume1mo?: number | null,
>   volume1wk?: number | null,
>   volume1yr?: number | null,
>   volume24hr?: number | null
> }[] | null
> ```

***

### events.tags

`gamma.events.tags`

Get tags for an event

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.tags({ id: '12' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Event ID — numeric, validated by the application layer |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   activeEventsCount?: number | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   forceHide?: boolean | null,
>   forceShow?: boolean | null,
>   id?: string | null,
>   isCarousel?: boolean | null,
>   label?: string | null,
>   publishedAt?: string | null,
>   slug?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null
> }[] | null
> ```

***

### events.tweetCount

`gamma.events.tweetCount`

Get event tweet count

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.events.tweetCount({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Event ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `tweetCount` | `number \| null` | No | — |

***

### facets.get

`gamma.facets.get`

Facet tree rooted at a facet

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.facets.get({ slug: 'will-bitcoin-hit-100k-in-2026' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string` | Yes | Facet slug |
| `depth` | `number` | No | Levels below the root to return. |
| `max_children` | `number` | No | Children shown per facet before its children are paged. |
| `after_cursor` | `string` | No | A nextCursor from an earlier response on the same endpoint. Depth and max\_children then come from the cursor. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `descendants` | `object[] \| null` | No | — |
| `facet` | `object \| null` | No | — |
| `nextCursor` | `string \| null` | No | — |

> [accordion] descendants full type
>
> ```ts theme={null}
> {
>   abbreviation?: string | null,
>   appliesTo?: string[] | null | null,
>   depth?: number | null,
>   label?: string | null,
>   nextCursor?: string | null,
>   parents?: string[] | null | null,
>   slug?: string | null
> }[] | null | null
> ```

> [accordion] facet full type
>
> ```ts theme={null}
> {
>   abbreviation?: string | null,
>   appliesTo?: string[] | null | null,
>   label?: string | null,
>   parents?: string[] | null | null,
>   slug?: string | null
> } | null
> ```

***

### facets.list

`gamma.facets.list`

Facet tree from the top-level facets

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.facets.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `depth` | `number` | No | Levels below the root to return. |
| `max_children` | `number` | No | Children shown per facet before its children are paged. |
| `after_cursor` | `string` | No | A nextCursor from an earlier response on the same endpoint. Depth and max\_children then come from the cursor. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `descendants` | `object[] \| null` | No | — |
| `facet` | `object \| null` | No | — |
| `nextCursor` | `string \| null` | No | — |

> [accordion] descendants full type
>
> ```ts theme={null}
> {
>   abbreviation?: string | null,
>   appliesTo?: string[] | null | null,
>   depth?: number | null,
>   label?: string | null,
>   nextCursor?: string | null,
>   parents?: string[] | null | null,
>   slug?: string | null
> }[] | null | null
> ```

> [accordion] facet full type
>
> ```ts theme={null}
> {
>   abbreviation?: string | null,
>   appliesTo?: string[] | null | null,
>   label?: string | null,
>   parents?: string[] | null | null,
>   slug?: string | null
> } | null
> ```

***

### feeTypes.events

`gamma.feeTypes.events`

Get events by fee type

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.feeTypes.events({ feeType: 'standard' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Resource id |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true |
| `limit` | `string` | No | Max results returned |
| `offset` | `string` | No | Number of results to skip |
| `address` | `string` | No | Filter by address |
| `tags` | `string` | No | Filter by tags |
| `date` | `string` | No | Filter by date |
| `include_deleted` | `string` | No | Include soft-deleted rows (true/false) |
| `feeType` | `string` | Yes | Fee type |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestLines?: {
>     id?: string | null,
>     line?: number | null,
>     lineType?: string | null
>   }[] | null | null,
>   cantEstimate?: boolean | null,
>   carouselMap?: string | null,
>   category?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   color?: string | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   countryName?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   creationDate?: string | null,
>   cumulativeMarkets?: boolean | null,
>   cyom?: boolean | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   elapsed?: string | null,
>   electionType?: string | null,
>   enableNegRisk?: boolean | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   ended?: boolean | null,
>   estimateValue?: boolean | null,
>   estimatedValue?: string | null,
>   eventCreators?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     creatorHandle?: string | null,
>     creatorImage?: string | null,
>     creatorName?: string | null,
>     creatorUrl?: string | null,
>     id?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   eventDate?: string | null,
>   eventMetadata?: Record<string, any> | null,
>   eventWeek?: number | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     eventId?: number | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   featured?: boolean | null,
>   featuredImage?: string | null,
>   featuredOrder?: number | null,
>   finishedTimestamp?: string | null,
>   gameId?: number | null,
>   gmpChartMode?: string | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   lastHighlight?: string | null,
>   lastHighlightAt?: string | null,
>   lastHighlightType?: string | null,
>   liquidity?: number | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   live?: boolean | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   maxMarketCount?: number | null,
>   moduleType?: string | null,
>   negRisk?: boolean | null,
>   negRiskAugmented?: boolean | null,
>   negRiskFeeBips?: number | null,
>   negRiskMarketID?: string | null,
>   new?: boolean | null,
>   openInterest?: number | null,
>   parentEventId?: number | null,
>   pendingDeployment?: boolean | null,
>   period?: string | null,
>   published_at?: string | null,
>   rescheduledFromGameId?: number | null,
>   resolutionMode?: string | null,
>   resolutionSource?: string | null,
>   restricted?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: string | null,
>   series?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     cgAssetName?: string | null,
>     closed?: boolean | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     description?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestLines?: {
>             id?: string | null,
>             line?: number | null,
>             lineType?: string | null
>           }[] | null | null,
>           cantEstimate?: boolean | null,
>           carouselMap?: string | null,
>           category?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           color?: string | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           countryName?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           creationDate?: string | null,
>           cumulativeMarkets?: boolean | null,
>           cyom?: boolean | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           elapsed?: string | null,
>           electionType?: string | null,
>           enableNegRisk?: boolean | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           ended?: boolean | null,
>           estimateValue?: boolean | null,
>           estimatedValue?: string | null,
>           eventCreators?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             creatorHandle?: string | null,
>             creatorImage?: string | null,
>             creatorName?: string | null,
>             creatorUrl?: string | null,
>             id?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           eventDate?: string | null,
>           eventMetadata?: Record<string, any> | null,
>           eventWeek?: number | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             eventId?: number | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           featured?: boolean | null,
>           featuredImage?: string | null,
>           featuredOrder?: number | null,
>           finishedTimestamp?: string | null,
>           gameId?: number | null,
>           gmpChartMode?: string | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           lastHighlight?: string | null,
>           lastHighlightAt?: string | null,
>           lastHighlightType?: string | null,
>           liquidity?: number | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           live?: boolean | null,
>           markets?: {
>             $schema?: string | null,
>             acceptingOrders?: boolean | null,
>             acceptingOrdersTimestamp?: string | null,
>             acceptingOrdersUntil?: string | null,
>             active?: boolean | null,
>             ammType?: string | null,
>             approved?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestAsk?: number | null,
>             bestBid?: number | null,
>             category?: string | null,
>             categoryMailchimpTag?: string | null,
>             chartColor?: string | null,
>             clearBookOnStart?: boolean | null,
>             clobRewards?: {
>               assetAddress?: string | null,
>               conditionId?: string | null,
>               endDate?: string | null,
>               id?: string | null,
>               rewardsAmount?: number | null,
>               rewardsDailyRate?: number | null,
>               startDate?: string | null
>             }[] | null | null,
>             clobTokenIds?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             comboStatus?: string | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             conditionId?: string | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             creator?: string | null,
>             cryptoMarketConfig?: {
>               $schema?: string | null,
>               asset?: string | null,
>               duration?: string | null,
>               id?: string | null,
>               twapEnabled?: boolean | null,
>               twapLookbackSeconds?: number | null
>             } | null,
>             cryptoMarketConfigId?: string | null,
>             curationOrder?: number | null,
>             customLiveness?: number | null,
>             cyom?: boolean | null,
>             denominationToken?: string | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             endDateIso?: string | null,
>             eventStartTime?: string | null,
>             events?: (recursive)[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             fallbackResolutionType?: string | null,
>             featured?: boolean | null,
>             fee?: string | null,
>             feeExponent?: number | null,
>             feeRate?: number | null,
>             feeSchedule?: {
>               exponent?: number | null,
>               rate?: number | null,
>               rebateRate?: number | null,
>               takerOnly?: boolean | null
>             } | null,
>             feeType?: string | null | null,
>             feesEnabled?: boolean | null,
>             formatType?: string | null,
>             fpmmLive?: boolean | null,
>             funded?: boolean | null,
>             fundedTimestamp?: string | null,
>             gameId?: string | null,
>             gameStartTime?: string | null,
>             groupItemRange?: string | null,
>             groupItemThreshold?: string | null,
>             groupItemTitle?: string | null,
>             hasReviewedDates?: boolean | null,
>             holdingRewardsEnabled?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             instrumentIndex?: number | null,
>             instrumentKind?: string | null,
>             lastTradePrice?: number | null,
>             line?: number | null,
>             liquidity?: string | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             liquidityNum?: number | null,
>             lowerBound?: string | null,
>             lowerBoundDate?: string | null,
>             mailchimpTag?: string | null,
>             makerBaseFee?: number | null,
>             makerRebatesFeeShareBps?: number | null,
>             manualActivation?: boolean | null,
>             marketGroup?: number | null,
>             marketMakerAddress?: string | null,
>             marketMetadata?: Record<string, any> | null,
>             marketType?: string | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             negRisk?: boolean | null,
>             negRiskMarketID?: string | null,
>             negRiskOther?: boolean | null,
>             negRiskRequestID?: string | null,
>             new?: boolean | null,
>             notificationsEnabled?: boolean | null,
>             onchainEventId?: string | null,
>             oneDayPriceChange?: number | null,
>             oneHourPriceChange?: number | null,
>             oneMonthPriceChange?: number | null,
>             oneWeekPriceChange?: number | null,
>             oneYearPriceChange?: number | null,
>             orderMinSize?: number | null,
>             orderPriceMinTickSize?: number | null,
>             outcomePrices?: string | null,
>             outcomes?: string | null,
>             pastSlugs?: string | null,
>             pendingDeployment?: boolean | null,
>             positionIds?: string[] | null | null,
>             question?: string | null,
>             questionID?: string | null,
>             ready?: boolean | null,
>             readyForCron?: boolean | null,
>             readyTimestamp?: string | null,
>             requestId?: string | null,
>             resolutionMechanism?: string | null | null,
>             resolutionSource?: string | null,
>             resolutionStatus?: string | null,
>             resolvedBy?: string | null,
>             restricted?: boolean | null,
>             rewardsMaxSpread?: number | null,
>             rewardsMinSize?: number | null,
>             rfqEnabled?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: number | null,
>             secondsDelay?: number | null,
>             sentDiscord?: boolean | null,
>             seriesColor?: string | null,
>             shortOutcomes?: string | null,
>             showGmpOutcome?: boolean | null,
>             showGmpSeries?: boolean | null,
>             slug?: string | null,
>             sponsorImage?: string | null,
>             sponsorName?: string | null,
>             sportsMarketType?: string | null,
>             spread?: number | null,
>             startDate?: string | null,
>             startDateIso?: string | null,
>             subcategory?: string | null,
>             submitted_by?: string | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             takerBaseFee?: number | null,
>             teamAID?: string | null,
>             teamBID?: string | null,
>             tradingEligible?: boolean | null | null,
>             twitterCardImage?: string | null,
>             twitterCardLastRefreshed?: string | null,
>             twitterCardLastValidated?: string | null,
>             twitterCardLocation?: string | null,
>             umaBond?: string | null,
>             umaEndDate?: string | null,
>             umaEndDateIso?: string | null,
>             umaResolutionStatus?: string | null,
>             umaResolutionStatuses?: string | null,
>             umaReward?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null,
>             upperBound?: string | null,
>             upperBoundDate?: string | null,
>             version?: string | null,
>             volume?: string | null,
>             volume1mo?: number | null,
>             volume1moAmm?: number | null,
>             volume1moClob?: number | null,
>             volume1wk?: number | null,
>             volume1wkAmm?: number | null,
>             volume1wkClob?: number | null,
>             volume1yr?: number | null,
>             volume1yrAmm?: number | null,
>             volume1yrClob?: number | null,
>             volume24hr?: number | null,
>             volume24hrAmm?: number | null,
>             volume24hrClob?: number | null,
>             volumeAmm?: number | null,
>             volumeClob?: number | null,
>             volumeNum?: number | null,
>             wideFormat?: boolean | null,
>             xAxisValue?: string | null,
>             yAxisValue?: string | null
>           }[] | null | null,
>           maxMarketCount?: number | null,
>           moduleType?: string | null,
>           negRisk?: boolean | null,
>           negRiskAugmented?: boolean | null,
>           negRiskFeeBips?: number | null,
>           negRiskMarketID?: string | null,
>           new?: boolean | null,
>           openInterest?: number | null,
>           parentEventId?: number | null,
>           pendingDeployment?: boolean | null,
>           period?: string | null,
>           published_at?: string | null,
>           rescheduledFromGameId?: number | null,
>           resolutionMode?: string | null,
>           resolutionSource?: string | null,
>           restricted?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: string | null,
>           series?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             cgAssetName?: string | null,
>             closed?: boolean | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             description?: string | null,
>             events?: (recursive)[] | null | null,
>             featured?: boolean | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             layout?: string | null,
>             liquidity?: number | null,
>             new?: boolean | null,
>             publishedAt?: string | null,
>             pythTokenID?: string | null,
>             recurrence?: string | null,
>             restricted?: boolean | null,
>             score?: number | null,
>             seriesType?: string | null,
>             slug?: string | null,
>             startDate?: string | null,
>             subtitle?: string | null,
>             templateVariables?: boolean | null,
>             ticker?: string | null,
>             title?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             volume?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           seriesSlug?: string | null,
>           showAllOutcomes?: boolean | null,
>           showMarketImages?: boolean | null,
>           slug?: string | null,
>           sortBy?: string | null,
>           sport?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               sportId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             image?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             primaryTagId?: number | null,
>             resolution?: string | null,
>             series?: string | null,
>             sport?: string | null,
>             tags?: string | null,
>             updatedAt?: string | null
>           } | null,
>           spreadsMainLine?: number | null,
>           startDate?: string | null,
>           startTime?: string | null,
>           subEvents?: (string | null)[] | null | null,
>           subcategory?: string | null,
>           subtitle?: string | null,
>           tag_labels?: string[] | null | null,
>           tag_slugs?: string[] | null | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           teams?: {
>             $schema?: string | null,
>             abbreviation?: string | null,
>             alias?: string | null,
>             color?: string | null,
>             createdAt?: string | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               source?: string | null,
>               teamId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             id?: number | null,
>             league?: string | null,
>             logo?: string | null,
>             name?: string | null,
>             ordering?: string | null,
>             providerId?: number | null,
>             record?: string | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           templateVariables?: string | null,
>           ticker?: string | null,
>           title?: string | null,
>           totalsMainLine?: number | null,
>           turnProviderId?: string | null,
>           tweetCount?: number | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           usId?: string | null,
>           version?: string | null,
>           volume?: number | null,
>           volume1mo?: number | null,
>           volume1wk?: number | null,
>           volume1yr?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: {
>             $schema?: string | null,
>             active?: boolean | null,
>             archived?: boolean | null,
>             automaticallyActive?: boolean | null,
>             automaticallyResolved?: boolean | null,
>             bestLines?: {
>               id?: string | null,
>               line?: number | null,
>               lineType?: string | null
>             }[] | null | null,
>             cantEstimate?: boolean | null,
>             carouselMap?: string | null,
>             category?: string | null,
>             closed?: boolean | null,
>             closedTime?: string | null,
>             color?: string | null,
>             commentCount?: number | null,
>             commentsEnabled?: boolean | null,
>             competitive?: number | null,
>             countryName?: string | null,
>             createdAt?: string | null,
>             createdBy?: string | null,
>             creationDate?: string | null,
>             cumulativeMarkets?: boolean | null,
>             cyom?: boolean | null,
>             deploying?: boolean | null,
>             deployingTimestamp?: string | null,
>             description?: string | null,
>             disqusThread?: string | null,
>             elapsed?: string | null,
>             electionType?: string | null,
>             enableNegRisk?: boolean | null,
>             enableOrderBook?: boolean | null,
>             endDate?: string | null,
>             ended?: boolean | null,
>             estimateValue?: boolean | null,
>             estimatedValue?: string | null,
>             eventCreators?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               creatorHandle?: string | null,
>               creatorImage?: string | null,
>               creatorName?: string | null,
>               creatorUrl?: string | null,
>               id?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             eventDate?: string | null,
>             eventMetadata?: Record<string, any> | null,
>             eventWeek?: number | null,
>             externalPartners?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               eventId?: number | null,
>               externalId?: string | null,
>               id?: number | null,
>               partner?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 id?: number | null,
>                 name?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null
>               } | null,
>               partnerId?: number | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             facets?: {
>               abbreviation?: string | null,
>               appliesTo?: string[] | null | null,
>               label?: string | null,
>               parents?: string[] | null | null,
>               slug?: string | null
>             }[] | null | null,
>             featured?: boolean | null,
>             featuredImage?: string | null,
>             featuredOrder?: number | null,
>             finishedTimestamp?: string | null,
>             gameId?: number | null,
>             gmpChartMode?: string | null,
>             icon?: string | null,
>             id?: string | null,
>             image?: string | null,
>             isTemplate?: boolean | null,
>             lastHighlight?: string | null,
>             lastHighlightAt?: string | null,
>             lastHighlightType?: string | null,
>             liquidity?: number | null,
>             liquidityAmm?: number | null,
>             liquidityClob?: number | null,
>             live?: boolean | null,
>             markets?: {
>               $schema?: string | null,
>               acceptingOrders?: boolean | null,
>               acceptingOrdersTimestamp?: string | null,
>               acceptingOrdersUntil?: string | null,
>               active?: boolean | null,
>               ammType?: string | null,
>               approved?: boolean | null,
>               archived?: boolean | null,
>               automaticallyActive?: boolean | null,
>               automaticallyResolved?: boolean | null,
>               bestAsk?: number | null,
>               bestBid?: number | null,
>               category?: string | null,
>               categoryMailchimpTag?: string | null,
>               chartColor?: string | null,
>               clearBookOnStart?: boolean | null,
>               clobRewards?: {
>                 assetAddress?: string | null,
>                 conditionId?: string | null,
>                 endDate?: string | null,
>                 id?: string | null,
>                 rewardsAmount?: number | null,
>                 rewardsDailyRate?: number | null,
>                 startDate?: string | null
>               }[] | null | null,
>               clobTokenIds?: string | null,
>               closed?: boolean | null,
>               closedTime?: string | null,
>               comboStatus?: string | null,
>               commentsEnabled?: boolean | null,
>               competitive?: number | null,
>               conditionId?: string | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               creator?: string | null,
>               cryptoMarketConfig?: {
>                 $schema?: string | null,
>                 asset?: string | null,
>                 duration?: string | null,
>                 id?: string | null,
>                 twapEnabled?: boolean | null,
>                 twapLookbackSeconds?: number | null
>               } | null,
>               cryptoMarketConfigId?: string | null,
>               curationOrder?: number | null,
>               customLiveness?: number | null,
>               cyom?: boolean | null,
>               denominationToken?: string | null,
>               deploying?: boolean | null,
>               deployingTimestamp?: string | null,
>               description?: string | null,
>               disqusThread?: string | null,
>               enableOrderBook?: boolean | null,
>               endDate?: string | null,
>               endDateIso?: string | null,
>               eventStartTime?: string | null,
>               events?: (recursive)[] | null | null,
>               facets?: {
>                 abbreviation?: string | null,
>                 appliesTo?: string[] | null | null,
>                 label?: string | null,
>                 parents?: string[] | null | null,
>                 slug?: string | null
>               }[] | null | null,
>               fallbackResolutionType?: string | null,
>               featured?: boolean | null,
>               fee?: string | null,
>               feeExponent?: number | null,
>               feeRate?: number | null,
>               feeSchedule?: {
>                 exponent?: number | null,
>                 rate?: number | null,
>                 rebateRate?: number | null,
>                 takerOnly?: boolean | null
>               } | null,
>               feeType?: string | null | null,
>               feesEnabled?: boolean | null,
>               formatType?: string | null,
>               fpmmLive?: boolean | null,
>               funded?: boolean | null,
>               fundedTimestamp?: string | null,
>               gameId?: string | null,
>               gameStartTime?: string | null,
>               groupItemRange?: string | null,
>               groupItemThreshold?: string | null,
>               groupItemTitle?: string | null,
>               hasReviewedDates?: boolean | null,
>               holdingRewardsEnabled?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               instrumentIndex?: number | null,
>               instrumentKind?: string | null,
>               lastTradePrice?: number | null,
>               line?: number | null,
>               liquidity?: string | null,
>               liquidityAmm?: number | null,
>               liquidityClob?: number | null,
>               liquidityNum?: number | null,
>               lowerBound?: string | null,
>               lowerBoundDate?: string | null,
>               mailchimpTag?: string | null,
>               makerBaseFee?: number | null,
>               makerRebatesFeeShareBps?: number | null,
>               manualActivation?: boolean | null,
>               marketGroup?: number | null,
>               marketMakerAddress?: string | null,
>               marketMetadata?: Record<string, any> | null,
>               marketType?: string | null,
>               markets?: (recursive)[] | null | null,
>               negRisk?: boolean | null,
>               negRiskMarketID?: string | null,
>               negRiskOther?: boolean | null,
>               negRiskRequestID?: string | null,
>               new?: boolean | null,
>               notificationsEnabled?: boolean | null,
>               onchainEventId?: string | null,
>               oneDayPriceChange?: number | null,
>               oneHourPriceChange?: number | null,
>               oneMonthPriceChange?: number | null,
>               oneWeekPriceChange?: number | null,
>               oneYearPriceChange?: number | null,
>               orderMinSize?: number | null,
>               orderPriceMinTickSize?: number | null,
>               outcomePrices?: string | null,
>               outcomes?: string | null,
>               pastSlugs?: string | null,
>               pendingDeployment?: boolean | null,
>               positionIds?: string[] | null | null,
>               question?: string | null,
>               questionID?: string | null,
>               ready?: boolean | null,
>               readyForCron?: boolean | null,
>               readyTimestamp?: string | null,
>               requestId?: string | null,
>               resolutionMechanism?: string | null | null,
>               resolutionSource?: string | null,
>               resolutionStatus?: string | null,
>               resolvedBy?: string | null,
>               restricted?: boolean | null,
>               rewardsMaxSpread?: number | null,
>               rewardsMinSize?: number | null,
>               rfqEnabled?: boolean | null,
>               scheduledDeploymentTimestamp?: string | null,
>               score?: number | null,
>               secondsDelay?: number | null,
>               sentDiscord?: boolean | null,
>               seriesColor?: string | null,
>               shortOutcomes?: string | null,
>               showGmpOutcome?: boolean | null,
>               showGmpSeries?: boolean | null,
>               slug?: string | null,
>               sponsorImage?: string | null,
>               sponsorName?: string | null,
>               sportsMarketType?: string | null,
>               spread?: number | null,
>               startDate?: string | null,
>               startDateIso?: string | null,
>               subcategory?: string | null,
>               submitted_by?: string | null,
>               tags?: {
>                 $schema?: string | null,
>                 activeEventsCount?: number | null,
>                 createdAt?: string | null,
>                 createdBy?: number | null,
>                 forceHide?: boolean | null,
>                 forceShow?: boolean | null,
>                 id?: string | null,
>                 isCarousel?: boolean | null,
>                 label?: string | null,
>                 publishedAt?: string | null,
>                 slug?: string | null,
>                 updatedAt?: string | null,
>                 updatedBy?: number | null
>               }[] | null | null,
>               takerBaseFee?: number | null,
>               teamAID?: string | null,
>               teamBID?: string | null,
>               tradingEligible?: boolean | null | null,
>               twitterCardImage?: string | null,
>               twitterCardLastRefreshed?: string | null,
>               twitterCardLastValidated?: string | null,
>               twitterCardLocation?: string | null,
>               umaBond?: string | null,
>               umaEndDate?: string | null,
>               umaEndDateIso?: string | null,
>               umaResolutionStatus?: string | null,
>               umaResolutionStatuses?: string | null,
>               umaReward?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null,
>               upperBound?: string | null,
>               upperBoundDate?: string | null,
>               version?: string | null,
>               volume?: string | null,
>               volume1mo?: number | null,
>               volume1moAmm?: number | null,
>               volume1moClob?: number | null,
>               volume1wk?: number | null,
>               volume1wkAmm?: number | null,
>               volume1wkClob?: number | null,
>               volume1yr?: number | null,
>               volume1yrAmm?: number | null,
>               volume1yrClob?: number | null,
>               volume24hr?: number | null,
>               volume24hrAmm?: number | null,
>               volume24hrClob?: number | null,
>               volumeAmm?: number | null,
>               volumeClob?: number | null,
>               volumeNum?: number | null,
>               wideFormat?: boolean | null,
>               xAxisValue?: string | null,
>               yAxisValue?: string | null
>             }[] | null | null,
>             maxMarketCount?: number | null,
>             moduleType?: string | null,
>             negRisk?: boolean | null,
>             negRiskAugmented?: boolean | null,
>             negRiskFeeBips?: number | null,
>             negRiskMarketID?: string | null,
>             new?: boolean | null,
>             openInterest?: number | null,
>             parentEventId?: number | null,
>             pendingDeployment?: boolean | null,
>             period?: string | null,
>             published_at?: string | null,
>             rescheduledFromGameId?: number | null,
>             resolutionMode?: string | null,
>             resolutionSource?: string | null,
>             restricted?: boolean | null,
>             scheduledDeploymentTimestamp?: string | null,
>             score?: string | null,
>             series?: {
>               $schema?: string | null,
>               active?: boolean | null,
>               archived?: boolean | null,
>               cgAssetName?: string | null,
>               closed?: boolean | null,
>               commentCount?: number | null,
>               commentsEnabled?: boolean | null,
>               competitive?: string | null,
>               createdAt?: string | null,
>               createdBy?: string | null,
>               description?: string | null,
>               events?: (recursive)[] | null | null,
>               featured?: boolean | null,
>               icon?: string | null,
>               id?: string | null,
>               image?: string | null,
>               isTemplate?: boolean | null,
>               layout?: string | null,
>               liquidity?: number | null,
>               new?: boolean | null,
>               publishedAt?: string | null,
>               pythTokenID?: string | null,
>               recurrence?: string | null,
>               restricted?: boolean | null,
>               score?: number | null,
>               seriesType?: string | null,
>               slug?: string | null,
>               startDate?: string | null,
>               subtitle?: string | null,
>               templateVariables?: boolean | null,
>               ticker?: string | null,
>               title?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: string | null,
>               volume?: number | null,
>               volume24hr?: number | null
>             }[] | null | null,
>             seriesSlug?: string | null,
>             showAllOutcomes?: boolean | null,
>             showMarketImages?: boolean | null,
>             slug?: string | null,
>             sortBy?: string | null,
>             sport?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 sportId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               image?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               primaryTagId?: number | null,
>               resolution?: string | null,
>               series?: string | null,
>               sport?: string | null,
>               tags?: string | null,
>               updatedAt?: string | null
>             } | null,
>             spreadsMainLine?: number | null,
>             startDate?: string | null,
>             startTime?: string | null,
>             subEvents?: (string | null)[] | null | null,
>             subcategory?: string | null,
>             subtitle?: string | null,
>             tag_labels?: string[] | null | null,
>             tag_slugs?: string[] | null | null,
>             tags?: {
>               $schema?: string | null,
>               activeEventsCount?: number | null,
>               createdAt?: string | null,
>               createdBy?: number | null,
>               forceHide?: boolean | null,
>               forceShow?: boolean | null,
>               id?: string | null,
>               isCarousel?: boolean | null,
>               label?: string | null,
>               publishedAt?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null,
>               updatedBy?: number | null
>             }[] | null | null,
>             teams?: {
>               $schema?: string | null,
>               abbreviation?: string | null,
>               alias?: string | null,
>               color?: string | null,
>               createdAt?: string | null,
>               externalPartners?: {
>                 $schema?: string | null,
>                 createdAt?: string | null,
>                 externalId?: string | null,
>                 id?: number | null,
>                 partner?: {
>                   $schema?: string | null,
>                   createdAt?: string | null,
>                   id?: number | null,
>                   name?: string | null,
>                   slug?: string | null,
>                   updatedAt?: string | null
>                 } | null,
>                 partnerId?: number | null,
>                 source?: string | null,
>                 teamId?: number | null,
>                 updatedAt?: string | null
>               }[] | null | null,
>               id?: number | null,
>               league?: string | null,
>               logo?: string | null,
>               name?: string | null,
>               ordering?: string | null,
>               providerId?: number | null,
>               record?: string | null,
>               updatedAt?: string | null
>             }[] | null | null,
>             templateVariables?: string | null,
>             ticker?: string | null,
>             title?: string | null,
>             totalsMainLine?: number | null,
>             turnProviderId?: string | null,
>             tweetCount?: number | null,
>             updatedAt?: string | null,
>             updatedBy?: string | null,
>             usId?: string | null,
>             version?: string | null,
>             volume?: number | null,
>             volume1mo?: number | null,
>             volume1wk?: number | null,
>             volume1yr?: number | null,
>             volume24hr?: number | null
>           }[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: (recursive)[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     featured?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     layout?: string | null,
>     liquidity?: number | null,
>     new?: boolean | null,
>     publishedAt?: string | null,
>     pythTokenID?: string | null,
>     recurrence?: string | null,
>     restricted?: boolean | null,
>     score?: number | null,
>     seriesType?: string | null,
>     slug?: string | null,
>     startDate?: string | null,
>     subtitle?: string | null,
>     templateVariables?: boolean | null,
>     ticker?: string | null,
>     title?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     volume?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   seriesSlug?: string | null,
>   showAllOutcomes?: boolean | null,
>   showMarketImages?: boolean | null,
>   slug?: string | null,
>   sortBy?: string | null,
>   sport?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       sportId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     image?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     primaryTagId?: number | null,
>     resolution?: string | null,
>     series?: string | null,
>     sport?: string | null,
>     tags?: string | null,
>     updatedAt?: string | null
>   } | null,
>   spreadsMainLine?: number | null,
>   startDate?: string | null,
>   startTime?: string | null,
>   subEvents?: (string | null)[] | null | null,
>   subcategory?: string | null,
>   subtitle?: string | null,
>   tag_labels?: string[] | null | null,
>   tag_slugs?: string[] | null | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   teams?: {
>     $schema?: string | null,
>     abbreviation?: string | null,
>     alias?: string | null,
>     color?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       source?: string | null,
>       teamId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     league?: string | null,
>     logo?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     providerId?: number | null,
>     record?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   templateVariables?: string | null,
>   ticker?: string | null,
>   title?: string | null,
>   totalsMainLine?: number | null,
>   turnProviderId?: string | null,
>   tweetCount?: number | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   usId?: string | null,
>   version?: string | null,
>   volume?: number | null,
>   volume1mo?: number | null,
>   volume1wk?: number | null,
>   volume1yr?: number | null,
>   volume24hr?: number | null
> }[] | null
> ```

***

### feeTypes.list

`gamma.feeTypes.list`

Get fee types

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.feeTypes.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `active` | `string` | No | Only active fee types when true |
| `search` | `string` | No | Search string |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   activeEventsCount?: number | null,
>   description?: string | null,
>   exponent?: number | null,
>   feeType?: string | null,
>   rate?: number | null,
>   rebateRate?: number | null,
>   takerOnly?: boolean | null
> }[] | null
> ```

***

### games.get

`gamma.games.get`

Get game

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.games.get({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `sport` | `string` | No | Sport slug |
| `ticker` | `string` | No | Game ticker |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `bestLines` | `object[] \| null` | No | Best available line values grouped by market type. |
| `ordering` | `string \| null` | No | Home/away ordering used when presenting the game teams. |
| `sport` | `string \| null` | No | Sport slug associated with the game. |
| `teams` | `string[] \| null \| null` | No | Team names or abbreviations participating in the game. |
| `type` | `string[] \| null \| null` | No | Market types available for the game. |

> [accordion] bestLines full type
>
> ```ts theme={null}
> {
>   line?: number | null,
>   type?: string | null
> }[] | null | null
> ```

***

### makerTiers.get

`gamma.makerTiers.get`

Get maker tiers for addresses

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.makerTiers.get({
	addresses: ['example'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `addresses` | `string[] \| null` | Yes | Maker addresses (proxy wallet or EOA) to look up, case-insensitive. Matched as given against the address that made the fills. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `tiers` | `object[] \| null` | No | One entry per distinct requested address, in first-seen request order |

> [accordion] tiers full type
>
> ```ts theme={null}
> {
>   address?: string | null,
>   own_wv_30d?: number | null,
>   rebate_bps?: number | null,
>   snapshot_date?: string | null,
>   tier?: number | null,
>   wv_30d?: number | null
> }[] | null | null
> ```

***

### makerTiers.ladder

`gamma.makerTiers.ladder`

Get the maker tier ladder

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.makerTiers.ladder({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `ladders` | `object[] \| null` | No | The ladder in effect today (UTC) first, then each scheduled ladder by effective\_from |

> [accordion] ladders full type
>
> ```ts theme={null}
> {
>   effective_from?: string | null,
>   tiers?: {
>     min_wv_30d?: number | null,
>     rebate_bps?: number | null,
>     tier?: number | null
>   }[] | null | null
> }[] | null | null
> ```

***

### marketClarifications.list

`gamma.marketClarifications.list`

Get market clarifications

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.marketClarifications.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number[] \| null` | No | Clarification IDs to return |
| `market_id` | `number[] \| null` | No | Market IDs to return clarifications for |
| `event_id` | `number[] \| null` | No | Event IDs to return clarifications for |
| `state` | `string[] \| null` | No | Clarification states to validate before public visibility filtering |
| `question_id` | `string[] \| null` | No | Question IDs to return clarifications for |
| `tx_hash` | `string` | No | Transaction hash associated with the clarification |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `after_cursor` | `string` | No | Opaque keyset pagination cursor from a previous response |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   adapterAddress?: string | null,
>   clearBook?: boolean | null | null,
>   content?: string | null | null,
>   createdAt?: string | null,
>   eventId?: number | null,
>   id?: number | null | null,
>   marketId?: number | null | null,
>   negRiskRequestId?: string | null,
>   notifyDiscord?: boolean | null,
>   questionId?: string | null | null,
>   queuedAt?: string | null,
>   scheduledFor?: string | null | null,
>   showInFrontend?: boolean | null,
>   state?: string | null | null,
>   txHash?: string | null,
>   txTimestamp?: string | null
> }[] | null
> ```

***

### marketEstimateHistory.list

`gamma.marketEstimateHistory.list`

Get market estimate history

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.marketEstimateHistory.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `event_id` | `string` | No | Event id |
| `fidelity` | `string` | No | Bucket size in minutes |
| `interval` | `string` | No | 1h, 6h, 1d, 1w, 1m, max or all |
| `startTs` | `string` | No | Range start as a unix timestamp |
| `endTs` | `string` | No | Range end as a unix timestamp |

**Output:** `Record<string, any>`

***

### markets.description

`gamma.markets.description`

Get market description

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.markets.description({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Market ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `acceptingOrders` | `boolean \| null` | No | — |
| `acceptingOrdersTimestamp` | `string \| null` | No | — |
| `acceptingOrdersUntil` | `string \| null` | No | — |
| `active` | `boolean \| null` | No | — |
| `ammType` | `string \| null` | No | — |
| `approved` | `boolean \| null` | No | — |
| `archived` | `boolean \| null` | No | — |
| `automaticallyActive` | `boolean \| null` | No | — |
| `automaticallyResolved` | `boolean \| null` | No | — |
| `bestAsk` | `number \| null` | No | — |
| `bestBid` | `number \| null` | No | — |
| `category` | `string \| null` | No | — |
| `categoryMailchimpTag` | `string \| null` | No | — |
| `chartColor` | `string \| null` | No | — |
| `clearBookOnStart` | `boolean \| null` | No | — |
| `clobRewards` | `object[] \| null` | No | — |
| `clobTokenIds` | `string \| null` | No | — |
| `closed` | `boolean \| null` | No | — |
| `closedTime` | `string \| null` | No | — |
| `comboStatus` | `string \| null` | No | Combo eligibility state: pending/enabled/disabled. May be set at creation — enabled requires a conditionId and two positionIds. After creation it can only be changed through the combo-status endpoint. |
| `commentsEnabled` | `boolean \| null` | No | — |
| `competitive` | `number \| null` | No | — |
| `conditionId` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `createdBy` | `number \| null` | No | — |
| `creator` | `string \| null` | No | — |
| `cryptoMarketConfig` | `object \| null` | No | — |
| `cryptoMarketConfigId` | `string \| null` | No | — |
| `curationOrder` | `number \| null` | No | — |
| `customLiveness` | `number \| null` | No | — |
| `cyom` | `boolean \| null` | No | — |
| `denominationToken` | `string \| null` | No | — |
| `deploying` | `boolean \| null` | No | — |
| `deployingTimestamp` | `string \| null` | No | — |
| `description` | `string \| null` | No | — |
| `disqusThread` | `string \| null` | No | — |
| `enableOrderBook` | `boolean \| null` | No | — |
| `endDate` | `string \| null` | No | — |
| `endDateIso` | `string \| null` | No | — |
| `eventStartTime` | `string \| null` | No | — |
| `events` | `object[] \| null` | No | — |
| `facets` | `object[] \| null` | No | Facets assigned to the market, with their ancestors; a market does not carry its event's facets. Present only when the request sets include\_facets=true. Read-only. |
| `fallbackResolutionType` | `string \| null` | No | Which mechanism resolves the market once UMA reports P3 (Scalar Resolutions): none (no workflow is started; the market stays unresolved on-chain until an operator changes the mode), equal\_split (50/50) or lfmp (a settlement price — the last fair market price — is supplied by the resolution tooling). Defaults to none at creation and can be changed at any time, including after deployment. Gamma does not validate the mode against the market type. |
| `featured` | `boolean \| null` | No | — |
| `fee` | `string \| null` | No | — |
| `feeExponent` | `number \| null` | No | — |
| `feeRate` | `number \| null` | No | — |
| `feeSchedule` | `object \| null` | No | — |
| `feeType` | `string \| null \| null` | No | — |
| `feesEnabled` | `boolean \| null` | No | — |
| `formatType` | `string \| null` | No | — |
| `fpmmLive` | `boolean \| null` | No | — |
| `funded` | `boolean \| null` | No | — |
| `fundedTimestamp` | `string \| null` | No | — |
| `gameId` | `string \| null` | No | — |
| `gameStartTime` | `string \| null` | No | — |
| `groupItemRange` | `string \| null` | No | — |
| `groupItemThreshold` | `string \| null` | No | — |
| `groupItemTitle` | `string \| null` | No | — |
| `hasReviewedDates` | `boolean \| null` | No | — |
| `holdingRewardsEnabled` | `boolean \| null` | No | — |
| `icon` | `string \| null` | No | — |
| `id` | `string \| null` | No | — |
| `image` | `string \| null` | No | — |
| `instrumentIndex` | `number \| null` | No | Directional instrument slot within the parent event: bucket \[0,maxMarketCount), threshold \[1,maxMarketCount), void at maxMarketCount. Zero is a valid bucket index; absent means not directional. Unique per (event, instrumentKind). Server-owned, immutable from creation; read-only. |
| `instrumentKind` | `string \| null` | No | Directional instrument kind. Only present on directional event markets. Server-owned, immutable from creation; read-only. |
| `lastTradePrice` | `number \| null` | No | — |
| `line` | `number \| null` | No | — |
| `liquidity` | `string \| null` | No | — |
| `liquidityAmm` | `number \| null` | No | — |
| `liquidityClob` | `number \| null` | No | — |
| `liquidityNum` | `number \| null` | No | — |
| `lowerBound` | `string \| null` | No | — |
| `lowerBoundDate` | `string \| null` | No | — |
| `mailchimpTag` | `string \| null` | No | — |
| `makerBaseFee` | `number \| null` | No | — |
| `makerRebatesFeeShareBps` | `number \| null` | No | — |
| `manualActivation` | `boolean \| null` | No | — |
| `marketGroup` | `number \| null` | No | — |
| `marketMakerAddress` | `string \| null` | No | — |
| `marketMetadata` | `Record<string, any> \| null` | No | — |
| `marketType` | `string \| null` | No | — |
| `markets` | `object[] \| null` | No | — |
| `negRisk` | `boolean \| null` | No | — |
| `negRiskMarketID` | `string \| null` | No | — |
| `negRiskOther` | `boolean \| null` | No | — |
| `negRiskRequestID` | `string \| null` | No | — |
| `new` | `boolean \| null` | No | — |
| `notificationsEnabled` | `boolean \| null` | No | — |
| `onchainEventId` | `string \| null` | No | Parent v2 on-chain event ID: bytes32 hex with the bottom 3 bytes zero, equal to the v2 conditionId with its conditionIndex cleared. Shared by every market of a neg-risk event. Only present on v2 markets. Read-only: derived from the v2 conditionId; writes are rejected unless echoing the stored value. |
| `oneDayPriceChange` | `number \| null` | No | — |
| `oneHourPriceChange` | `number \| null` | No | — |
| `oneMonthPriceChange` | `number \| null` | No | — |
| `oneWeekPriceChange` | `number \| null` | No | — |
| `oneYearPriceChange` | `number \| null` | No | — |
| `orderMinSize` | `number \| null` | No | — |
| `orderPriceMinTickSize` | `number \| null` | No | — |
| `outcomePrices` | `string \| null` | No | — |
| `outcomes` | `string \| null` | No | — |
| `pastSlugs` | `string \| null` | No | — |
| `pendingDeployment` | `boolean \| null` | No | — |
| `positionIds` | `string[] \| null \| null` | No | — |
| `question` | `string \| null` | No | — |
| `questionID` | `string \| null` | No | — |
| `ready` | `boolean \| null` | No | — |
| `readyForCron` | `boolean \| null` | No | — |
| `readyTimestamp` | `string \| null` | No | — |
| `requestId` | `string \| null` | No | V2 oracle request ID (bytes32 hex): the key the OracleAggregator resolves the market under. Equals the conditionId for binary and incremental neg-risk markets, and the onchainEventId for atomic neg-risk markets. Only present on v2 markets. Auto-derived for binary markets; for neg-risk markets it is set at creation and must equal the conditionId or the onchainEventId. |
| `resolutionMechanism` | `string \| null \| null` | No | How the market resolves: oracle (resolved through an oracle request) or derived (payouts are supplied by the resolution service, no independent oracle request). Computed by Gamma at creation and fixed afterwards; read-only. Independent of resolutionSource, which stays free-text provider metadata. |
| `resolutionSource` | `string \| null` | No | — |
| `resolutionStatus` | `string \| null` | No | High-level resolution state of the market: inactive (drafted, not yet deployed on chain), active (deployed, not resolved yet) or resolved. Only written for v2 markets; v1 markets keep using umaResolutionStatus. |
| `resolvedBy` | `string \| null` | No | — |
| `restricted` | `boolean \| null` | No | — |
| `rewardsMaxSpread` | `number \| null` | No | — |
| `rewardsMinSize` | `number \| null` | No | — |
| `rfqEnabled` | `boolean \| null` | No | — |
| `scheduledDeploymentTimestamp` | `string \| null` | No | — |
| `score` | `number \| null` | No | — |
| `secondsDelay` | `number \| null` | No | — |
| `sentDiscord` | `boolean \| null` | No | — |
| `seriesColor` | `string \| null` | No | — |
| `shortOutcomes` | `string \| null` | No | — |
| `showGmpOutcome` | `boolean \| null` | No | — |
| `showGmpSeries` | `boolean \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `sponsorImage` | `string \| null` | No | — |
| `sponsorName` | `string \| null` | No | — |
| `sportsMarketType` | `string \| null` | No | — |
| `spread` | `number \| null` | No | — |
| `startDate` | `string \| null` | No | — |
| `startDateIso` | `string \| null` | No | — |
| `subcategory` | `string \| null` | No | — |
| `submitted_by` | `string \| null` | No | — |
| `tags` | `object[] \| null` | No | — |
| `takerBaseFee` | `number \| null` | No | — |
| `teamAID` | `string \| null` | No | — |
| `teamBID` | `string \| null` | No | — |
| `tradingEligible` | `boolean \| null \| null` | No | Whether the market can trade. Computed by Gamma at creation and fixed afterwards; read-only. Always present, false is explicit. Non-tradable markets are excluded from public discovery lists and search but stay readable by id, condition id, token id and position id. |
| `twitterCardImage` | `string \| null` | No | — |
| `twitterCardLastRefreshed` | `string \| null` | No | — |
| `twitterCardLastValidated` | `string \| null` | No | — |
| `twitterCardLocation` | `string \| null` | No | — |
| `umaBond` | `string \| null` | No | — |
| `umaEndDate` | `string \| null` | No | — |
| `umaEndDateIso` | `string \| null` | No | — |
| `umaResolutionStatus` | `string \| null` | No | — |
| `umaResolutionStatuses` | `string \| null` | No | — |
| `umaReward` | `string \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |
| `updatedBy` | `number \| null` | No | — |
| `upperBound` | `string \| null` | No | — |
| `upperBoundDate` | `string \| null` | No | — |
| `version` | `string \| null` | No | Protocol version the market trades on: v1 (legacy CTF/CLOB) or v2 (polymarket-v2 modules). Clients must match exact values and treat unknown values as unsupported. |
| `volume` | `string \| null` | No | — |
| `volume1mo` | `number \| null` | No | — |
| `volume1moAmm` | `number \| null` | No | — |
| `volume1moClob` | `number \| null` | No | — |
| `volume1wk` | `number \| null` | No | — |
| `volume1wkAmm` | `number \| null` | No | — |
| `volume1wkClob` | `number \| null` | No | — |
| `volume1yr` | `number \| null` | No | — |
| `volume1yrAmm` | `number \| null` | No | — |
| `volume1yrClob` | `number \| null` | No | — |
| `volume24hr` | `number \| null` | No | — |
| `volume24hrAmm` | `number \| null` | No | — |
| `volume24hrClob` | `number \| null` | No | — |
| `volumeAmm` | `number \| null` | No | — |
| `volumeClob` | `number \| null` | No | — |
| `volumeNum` | `number \| null` | No | — |
| `wideFormat` | `boolean \| null` | No | — |
| `xAxisValue` | `string \| null` | No | — |
| `yAxisValue` | `string \| null` | No | — |

> [accordion] clobRewards full type
>
> ```ts theme={null}
> {
>   assetAddress?: string | null,
>   conditionId?: string | null,
>   endDate?: string | null,
>   id?: string | null,
>   rewardsAmount?: number | null,
>   rewardsDailyRate?: number | null,
>   startDate?: string | null
> }[] | null | null
> ```

> [accordion] cryptoMarketConfig full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   asset?: string | null,
>   duration?: string | null,
>   id?: string | null,
>   twapEnabled?: boolean | null,
>   twapLookbackSeconds?: number | null
> } | null
> ```

> [accordion] events full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestLines?: {
>     id?: string | null,
>     line?: number | null,
>     lineType?: string | null
>   }[] | null | null,
>   cantEstimate?: boolean | null,
>   carouselMap?: string | null,
>   category?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   color?: string | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   countryName?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   creationDate?: string | null,
>   cumulativeMarkets?: boolean | null,
>   cyom?: boolean | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   elapsed?: string | null,
>   electionType?: string | null,
>   enableNegRisk?: boolean | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   ended?: boolean | null,
>   estimateValue?: boolean | null,
>   estimatedValue?: string | null,
>   eventCreators?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     creatorHandle?: string | null,
>     creatorImage?: string | null,
>     creatorName?: string | null,
>     creatorUrl?: string | null,
>     id?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   eventDate?: string | null,
>   eventMetadata?: Record<string, any> | null,
>   eventWeek?: number | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     eventId?: number | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   featured?: boolean | null,
>   featuredImage?: string | null,
>   featuredOrder?: number | null,
>   finishedTimestamp?: string | null,
>   gameId?: number | null,
>   gmpChartMode?: string | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   lastHighlight?: string | null,
>   lastHighlightAt?: string | null,
>   lastHighlightType?: string | null,
>   liquidity?: number | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   live?: boolean | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: (recursive)[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: (recursive)[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   maxMarketCount?: number | null,
>   moduleType?: string | null,
>   negRisk?: boolean | null,
>   negRiskAugmented?: boolean | null,
>   negRiskFeeBips?: number | null,
>   negRiskMarketID?: string | null,
>   new?: boolean | null,
>   openInterest?: number | null,
>   parentEventId?: number | null,
>   pendingDeployment?: boolean | null,
>   period?: string | null,
>   published_at?: string | null,
>   rescheduledFromGameId?: number | null,
>   resolutionMode?: string | null,
>   resolutionSource?: string | null,
>   restricted?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: string | null,
>   series?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     cgAssetName?: string | null,
>     closed?: boolean | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     description?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: (recursive)[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     featured?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     layout?: string | null,
>     liquidity?: number | null,
>     new?: boolean | null,
>     publishedAt?: string | null,
>     pythTokenID?: string | null,
>     recurrence?: string | null,
>     restricted?: boolean | null,
>     score?: number | null,
>     seriesType?: string | null,
>     slug?: string | null,
>     startDate?: string | null,
>     subtitle?: string | null,
>     templateVariables?: boolean | null,
>     ticker?: string | null,
>     title?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     volume?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   seriesSlug?: string | null,
>   showAllOutcomes?: boolean | null,
>   showMarketImages?: boolean | null,
>   slug?: string | null,
>   sortBy?: string | null,
>   sport?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       sportId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     image?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     primaryTagId?: number | null,
>     resolution?: string | null,
>     series?: string | null,
>     sport?: string | null,
>     tags?: string | null,
>     updatedAt?: string | null
>   } | null,
>   spreadsMainLine?: number | null,
>   startDate?: string | null,
>   startTime?: string | null,
>   subEvents?: (string | null)[] | null | null,
>   subcategory?: string | null,
>   subtitle?: string | null,
>   tag_labels?: string[] | null | null,
>   tag_slugs?: string[] | null | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   teams?: {
>     $schema?: string | null,
>     abbreviation?: string | null,
>     alias?: string | null,
>     color?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       source?: string | null,
>       teamId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     league?: string | null,
>     logo?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     providerId?: number | null,
>     record?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   templateVariables?: string | null,
>   ticker?: string | null,
>   title?: string | null,
>   totalsMainLine?: number | null,
>   turnProviderId?: string | null,
>   tweetCount?: number | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   usId?: string | null,
>   version?: string | null,
>   volume?: number | null,
>   volume1mo?: number | null,
>   volume1wk?: number | null,
>   volume1yr?: number | null,
>   volume24hr?: number | null
> }[] | null | null
> ```

> [accordion] facets full type
>
> ```ts theme={null}
> {
>   abbreviation?: string | null,
>   appliesTo?: string[] | null | null,
>   label?: string | null,
>   parents?: string[] | null | null,
>   slug?: string | null
> }[] | null | null
> ```

> [accordion] feeSchedule full type
>
> ```ts theme={null}
> {
>   exponent?: number | null,
>   rate?: number | null,
>   rebateRate?: number | null,
>   takerOnly?: boolean | null
> } | null
> ```

> [accordion] markets full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   acceptingOrders?: boolean | null,
>   acceptingOrdersTimestamp?: string | null,
>   acceptingOrdersUntil?: string | null,
>   active?: boolean | null,
>   ammType?: string | null,
>   approved?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestAsk?: number | null,
>   bestBid?: number | null,
>   category?: string | null,
>   categoryMailchimpTag?: string | null,
>   chartColor?: string | null,
>   clearBookOnStart?: boolean | null,
>   clobRewards?: {
>     assetAddress?: string | null,
>     conditionId?: string | null,
>     endDate?: string | null,
>     id?: string | null,
>     rewardsAmount?: number | null,
>     rewardsDailyRate?: number | null,
>     startDate?: string | null
>   }[] | null | null,
>   clobTokenIds?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   comboStatus?: string | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   conditionId?: string | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   creator?: string | null,
>   cryptoMarketConfig?: {
>     $schema?: string | null,
>     asset?: string | null,
>     duration?: string | null,
>     id?: string | null,
>     twapEnabled?: boolean | null,
>     twapLookbackSeconds?: number | null
>   } | null,
>   cryptoMarketConfigId?: string | null,
>   curationOrder?: number | null,
>   customLiveness?: number | null,
>   cyom?: boolean | null,
>   denominationToken?: string | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   endDateIso?: string | null,
>   eventStartTime?: string | null,
>   events?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestLines?: {
>       id?: string | null,
>       line?: number | null,
>       lineType?: string | null
>     }[] | null | null,
>     cantEstimate?: boolean | null,
>     carouselMap?: string | null,
>     category?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     color?: string | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     countryName?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     creationDate?: string | null,
>     cumulativeMarkets?: boolean | null,
>     cyom?: boolean | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     elapsed?: string | null,
>     electionType?: string | null,
>     enableNegRisk?: boolean | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     ended?: boolean | null,
>     estimateValue?: boolean | null,
>     estimatedValue?: string | null,
>     eventCreators?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       creatorHandle?: string | null,
>       creatorImage?: string | null,
>       creatorName?: string | null,
>       creatorUrl?: string | null,
>       id?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     eventDate?: string | null,
>     eventMetadata?: Record<string, any> | null,
>     eventWeek?: number | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       eventId?: number | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     featured?: boolean | null,
>     featuredImage?: string | null,
>     featuredOrder?: number | null,
>     finishedTimestamp?: string | null,
>     gameId?: number | null,
>     gmpChartMode?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     lastHighlight?: string | null,
>     lastHighlightAt?: string | null,
>     lastHighlightType?: string | null,
>     liquidity?: number | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     live?: boolean | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: (recursive)[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     maxMarketCount?: number | null,
>     moduleType?: string | null,
>     negRisk?: boolean | null,
>     negRiskAugmented?: boolean | null,
>     negRiskFeeBips?: number | null,
>     negRiskMarketID?: string | null,
>     new?: boolean | null,
>     openInterest?: number | null,
>     parentEventId?: number | null,
>     pendingDeployment?: boolean | null,
>     period?: string | null,
>     published_at?: string | null,
>     rescheduledFromGameId?: number | null,
>     resolutionMode?: string | null,
>     resolutionSource?: string | null,
>     restricted?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: string | null,
>     series?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       cgAssetName?: string | null,
>       closed?: boolean | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       description?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: (recursive)[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       featured?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       layout?: string | null,
>       liquidity?: number | null,
>       new?: boolean | null,
>       publishedAt?: string | null,
>       pythTokenID?: string | null,
>       recurrence?: string | null,
>       restricted?: boolean | null,
>       score?: number | null,
>       seriesType?: string | null,
>       slug?: string | null,
>       startDate?: string | null,
>       subtitle?: string | null,
>       templateVariables?: boolean | null,
>       ticker?: string | null,
>       title?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       volume?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     seriesSlug?: string | null,
>     showAllOutcomes?: boolean | null,
>     showMarketImages?: boolean | null,
>     slug?: string | null,
>     sortBy?: string | null,
>     sport?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         sportId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       image?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       primaryTagId?: number | null,
>       resolution?: string | null,
>       series?: string | null,
>       sport?: string | null,
>       tags?: string | null,
>       updatedAt?: string | null
>     } | null,
>     spreadsMainLine?: number | null,
>     startDate?: string | null,
>     startTime?: string | null,
>     subEvents?: (string | null)[] | null | null,
>     subcategory?: string | null,
>     subtitle?: string | null,
>     tag_labels?: string[] | null | null,
>     tag_slugs?: string[] | null | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     teams?: {
>       $schema?: string | null,
>       abbreviation?: string | null,
>       alias?: string | null,
>       color?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         source?: string | null,
>         teamId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       league?: string | null,
>       logo?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       providerId?: number | null,
>       record?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     templateVariables?: string | null,
>     ticker?: string | null,
>     title?: string | null,
>     totalsMainLine?: number | null,
>     turnProviderId?: string | null,
>     tweetCount?: number | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     usId?: string | null,
>     version?: string | null,
>     volume?: number | null,
>     volume1mo?: number | null,
>     volume1wk?: number | null,
>     volume1yr?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   fallbackResolutionType?: string | null,
>   featured?: boolean | null,
>   fee?: string | null,
>   feeExponent?: number | null,
>   feeRate?: number | null,
>   feeSchedule?: {
>     exponent?: number | null,
>     rate?: number | null,
>     rebateRate?: number | null,
>     takerOnly?: boolean | null
>   } | null,
>   feeType?: string | null | null,
>   feesEnabled?: boolean | null,
>   formatType?: string | null,
>   fpmmLive?: boolean | null,
>   funded?: boolean | null,
>   fundedTimestamp?: string | null,
>   gameId?: string | null,
>   gameStartTime?: string | null,
>   groupItemRange?: string | null,
>   groupItemThreshold?: string | null,
>   groupItemTitle?: string | null,
>   hasReviewedDates?: boolean | null,
>   holdingRewardsEnabled?: boolean | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   instrumentIndex?: number | null,
>   instrumentKind?: string | null,
>   lastTradePrice?: number | null,
>   line?: number | null,
>   liquidity?: string | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   liquidityNum?: number | null,
>   lowerBound?: string | null,
>   lowerBoundDate?: string | null,
>   mailchimpTag?: string | null,
>   makerBaseFee?: number | null,
>   makerRebatesFeeShareBps?: number | null,
>   manualActivation?: boolean | null,
>   marketGroup?: number | null,
>   marketMakerAddress?: string | null,
>   marketMetadata?: Record<string, any> | null,
>   marketType?: string | null,
>   markets?: (recursive)[] | null | null,
>   negRisk?: boolean | null,
>   negRiskMarketID?: string | null,
>   negRiskOther?: boolean | null,
>   negRiskRequestID?: string | null,
>   new?: boolean | null,
>   notificationsEnabled?: boolean | null,
>   onchainEventId?: string | null,
>   oneDayPriceChange?: number | null,
>   oneHourPriceChange?: number | null,
>   oneMonthPriceChange?: number | null,
>   oneWeekPriceChange?: number | null,
>   oneYearPriceChange?: number | null,
>   orderMinSize?: number | null,
>   orderPriceMinTickSize?: number | null,
>   outcomePrices?: string | null,
>   outcomes?: string | null,
>   pastSlugs?: string | null,
>   pendingDeployment?: boolean | null,
>   positionIds?: string[] | null | null,
>   question?: string | null,
>   questionID?: string | null,
>   ready?: boolean | null,
>   readyForCron?: boolean | null,
>   readyTimestamp?: string | null,
>   requestId?: string | null,
>   resolutionMechanism?: string | null | null,
>   resolutionSource?: string | null,
>   resolutionStatus?: string | null,
>   resolvedBy?: string | null,
>   restricted?: boolean | null,
>   rewardsMaxSpread?: number | null,
>   rewardsMinSize?: number | null,
>   rfqEnabled?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: number | null,
>   secondsDelay?: number | null,
>   sentDiscord?: boolean | null,
>   seriesColor?: string | null,
>   shortOutcomes?: string | null,
>   showGmpOutcome?: boolean | null,
>   showGmpSeries?: boolean | null,
>   slug?: string | null,
>   sponsorImage?: string | null,
>   sponsorName?: string | null,
>   sportsMarketType?: string | null,
>   spread?: number | null,
>   startDate?: string | null,
>   startDateIso?: string | null,
>   subcategory?: string | null,
>   submitted_by?: string | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   takerBaseFee?: number | null,
>   teamAID?: string | null,
>   teamBID?: string | null,
>   tradingEligible?: boolean | null | null,
>   twitterCardImage?: string | null,
>   twitterCardLastRefreshed?: string | null,
>   twitterCardLastValidated?: string | null,
>   twitterCardLocation?: string | null,
>   umaBond?: string | null,
>   umaEndDate?: string | null,
>   umaEndDateIso?: string | null,
>   umaResolutionStatus?: string | null,
>   umaResolutionStatuses?: string | null,
>   umaReward?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null,
>   upperBound?: string | null,
>   upperBoundDate?: string | null,
>   version?: string | null,
>   volume?: string | null,
>   volume1mo?: number | null,
>   volume1moAmm?: number | null,
>   volume1moClob?: number | null,
>   volume1wk?: number | null,
>   volume1wkAmm?: number | null,
>   volume1wkClob?: number | null,
>   volume1yr?: number | null,
>   volume1yrAmm?: number | null,
>   volume1yrClob?: number | null,
>   volume24hr?: number | null,
>   volume24hrAmm?: number | null,
>   volume24hrClob?: number | null,
>   volumeAmm?: number | null,
>   volumeClob?: number | null,
>   volumeNum?: number | null,
>   wideFormat?: boolean | null,
>   xAxisValue?: string | null,
>   yAxisValue?: string | null
> }[] | null | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   activeEventsCount?: number | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   forceHide?: boolean | null,
>   forceShow?: boolean | null,
>   id?: string | null,
>   isCarousel?: boolean | null,
>   label?: string | null,
>   publishedAt?: string | null,
>   slug?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null
> }[] | null | null
> ```

***

### markets.get

`gamma.markets.get`

Get market by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.markets.get({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Market ID |
| `include_tag` | `string` | No | Include tag data (true/false) |
| `include_facets` | `string` | No | Include the facets assigned to each market (true/false). Facets are the assigned ones plus their ancestors. |
| `locale` | `string` | No | Locale used to localize returned content |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `acceptingOrders` | `boolean \| null` | No | — |
| `acceptingOrdersTimestamp` | `string \| null` | No | — |
| `acceptingOrdersUntil` | `string \| null` | No | — |
| `active` | `boolean \| null` | No | — |
| `ammType` | `string \| null` | No | — |
| `approved` | `boolean \| null` | No | — |
| `archived` | `boolean \| null` | No | — |
| `automaticallyActive` | `boolean \| null` | No | — |
| `automaticallyResolved` | `boolean \| null` | No | — |
| `bestAsk` | `number \| null` | No | — |
| `bestBid` | `number \| null` | No | — |
| `category` | `string \| null` | No | — |
| `categoryMailchimpTag` | `string \| null` | No | — |
| `chartColor` | `string \| null` | No | — |
| `clearBookOnStart` | `boolean \| null` | No | — |
| `clobRewards` | `object[] \| null` | No | — |
| `clobTokenIds` | `string \| null` | No | — |
| `closed` | `boolean \| null` | No | — |
| `closedTime` | `string \| null` | No | — |
| `comboStatus` | `string \| null` | No | Combo eligibility state: pending/enabled/disabled. May be set at creation — enabled requires a conditionId and two positionIds. After creation it can only be changed through the combo-status endpoint. |
| `commentsEnabled` | `boolean \| null` | No | — |
| `competitive` | `number \| null` | No | — |
| `conditionId` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `createdBy` | `number \| null` | No | — |
| `creator` | `string \| null` | No | — |
| `cryptoMarketConfig` | `object \| null` | No | — |
| `cryptoMarketConfigId` | `string \| null` | No | — |
| `curationOrder` | `number \| null` | No | — |
| `customLiveness` | `number \| null` | No | — |
| `cyom` | `boolean \| null` | No | — |
| `denominationToken` | `string \| null` | No | — |
| `deploying` | `boolean \| null` | No | — |
| `deployingTimestamp` | `string \| null` | No | — |
| `description` | `string \| null` | No | — |
| `disqusThread` | `string \| null` | No | — |
| `enableOrderBook` | `boolean \| null` | No | — |
| `endDate` | `string \| null` | No | — |
| `endDateIso` | `string \| null` | No | — |
| `eventStartTime` | `string \| null` | No | — |
| `events` | `object[] \| null` | No | — |
| `facets` | `object[] \| null` | No | Facets assigned to the market, with their ancestors; a market does not carry its event's facets. Present only when the request sets include\_facets=true. Read-only. |
| `fallbackResolutionType` | `string \| null` | No | Which mechanism resolves the market once UMA reports P3 (Scalar Resolutions): none (no workflow is started; the market stays unresolved on-chain until an operator changes the mode), equal\_split (50/50) or lfmp (a settlement price — the last fair market price — is supplied by the resolution tooling). Defaults to none at creation and can be changed at any time, including after deployment. Gamma does not validate the mode against the market type. |
| `featured` | `boolean \| null` | No | — |
| `fee` | `string \| null` | No | — |
| `feeExponent` | `number \| null` | No | — |
| `feeRate` | `number \| null` | No | — |
| `feeSchedule` | `object \| null` | No | — |
| `feeType` | `string \| null \| null` | No | — |
| `feesEnabled` | `boolean \| null` | No | — |
| `formatType` | `string \| null` | No | — |
| `fpmmLive` | `boolean \| null` | No | — |
| `funded` | `boolean \| null` | No | — |
| `fundedTimestamp` | `string \| null` | No | — |
| `gameId` | `string \| null` | No | — |
| `gameStartTime` | `string \| null` | No | — |
| `groupItemRange` | `string \| null` | No | — |
| `groupItemThreshold` | `string \| null` | No | — |
| `groupItemTitle` | `string \| null` | No | — |
| `hasReviewedDates` | `boolean \| null` | No | — |
| `holdingRewardsEnabled` | `boolean \| null` | No | — |
| `icon` | `string \| null` | No | — |
| `id` | `string \| null` | No | — |
| `image` | `string \| null` | No | — |
| `instrumentIndex` | `number \| null` | No | Directional instrument slot within the parent event: bucket \[0,maxMarketCount), threshold \[1,maxMarketCount), void at maxMarketCount. Zero is a valid bucket index; absent means not directional. Unique per (event, instrumentKind). Server-owned, immutable from creation; read-only. |
| `instrumentKind` | `string \| null` | No | Directional instrument kind. Only present on directional event markets. Server-owned, immutable from creation; read-only. |
| `lastTradePrice` | `number \| null` | No | — |
| `line` | `number \| null` | No | — |
| `liquidity` | `string \| null` | No | — |
| `liquidityAmm` | `number \| null` | No | — |
| `liquidityClob` | `number \| null` | No | — |
| `liquidityNum` | `number \| null` | No | — |
| `lowerBound` | `string \| null` | No | — |
| `lowerBoundDate` | `string \| null` | No | — |
| `mailchimpTag` | `string \| null` | No | — |
| `makerBaseFee` | `number \| null` | No | — |
| `makerRebatesFeeShareBps` | `number \| null` | No | — |
| `manualActivation` | `boolean \| null` | No | — |
| `marketGroup` | `number \| null` | No | — |
| `marketMakerAddress` | `string \| null` | No | — |
| `marketMetadata` | `Record<string, any> \| null` | No | — |
| `marketType` | `string \| null` | No | — |
| `markets` | `object[] \| null` | No | — |
| `negRisk` | `boolean \| null` | No | — |
| `negRiskMarketID` | `string \| null` | No | — |
| `negRiskOther` | `boolean \| null` | No | — |
| `negRiskRequestID` | `string \| null` | No | — |
| `new` | `boolean \| null` | No | — |
| `notificationsEnabled` | `boolean \| null` | No | — |
| `onchainEventId` | `string \| null` | No | Parent v2 on-chain event ID: bytes32 hex with the bottom 3 bytes zero, equal to the v2 conditionId with its conditionIndex cleared. Shared by every market of a neg-risk event. Only present on v2 markets. Read-only: derived from the v2 conditionId; writes are rejected unless echoing the stored value. |
| `oneDayPriceChange` | `number \| null` | No | — |
| `oneHourPriceChange` | `number \| null` | No | — |
| `oneMonthPriceChange` | `number \| null` | No | — |
| `oneWeekPriceChange` | `number \| null` | No | — |
| `oneYearPriceChange` | `number \| null` | No | — |
| `orderMinSize` | `number \| null` | No | — |
| `orderPriceMinTickSize` | `number \| null` | No | — |
| `outcomePrices` | `string \| null` | No | — |
| `outcomes` | `string \| null` | No | — |
| `pastSlugs` | `string \| null` | No | — |
| `pendingDeployment` | `boolean \| null` | No | — |
| `positionIds` | `string[] \| null \| null` | No | — |
| `question` | `string \| null` | No | — |
| `questionID` | `string \| null` | No | — |
| `ready` | `boolean \| null` | No | — |
| `readyForCron` | `boolean \| null` | No | — |
| `readyTimestamp` | `string \| null` | No | — |
| `requestId` | `string \| null` | No | V2 oracle request ID (bytes32 hex): the key the OracleAggregator resolves the market under. Equals the conditionId for binary and incremental neg-risk markets, and the onchainEventId for atomic neg-risk markets. Only present on v2 markets. Auto-derived for binary markets; for neg-risk markets it is set at creation and must equal the conditionId or the onchainEventId. |
| `resolutionMechanism` | `string \| null \| null` | No | How the market resolves: oracle (resolved through an oracle request) or derived (payouts are supplied by the resolution service, no independent oracle request). Computed by Gamma at creation and fixed afterwards; read-only. Independent of resolutionSource, which stays free-text provider metadata. |
| `resolutionSource` | `string \| null` | No | — |
| `resolutionStatus` | `string \| null` | No | High-level resolution state of the market: inactive (drafted, not yet deployed on chain), active (deployed, not resolved yet) or resolved. Only written for v2 markets; v1 markets keep using umaResolutionStatus. |
| `resolvedBy` | `string \| null` | No | — |
| `restricted` | `boolean \| null` | No | — |
| `rewardsMaxSpread` | `number \| null` | No | — |
| `rewardsMinSize` | `number \| null` | No | — |
| `rfqEnabled` | `boolean \| null` | No | — |
| `scheduledDeploymentTimestamp` | `string \| null` | No | — |
| `score` | `number \| null` | No | — |
| `secondsDelay` | `number \| null` | No | — |
| `sentDiscord` | `boolean \| null` | No | — |
| `seriesColor` | `string \| null` | No | — |
| `shortOutcomes` | `string \| null` | No | — |
| `showGmpOutcome` | `boolean \| null` | No | — |
| `showGmpSeries` | `boolean \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `sponsorImage` | `string \| null` | No | — |
| `sponsorName` | `string \| null` | No | — |
| `sportsMarketType` | `string \| null` | No | — |
| `spread` | `number \| null` | No | — |
| `startDate` | `string \| null` | No | — |
| `startDateIso` | `string \| null` | No | — |
| `subcategory` | `string \| null` | No | — |
| `submitted_by` | `string \| null` | No | — |
| `tags` | `object[] \| null` | No | — |
| `takerBaseFee` | `number \| null` | No | — |
| `teamAID` | `string \| null` | No | — |
| `teamBID` | `string \| null` | No | — |
| `tradingEligible` | `boolean \| null \| null` | No | Whether the market can trade. Computed by Gamma at creation and fixed afterwards; read-only. Always present, false is explicit. Non-tradable markets are excluded from public discovery lists and search but stay readable by id, condition id, token id and position id. |
| `twitterCardImage` | `string \| null` | No | — |
| `twitterCardLastRefreshed` | `string \| null` | No | — |
| `twitterCardLastValidated` | `string \| null` | No | — |
| `twitterCardLocation` | `string \| null` | No | — |
| `umaBond` | `string \| null` | No | — |
| `umaEndDate` | `string \| null` | No | — |
| `umaEndDateIso` | `string \| null` | No | — |
| `umaResolutionStatus` | `string \| null` | No | — |
| `umaResolutionStatuses` | `string \| null` | No | — |
| `umaReward` | `string \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |
| `updatedBy` | `number \| null` | No | — |
| `upperBound` | `string \| null` | No | — |
| `upperBoundDate` | `string \| null` | No | — |
| `version` | `string \| null` | No | Protocol version the market trades on: v1 (legacy CTF/CLOB) or v2 (polymarket-v2 modules). Clients must match exact values and treat unknown values as unsupported. |
| `volume` | `string \| null` | No | — |
| `volume1mo` | `number \| null` | No | — |
| `volume1moAmm` | `number \| null` | No | — |
| `volume1moClob` | `number \| null` | No | — |
| `volume1wk` | `number \| null` | No | — |
| `volume1wkAmm` | `number \| null` | No | — |
| `volume1wkClob` | `number \| null` | No | — |
| `volume1yr` | `number \| null` | No | — |
| `volume1yrAmm` | `number \| null` | No | — |
| `volume1yrClob` | `number \| null` | No | — |
| `volume24hr` | `number \| null` | No | — |
| `volume24hrAmm` | `number \| null` | No | — |
| `volume24hrClob` | `number \| null` | No | — |
| `volumeAmm` | `number \| null` | No | — |
| `volumeClob` | `number \| null` | No | — |
| `volumeNum` | `number \| null` | No | — |
| `wideFormat` | `boolean \| null` | No | — |
| `xAxisValue` | `string \| null` | No | — |
| `yAxisValue` | `string \| null` | No | — |

> [accordion] clobRewards full type
>
> ```ts theme={null}
> {
>   assetAddress?: string | null,
>   conditionId?: string | null,
>   endDate?: string | null,
>   id?: string | null,
>   rewardsAmount?: number | null,
>   rewardsDailyRate?: number | null,
>   startDate?: string | null
> }[] | null | null
> ```

> [accordion] cryptoMarketConfig full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   asset?: string | null,
>   duration?: string | null,
>   id?: string | null,
>   twapEnabled?: boolean | null,
>   twapLookbackSeconds?: number | null
> } | null
> ```

> [accordion] events full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   active?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestLines?: {
>     id?: string | null,
>     line?: number | null,
>     lineType?: string | null
>   }[] | null | null,
>   cantEstimate?: boolean | null,
>   carouselMap?: string | null,
>   category?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   color?: string | null,
>   commentCount?: number | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   countryName?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   creationDate?: string | null,
>   cumulativeMarkets?: boolean | null,
>   cyom?: boolean | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   elapsed?: string | null,
>   electionType?: string | null,
>   enableNegRisk?: boolean | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   ended?: boolean | null,
>   estimateValue?: boolean | null,
>   estimatedValue?: string | null,
>   eventCreators?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     creatorHandle?: string | null,
>     creatorImage?: string | null,
>     creatorName?: string | null,
>     creatorUrl?: string | null,
>     id?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   eventDate?: string | null,
>   eventMetadata?: Record<string, any> | null,
>   eventWeek?: number | null,
>   externalPartners?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     eventId?: number | null,
>     externalId?: string | null,
>     id?: number | null,
>     partner?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       id?: number | null,
>       name?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null
>     } | null,
>     partnerId?: number | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   featured?: boolean | null,
>   featuredImage?: string | null,
>   featuredOrder?: number | null,
>   finishedTimestamp?: string | null,
>   gameId?: number | null,
>   gmpChartMode?: string | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   isTemplate?: boolean | null,
>   lastHighlight?: string | null,
>   lastHighlightAt?: string | null,
>   lastHighlightType?: string | null,
>   liquidity?: number | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   live?: boolean | null,
>   markets?: {
>     $schema?: string | null,
>     acceptingOrders?: boolean | null,
>     acceptingOrdersTimestamp?: string | null,
>     acceptingOrdersUntil?: string | null,
>     active?: boolean | null,
>     ammType?: string | null,
>     approved?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestAsk?: number | null,
>     bestBid?: number | null,
>     category?: string | null,
>     categoryMailchimpTag?: string | null,
>     chartColor?: string | null,
>     clearBookOnStart?: boolean | null,
>     clobRewards?: {
>       assetAddress?: string | null,
>       conditionId?: string | null,
>       endDate?: string | null,
>       id?: string | null,
>       rewardsAmount?: number | null,
>       rewardsDailyRate?: number | null,
>       startDate?: string | null
>     }[] | null | null,
>     clobTokenIds?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     comboStatus?: string | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     conditionId?: string | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     creator?: string | null,
>     cryptoMarketConfig?: {
>       $schema?: string | null,
>       asset?: string | null,
>       duration?: string | null,
>       id?: string | null,
>       twapEnabled?: boolean | null,
>       twapLookbackSeconds?: number | null
>     } | null,
>     cryptoMarketConfigId?: string | null,
>     curationOrder?: number | null,
>     customLiveness?: number | null,
>     cyom?: boolean | null,
>     denominationToken?: string | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     endDateIso?: string | null,
>     eventStartTime?: string | null,
>     events?: (recursive)[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     fallbackResolutionType?: string | null,
>     featured?: boolean | null,
>     fee?: string | null,
>     feeExponent?: number | null,
>     feeRate?: number | null,
>     feeSchedule?: {
>       exponent?: number | null,
>       rate?: number | null,
>       rebateRate?: number | null,
>       takerOnly?: boolean | null
>     } | null,
>     feeType?: string | null | null,
>     feesEnabled?: boolean | null,
>     formatType?: string | null,
>     fpmmLive?: boolean | null,
>     funded?: boolean | null,
>     fundedTimestamp?: string | null,
>     gameId?: string | null,
>     gameStartTime?: string | null,
>     groupItemRange?: string | null,
>     groupItemThreshold?: string | null,
>     groupItemTitle?: string | null,
>     hasReviewedDates?: boolean | null,
>     holdingRewardsEnabled?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     instrumentIndex?: number | null,
>     instrumentKind?: string | null,
>     lastTradePrice?: number | null,
>     line?: number | null,
>     liquidity?: string | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     liquidityNum?: number | null,
>     lowerBound?: string | null,
>     lowerBoundDate?: string | null,
>     mailchimpTag?: string | null,
>     makerBaseFee?: number | null,
>     makerRebatesFeeShareBps?: number | null,
>     manualActivation?: boolean | null,
>     marketGroup?: number | null,
>     marketMakerAddress?: string | null,
>     marketMetadata?: Record<string, any> | null,
>     marketType?: string | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: (recursive)[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     negRisk?: boolean | null,
>     negRiskMarketID?: string | null,
>     negRiskOther?: boolean | null,
>     negRiskRequestID?: string | null,
>     new?: boolean | null,
>     notificationsEnabled?: boolean | null,
>     onchainEventId?: string | null,
>     oneDayPriceChange?: number | null,
>     oneHourPriceChange?: number | null,
>     oneMonthPriceChange?: number | null,
>     oneWeekPriceChange?: number | null,
>     oneYearPriceChange?: number | null,
>     orderMinSize?: number | null,
>     orderPriceMinTickSize?: number | null,
>     outcomePrices?: string | null,
>     outcomes?: string | null,
>     pastSlugs?: string | null,
>     pendingDeployment?: boolean | null,
>     positionIds?: string[] | null | null,
>     question?: string | null,
>     questionID?: string | null,
>     ready?: boolean | null,
>     readyForCron?: boolean | null,
>     readyTimestamp?: string | null,
>     requestId?: string | null,
>     resolutionMechanism?: string | null | null,
>     resolutionSource?: string | null,
>     resolutionStatus?: string | null,
>     resolvedBy?: string | null,
>     restricted?: boolean | null,
>     rewardsMaxSpread?: number | null,
>     rewardsMinSize?: number | null,
>     rfqEnabled?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: number | null,
>     secondsDelay?: number | null,
>     sentDiscord?: boolean | null,
>     seriesColor?: string | null,
>     shortOutcomes?: string | null,
>     showGmpOutcome?: boolean | null,
>     showGmpSeries?: boolean | null,
>     slug?: string | null,
>     sponsorImage?: string | null,
>     sponsorName?: string | null,
>     sportsMarketType?: string | null,
>     spread?: number | null,
>     startDate?: string | null,
>     startDateIso?: string | null,
>     subcategory?: string | null,
>     submitted_by?: string | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     takerBaseFee?: number | null,
>     teamAID?: string | null,
>     teamBID?: string | null,
>     tradingEligible?: boolean | null | null,
>     twitterCardImage?: string | null,
>     twitterCardLastRefreshed?: string | null,
>     twitterCardLastValidated?: string | null,
>     twitterCardLocation?: string | null,
>     umaBond?: string | null,
>     umaEndDate?: string | null,
>     umaEndDateIso?: string | null,
>     umaResolutionStatus?: string | null,
>     umaResolutionStatuses?: string | null,
>     umaReward?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null,
>     upperBound?: string | null,
>     upperBoundDate?: string | null,
>     version?: string | null,
>     volume?: string | null,
>     volume1mo?: number | null,
>     volume1moAmm?: number | null,
>     volume1moClob?: number | null,
>     volume1wk?: number | null,
>     volume1wkAmm?: number | null,
>     volume1wkClob?: number | null,
>     volume1yr?: number | null,
>     volume1yrAmm?: number | null,
>     volume1yrClob?: number | null,
>     volume24hr?: number | null,
>     volume24hrAmm?: number | null,
>     volume24hrClob?: number | null,
>     volumeAmm?: number | null,
>     volumeClob?: number | null,
>     volumeNum?: number | null,
>     wideFormat?: boolean | null,
>     xAxisValue?: string | null,
>     yAxisValue?: string | null
>   }[] | null | null,
>   maxMarketCount?: number | null,
>   moduleType?: string | null,
>   negRisk?: boolean | null,
>   negRiskAugmented?: boolean | null,
>   negRiskFeeBips?: number | null,
>   negRiskMarketID?: string | null,
>   new?: boolean | null,
>   openInterest?: number | null,
>   parentEventId?: number | null,
>   pendingDeployment?: boolean | null,
>   period?: string | null,
>   published_at?: string | null,
>   rescheduledFromGameId?: number | null,
>   resolutionMode?: string | null,
>   resolutionSource?: string | null,
>   restricted?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: string | null,
>   series?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     cgAssetName?: string | null,
>     closed?: boolean | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     description?: string | null,
>     events?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestLines?: {
>         id?: string | null,
>         line?: number | null,
>         lineType?: string | null
>       }[] | null | null,
>       cantEstimate?: boolean | null,
>       carouselMap?: string | null,
>       category?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       color?: string | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       countryName?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       creationDate?: string | null,
>       cumulativeMarkets?: boolean | null,
>       cyom?: boolean | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       elapsed?: string | null,
>       electionType?: string | null,
>       enableNegRisk?: boolean | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       ended?: boolean | null,
>       estimateValue?: boolean | null,
>       estimatedValue?: string | null,
>       eventCreators?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         creatorHandle?: string | null,
>         creatorImage?: string | null,
>         creatorName?: string | null,
>         creatorUrl?: string | null,
>         id?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       eventDate?: string | null,
>       eventMetadata?: Record<string, any> | null,
>       eventWeek?: number | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         eventId?: number | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       featured?: boolean | null,
>       featuredImage?: string | null,
>       featuredOrder?: number | null,
>       finishedTimestamp?: string | null,
>       gameId?: number | null,
>       gmpChartMode?: string | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       lastHighlight?: string | null,
>       lastHighlightAt?: string | null,
>       lastHighlightType?: string | null,
>       liquidity?: number | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       live?: boolean | null,
>       markets?: {
>         $schema?: string | null,
>         acceptingOrders?: boolean | null,
>         acceptingOrdersTimestamp?: string | null,
>         acceptingOrdersUntil?: string | null,
>         active?: boolean | null,
>         ammType?: string | null,
>         approved?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestAsk?: number | null,
>         bestBid?: number | null,
>         category?: string | null,
>         categoryMailchimpTag?: string | null,
>         chartColor?: string | null,
>         clearBookOnStart?: boolean | null,
>         clobRewards?: {
>           assetAddress?: string | null,
>           conditionId?: string | null,
>           endDate?: string | null,
>           id?: string | null,
>           rewardsAmount?: number | null,
>           rewardsDailyRate?: number | null,
>           startDate?: string | null
>         }[] | null | null,
>         clobTokenIds?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         comboStatus?: string | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         conditionId?: string | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         creator?: string | null,
>         cryptoMarketConfig?: {
>           $schema?: string | null,
>           asset?: string | null,
>           duration?: string | null,
>           id?: string | null,
>           twapEnabled?: boolean | null,
>           twapLookbackSeconds?: number | null
>         } | null,
>         cryptoMarketConfigId?: string | null,
>         curationOrder?: number | null,
>         customLiveness?: number | null,
>         cyom?: boolean | null,
>         denominationToken?: string | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         endDateIso?: string | null,
>         eventStartTime?: string | null,
>         events?: (recursive)[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         fallbackResolutionType?: string | null,
>         featured?: boolean | null,
>         fee?: string | null,
>         feeExponent?: number | null,
>         feeRate?: number | null,
>         feeSchedule?: {
>           exponent?: number | null,
>           rate?: number | null,
>           rebateRate?: number | null,
>           takerOnly?: boolean | null
>         } | null,
>         feeType?: string | null | null,
>         feesEnabled?: boolean | null,
>         formatType?: string | null,
>         fpmmLive?: boolean | null,
>         funded?: boolean | null,
>         fundedTimestamp?: string | null,
>         gameId?: string | null,
>         gameStartTime?: string | null,
>         groupItemRange?: string | null,
>         groupItemThreshold?: string | null,
>         groupItemTitle?: string | null,
>         hasReviewedDates?: boolean | null,
>         holdingRewardsEnabled?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         instrumentIndex?: number | null,
>         instrumentKind?: string | null,
>         lastTradePrice?: number | null,
>         line?: number | null,
>         liquidity?: string | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         liquidityNum?: number | null,
>         lowerBound?: string | null,
>         lowerBoundDate?: string | null,
>         mailchimpTag?: string | null,
>         makerBaseFee?: number | null,
>         makerRebatesFeeShareBps?: number | null,
>         manualActivation?: boolean | null,
>         marketGroup?: number | null,
>         marketMakerAddress?: string | null,
>         marketMetadata?: Record<string, any> | null,
>         marketType?: string | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         negRisk?: boolean | null,
>         negRiskMarketID?: string | null,
>         negRiskOther?: boolean | null,
>         negRiskRequestID?: string | null,
>         new?: boolean | null,
>         notificationsEnabled?: boolean | null,
>         onchainEventId?: string | null,
>         oneDayPriceChange?: number | null,
>         oneHourPriceChange?: number | null,
>         oneMonthPriceChange?: number | null,
>         oneWeekPriceChange?: number | null,
>         oneYearPriceChange?: number | null,
>         orderMinSize?: number | null,
>         orderPriceMinTickSize?: number | null,
>         outcomePrices?: string | null,
>         outcomes?: string | null,
>         pastSlugs?: string | null,
>         pendingDeployment?: boolean | null,
>         positionIds?: string[] | null | null,
>         question?: string | null,
>         questionID?: string | null,
>         ready?: boolean | null,
>         readyForCron?: boolean | null,
>         readyTimestamp?: string | null,
>         requestId?: string | null,
>         resolutionMechanism?: string | null | null,
>         resolutionSource?: string | null,
>         resolutionStatus?: string | null,
>         resolvedBy?: string | null,
>         restricted?: boolean | null,
>         rewardsMaxSpread?: number | null,
>         rewardsMinSize?: number | null,
>         rfqEnabled?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: number | null,
>         secondsDelay?: number | null,
>         sentDiscord?: boolean | null,
>         seriesColor?: string | null,
>         shortOutcomes?: string | null,
>         showGmpOutcome?: boolean | null,
>         showGmpSeries?: boolean | null,
>         slug?: string | null,
>         sponsorImage?: string | null,
>         sponsorName?: string | null,
>         sportsMarketType?: string | null,
>         spread?: number | null,
>         startDate?: string | null,
>         startDateIso?: string | null,
>         subcategory?: string | null,
>         submitted_by?: string | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         takerBaseFee?: number | null,
>         teamAID?: string | null,
>         teamBID?: string | null,
>         tradingEligible?: boolean | null | null,
>         twitterCardImage?: string | null,
>         twitterCardLastRefreshed?: string | null,
>         twitterCardLastValidated?: string | null,
>         twitterCardLocation?: string | null,
>         umaBond?: string | null,
>         umaEndDate?: string | null,
>         umaEndDateIso?: string | null,
>         umaResolutionStatus?: string | null,
>         umaResolutionStatuses?: string | null,
>         umaReward?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null,
>         upperBound?: string | null,
>         upperBoundDate?: string | null,
>         version?: string | null,
>         volume?: string | null,
>         volume1mo?: number | null,
>         volume1moAmm?: number | null,
>         volume1moClob?: number | null,
>         volume1wk?: number | null,
>         volume1wkAmm?: number | null,
>         volume1wkClob?: number | null,
>         volume1yr?: number | null,
>         volume1yrAmm?: number | null,
>         volume1yrClob?: number | null,
>         volume24hr?: number | null,
>         volume24hrAmm?: number | null,
>         volume24hrClob?: number | null,
>         volumeAmm?: number | null,
>         volumeClob?: number | null,
>         volumeNum?: number | null,
>         wideFormat?: boolean | null,
>         xAxisValue?: string | null,
>         yAxisValue?: string | null
>       }[] | null | null,
>       maxMarketCount?: number | null,
>       moduleType?: string | null,
>       negRisk?: boolean | null,
>       negRiskAugmented?: boolean | null,
>       negRiskFeeBips?: number | null,
>       negRiskMarketID?: string | null,
>       new?: boolean | null,
>       openInterest?: number | null,
>       parentEventId?: number | null,
>       pendingDeployment?: boolean | null,
>       period?: string | null,
>       published_at?: string | null,
>       rescheduledFromGameId?: number | null,
>       resolutionMode?: string | null,
>       resolutionSource?: string | null,
>       restricted?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: string | null,
>       series?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         cgAssetName?: string | null,
>         closed?: boolean | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         description?: string | null,
>         events?: (recursive)[] | null | null,
>         featured?: boolean | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         layout?: string | null,
>         liquidity?: number | null,
>         new?: boolean | null,
>         publishedAt?: string | null,
>         pythTokenID?: string | null,
>         recurrence?: string | null,
>         restricted?: boolean | null,
>         score?: number | null,
>         seriesType?: string | null,
>         slug?: string | null,
>         startDate?: string | null,
>         subtitle?: string | null,
>         templateVariables?: boolean | null,
>         ticker?: string | null,
>         title?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         volume?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       seriesSlug?: string | null,
>       showAllOutcomes?: boolean | null,
>       showMarketImages?: boolean | null,
>       slug?: string | null,
>       sortBy?: string | null,
>       sport?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           sportId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         image?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         primaryTagId?: number | null,
>         resolution?: string | null,
>         series?: string | null,
>         sport?: string | null,
>         tags?: string | null,
>         updatedAt?: string | null
>       } | null,
>       spreadsMainLine?: number | null,
>       startDate?: string | null,
>       startTime?: string | null,
>       subEvents?: (string | null)[] | null | null,
>       subcategory?: string | null,
>       subtitle?: string | null,
>       tag_labels?: string[] | null | null,
>       tag_slugs?: string[] | null | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       teams?: {
>         $schema?: string | null,
>         abbreviation?: string | null,
>         alias?: string | null,
>         color?: string | null,
>         createdAt?: string | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           source?: string | null,
>           teamId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         id?: number | null,
>         league?: string | null,
>         logo?: string | null,
>         name?: string | null,
>         ordering?: string | null,
>         providerId?: number | null,
>         record?: string | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       templateVariables?: string | null,
>       ticker?: string | null,
>       title?: string | null,
>       totalsMainLine?: number | null,
>       turnProviderId?: string | null,
>       tweetCount?: number | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       usId?: string | null,
>       version?: string | null,
>       volume?: number | null,
>       volume1mo?: number | null,
>       volume1wk?: number | null,
>       volume1yr?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     featured?: boolean | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     layout?: string | null,
>     liquidity?: number | null,
>     new?: boolean | null,
>     publishedAt?: string | null,
>     pythTokenID?: string | null,
>     recurrence?: string | null,
>     restricted?: boolean | null,
>     score?: number | null,
>     seriesType?: string | null,
>     slug?: string | null,
>     startDate?: string | null,
>     subtitle?: string | null,
>     templateVariables?: boolean | null,
>     ticker?: string | null,
>     title?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     volume?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   seriesSlug?: string | null,
>   showAllOutcomes?: boolean | null,
>   showMarketImages?: boolean | null,
>   slug?: string | null,
>   sortBy?: string | null,
>   sport?: {
>     $schema?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       sportId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     image?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     primaryTagId?: number | null,
>     resolution?: string | null,
>     series?: string | null,
>     sport?: string | null,
>     tags?: string | null,
>     updatedAt?: string | null
>   } | null,
>   spreadsMainLine?: number | null,
>   startDate?: string | null,
>   startTime?: string | null,
>   subEvents?: (string | null)[] | null | null,
>   subcategory?: string | null,
>   subtitle?: string | null,
>   tag_labels?: string[] | null | null,
>   tag_slugs?: string[] | null | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   teams?: {
>     $schema?: string | null,
>     abbreviation?: string | null,
>     alias?: string | null,
>     color?: string | null,
>     createdAt?: string | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       source?: string | null,
>       teamId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     id?: number | null,
>     league?: string | null,
>     logo?: string | null,
>     name?: string | null,
>     ordering?: string | null,
>     providerId?: number | null,
>     record?: string | null,
>     updatedAt?: string | null
>   }[] | null | null,
>   templateVariables?: string | null,
>   ticker?: string | null,
>   title?: string | null,
>   totalsMainLine?: number | null,
>   turnProviderId?: string | null,
>   tweetCount?: number | null,
>   updatedAt?: string | null,
>   updatedBy?: string | null,
>   usId?: string | null,
>   version?: string | null,
>   volume?: number | null,
>   volume1mo?: number | null,
>   volume1wk?: number | null,
>   volume1yr?: number | null,
>   volume24hr?: number | null
> }[] | null | null
> ```

> [accordion] facets full type
>
> ```ts theme={null}
> {
>   abbreviation?: string | null,
>   appliesTo?: string[] | null | null,
>   label?: string | null,
>   parents?: string[] | null | null,
>   slug?: string | null
> }[] | null | null
> ```

> [accordion] feeSchedule full type
>
> ```ts theme={null}
> {
>   exponent?: number | null,
>   rate?: number | null,
>   rebateRate?: number | null,
>   takerOnly?: boolean | null
> } | null
> ```

> [accordion] markets full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   acceptingOrders?: boolean | null,
>   acceptingOrdersTimestamp?: string | null,
>   acceptingOrdersUntil?: string | null,
>   active?: boolean | null,
>   ammType?: string | null,
>   approved?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestAsk?: number | null,
>   bestBid?: number | null,
>   category?: string | null,
>   categoryMailchimpTag?: string | null,
>   chartColor?: string | null,
>   clearBookOnStart?: boolean | null,
>   clobRewards?: {
>     assetAddress?: string | null,
>     conditionId?: string | null,
>     endDate?: string | null,
>     id?: string | null,
>     rewardsAmount?: number | null,
>     rewardsDailyRate?: number | null,
>     startDate?: string | null
>   }[] | null | null,
>   clobTokenIds?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   comboStatus?: string | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   conditionId?: string | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   creator?: string | null,
>   cryptoMarketConfig?: {
>     $schema?: string | null,
>     asset?: string | null,
>     duration?: string | null,
>     id?: string | null,
>     twapEnabled?: boolean | null,
>     twapLookbackSeconds?: number | null
>   } | null,
>   cryptoMarketConfigId?: string | null,
>   curationOrder?: number | null,
>   customLiveness?: number | null,
>   cyom?: boolean | null,
>   denominationToken?: string | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   endDateIso?: string | null,
>   eventStartTime?: string | null,
>   events?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestLines?: {
>       id?: string | null,
>       line?: number | null,
>       lineType?: string | null
>     }[] | null | null,
>     cantEstimate?: boolean | null,
>     carouselMap?: string | null,
>     category?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     color?: string | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     countryName?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     creationDate?: string | null,
>     cumulativeMarkets?: boolean | null,
>     cyom?: boolean | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     elapsed?: string | null,
>     electionType?: string | null,
>     enableNegRisk?: boolean | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     ended?: boolean | null,
>     estimateValue?: boolean | null,
>     estimatedValue?: string | null,
>     eventCreators?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       creatorHandle?: string | null,
>       creatorImage?: string | null,
>       creatorName?: string | null,
>       creatorUrl?: string | null,
>       id?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     eventDate?: string | null,
>     eventMetadata?: Record<string, any> | null,
>     eventWeek?: number | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       eventId?: number | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     featured?: boolean | null,
>     featuredImage?: string | null,
>     featuredOrder?: number | null,
>     finishedTimestamp?: string | null,
>     gameId?: number | null,
>     gmpChartMode?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     lastHighlight?: string | null,
>     lastHighlightAt?: string | null,
>     lastHighlightType?: string | null,
>     liquidity?: number | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     live?: boolean | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: (recursive)[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     maxMarketCount?: number | null,
>     moduleType?: string | null,
>     negRisk?: boolean | null,
>     negRiskAugmented?: boolean | null,
>     negRiskFeeBips?: number | null,
>     negRiskMarketID?: string | null,
>     new?: boolean | null,
>     openInterest?: number | null,
>     parentEventId?: number | null,
>     pendingDeployment?: boolean | null,
>     period?: string | null,
>     published_at?: string | null,
>     rescheduledFromGameId?: number | null,
>     resolutionMode?: string | null,
>     resolutionSource?: string | null,
>     restricted?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: string | null,
>     series?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       cgAssetName?: string | null,
>       closed?: boolean | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       description?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: (recursive)[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       featured?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       layout?: string | null,
>       liquidity?: number | null,
>       new?: boolean | null,
>       publishedAt?: string | null,
>       pythTokenID?: string | null,
>       recurrence?: string | null,
>       restricted?: boolean | null,
>       score?: number | null,
>       seriesType?: string | null,
>       slug?: string | null,
>       startDate?: string | null,
>       subtitle?: string | null,
>       templateVariables?: boolean | null,
>       ticker?: string | null,
>       title?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       volume?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     seriesSlug?: string | null,
>     showAllOutcomes?: boolean | null,
>     showMarketImages?: boolean | null,
>     slug?: string | null,
>     sortBy?: string | null,
>     sport?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         sportId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       image?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       primaryTagId?: number | null,
>       resolution?: string | null,
>       series?: string | null,
>       sport?: string | null,
>       tags?: string | null,
>       updatedAt?: string | null
>     } | null,
>     spreadsMainLine?: number | null,
>     startDate?: string | null,
>     startTime?: string | null,
>     subEvents?: (string | null)[] | null | null,
>     subcategory?: string | null,
>     subtitle?: string | null,
>     tag_labels?: string[] | null | null,
>     tag_slugs?: string[] | null | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     teams?: {
>       $schema?: string | null,
>       abbreviation?: string | null,
>       alias?: string | null,
>       color?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         source?: string | null,
>         teamId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       league?: string | null,
>       logo?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       providerId?: number | null,
>       record?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     templateVariables?: string | null,
>     ticker?: string | null,
>     title?: string | null,
>     totalsMainLine?: number | null,
>     turnProviderId?: string | null,
>     tweetCount?: number | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     usId?: string | null,
>     version?: string | null,
>     volume?: number | null,
>     volume1mo?: number | null,
>     volume1wk?: number | null,
>     volume1yr?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   fallbackResolutionType?: string | null,
>   featured?: boolean | null,
>   fee?: string | null,
>   feeExponent?: number | null,
>   feeRate?: number | null,
>   feeSchedule?: {
>     exponent?: number | null,
>     rate?: number | null,
>     rebateRate?: number | null,
>     takerOnly?: boolean | null
>   } | null,
>   feeType?: string | null | null,
>   feesEnabled?: boolean | null,
>   formatType?: string | null,
>   fpmmLive?: boolean | null,
>   funded?: boolean | null,
>   fundedTimestamp?: string | null,
>   gameId?: string | null,
>   gameStartTime?: string | null,
>   groupItemRange?: string | null,
>   groupItemThreshold?: string | null,
>   groupItemTitle?: string | null,
>   hasReviewedDates?: boolean | null,
>   holdingRewardsEnabled?: boolean | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   instrumentIndex?: number | null,
>   instrumentKind?: string | null,
>   lastTradePrice?: number | null,
>   line?: number | null,
>   liquidity?: string | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   liquidityNum?: number | null,
>   lowerBound?: string | null,
>   lowerBoundDate?: string | null,
>   mailchimpTag?: string | null,
>   makerBaseFee?: number | null,
>   makerRebatesFeeShareBps?: number | null,
>   manualActivation?: boolean | null,
>   marketGroup?: number | null,
>   marketMakerAddress?: string | null,
>   marketMetadata?: Record<string, any> | null,
>   marketType?: string | null,
>   markets?: (recursive)[] | null | null,
>   negRisk?: boolean | null,
>   negRiskMarketID?: string | null,
>   negRiskOther?: boolean | null,
>   negRiskRequestID?: string | null,
>   new?: boolean | null,
>   notificationsEnabled?: boolean | null,
>   onchainEventId?: string | null,
>   oneDayPriceChange?: number | null,
>   oneHourPriceChange?: number | null,
>   oneMonthPriceChange?: number | null,
>   oneWeekPriceChange?: number | null,
>   oneYearPriceChange?: number | null,
>   orderMinSize?: number | null,
>   orderPriceMinTickSize?: number | null,
>   outcomePrices?: string | null,
>   outcomes?: string | null,
>   pastSlugs?: string | null,
>   pendingDeployment?: boolean | null,
>   positionIds?: string[] | null | null,
>   question?: string | null,
>   questionID?: string | null,
>   ready?: boolean | null,
>   readyForCron?: boolean | null,
>   readyTimestamp?: string | null,
>   requestId?: string | null,
>   resolutionMechanism?: string | null | null,
>   resolutionSource?: string | null,
>   resolutionStatus?: string | null,
>   resolvedBy?: string | null,
>   restricted?: boolean | null,
>   rewardsMaxSpread?: number | null,
>   rewardsMinSize?: number | null,
>   rfqEnabled?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: number | null,
>   secondsDelay?: number | null,
>   sentDiscord?: boolean | null,
>   seriesColor?: string | null,
>   shortOutcomes?: string | null,
>   showGmpOutcome?: boolean | null,
>   showGmpSeries?: boolean | null,
>   slug?: string | null,
>   sponsorImage?: string | null,
>   sponsorName?: string | null,
>   sportsMarketType?: string | null,
>   spread?: number | null,
>   startDate?: string | null,
>   startDateIso?: string | null,
>   subcategory?: string | null,
>   submitted_by?: string | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   takerBaseFee?: number | null,
>   teamAID?: string | null,
>   teamBID?: string | null,
>   tradingEligible?: boolean | null | null,
>   twitterCardImage?: string | null,
>   twitterCardLastRefreshed?: string | null,
>   twitterCardLastValidated?: string | null,
>   twitterCardLocation?: string | null,
>   umaBond?: string | null,
>   umaEndDate?: string | null,
>   umaEndDateIso?: string | null,
>   umaResolutionStatus?: string | null,
>   umaResolutionStatuses?: string | null,
>   umaReward?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null,
>   upperBound?: string | null,
>   upperBoundDate?: string | null,
>   version?: string | null,
>   volume?: string | null,
>   volume1mo?: number | null,
>   volume1moAmm?: number | null,
>   volume1moClob?: number | null,
>   volume1wk?: number | null,
>   volume1wkAmm?: number | null,
>   volume1wkClob?: number | null,
>   volume1yr?: number | null,
>   volume1yrAmm?: number | null,
>   volume1yrClob?: number | null,
>   volume24hr?: number | null,
>   volume24hrAmm?: number | null,
>   volume24hrClob?: number | null,
>   volumeAmm?: number | null,
>   volumeClob?: number | null,
>   volumeNum?: number | null,
>   wideFormat?: boolean | null,
>   xAxisValue?: string | null,
>   yAxisValue?: string | null
> }[] | null | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   activeEventsCount?: number | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   forceHide?: boolean | null,
>   forceShow?: boolean | null,
>   id?: string | null,
>   isCarousel?: boolean | null,
>   label?: string | null,
>   publishedAt?: string | null,
>   slug?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null
> }[] | null | null
> ```

***

### markets.getBySlug

`gamma.markets.getBySlug`

Get market by slug

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.markets.getBySlug({ slug: 'will-bitcoin-hit-100k-in-2026' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string` | Yes | Market slug |
| `include_tag` | `string` | No | Include tag data (true/false) |
| `include_facets` | `string` | No | Include the facets assigned to each market (true/false). Facets are the assigned ones plus their ancestors. |
| `locale` | `string` | No | Locale used to localize returned content |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `acceptingOrders` | `boolean \| null` | No | — |
| `acceptingOrdersTimestamp` | `string \| null` | No | — |
| `acceptingOrdersUntil` | `string \| null` | No | — |
| `active` | `boolean \| null` | No | — |
| `ammType` | `string \| null` | No | — |
| `approved` | `boolean \| null` | No | — |
| `archived` | `boolean \| null` | No | — |
| `automaticallyActive` | `boolean \| null` | No | — |
| `automaticallyResolved` | `boolean \| null` | No | — |
| `bestAsk` | `number \| null` | No | — |
| `bestBid` | `number \| null` | No | — |
| `category` | `string \| null` | No | — |
| `categoryMailchimpTag` | `string \| null` | No | — |
| `chartColor` | `string \| null` | No | — |
| `clearBookOnStart` | `boolean \| null` | No | — |
| `clobRewards` | `object[] \| null` | No | — |
| `clobTokenIds` | `string \| null` | No | — |
| `closed` | `boolean \| null` | No | — |
| `closedTime` | `string \| null` | No | — |
| `comboStatus` | `string \| null` | No | Combo eligibility state: pending/enabled/disabled. May be set at creation — enabled requires a conditionId and two positionIds. After creation it can only be changed through the combo-status endpoint. |
| `commentsEnabled` | `boolean \| null` | No | — |
| `competitive` | `number \| null` | No | — |
| `conditionId` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `createdBy` | `number \| null` | No | — |
| `creator` | `string \| null` | No | — |
| `cryptoMarketConfig` | `object \| null` | No | — |
| `cryptoMarketConfigId` | `string \| null` | No | — |
| `curationOrder` | `number \| null` | No | — |
| `customLiveness` | `number \| null` | No | — |
| `cyom` | `boolean \| null` | No | — |
| `denominationToken` | `string \| null` | No | — |
| `deploying` | `boolean \| null` | No | — |
| `deployingTimestamp` | `string \| null` | No | — |
| `description` | `string \| null` | No | — |
| `disqusThread` | `string \| null` | No | — |
| `enableOrderBook` | `boolean \| null` | No | — |
| `endDate` | `string \| null` | No | — |
| `endDateIso` | `string \| null` | No | — |
| `eventStartTime` | `string \| null` | No | — |
| `events` | `object[] \| null` | No | — |
| `facets` | `object[] \| null` | No | Facets assigned to the market, with their ancestors; a market does not carry its event's facets. Present only when the request sets include\_facets=true. Read-only. |
| `fallbackResolutionType` | `string \| null` | No | Which mechanism resolves the market once UMA reports P3 (Scalar Resolutions): none (no workflow is started; the market stays unresolved on-chain until an operator changes the mode), equal\_split (50/50) or lfmp (a settlement price — the last fair market price — is supplied by the resolution tooling). Defaults to none at creation and can be changed at any time, including after deployment. Gamma does not validate the mode against the market type. |
| `featured` | `boolean \| null` | No | — |
| `fee` | `string \| null` | No | — |
| `feeExponent` | `number \| null` | No | — |
| `feeRate` | `number \| null` | No | — |
| `feeSchedule` | `object \| null` | No | — |
| `feeType` | `string \| null \| null` | No | — |
| `feesEnabled` | `boolean \| null` | No | — |
| `formatType` | `string \| null` | No | — |
| `fpmmLive` | `boolean \| null` | No | — |
| `funded` | `boolean \| null` | No | — |
| `fundedTimestamp` | `string \| null` | No | — |
| `gameId` | `string \| null` | No | — |
| `gameStartTime` | `string \| null` | No | — |
| `groupItemRange` | `string \| null` | No | — |
| `groupItemThreshold` | `string \| null` | No | — |
| `groupItemTitle` | `string \| null` | No | — |
| `hasReviewedDates` | `boolean \| null` | No | — |
| `holdingRewardsEnabled` | `boolean \| null` | No | — |
| `icon` | `string \| null` | No | — |
| `id` | `string \| null` | No | — |
| `image` | `string \| null` | No | — |
| `instrumentIndex` | `number \| null` | No | Directional instrument slot within the parent event: bucket \[0,maxMarketCount), threshold \[1,maxMarketCount), void at maxMarketCount. Zero is a valid bucket index; absent means not directional. Unique per (event, instrumentKind). Server-owned, immutable from creation; read-only. |
| `instrumentKind` | `string \| null` | No | Directional instrument kind. Only present on directional event markets. Server-owned, immutable from creation; read-only. |
| `lastTradePrice` | `number \| null` | No | — |
| `line` | `number \| null` | No | — |
| `liquidity` | `string \| null` | No | — |
| `liquidityAmm` | `number \| null` | No | — |
| `liquidityClob` | `number \| null` | No | — |
| `liquidityNum` | `number \| null` | No | — |
| `lowerBound` | `string \| null` | No | — |
| `lowerBoundDate` | `string \| null` | No | — |
| `mailchimpTag` | `string \| null` | No | — |
| `makerBaseFee` | `number \| null` | No | — |
| `makerRebatesFeeShareBps` | `number \| null` | No | — |
| `manualActivation` | `boolean \| null` | No | — |
| `marketGroup` | `number \| null` | No | — |
| `marketMakerAddress` | `string \| null` | No | — |
| `marketMetadata` | `Record<string, any> \| null` | No | — |
| `marketType` | `string \| null` | No | — |
| `markets` | `object[] \| null` | No | — |
| `negRisk` | `boolean \| null` | No | — |
| `negRiskMarketID` | `string \| null` | No | — |
| `negRiskOther` | `boolean \| null` | No | — |
| `negRiskRequestID` | `string \| null` | No | — |
| `new` | `boolean \| null` | No | — |
| `notificationsEnabled` | `boolean \| null` | No | — |
| `onchainEventId` | `string \| null` | No | Parent v2 on-chain event ID: bytes32 hex with the bottom 3 bytes zero, equal to the v2 conditionId with its conditionIndex cleared. Shared by every market of a neg-risk event. Only present on v2 markets. Read-only: derived from the v2 conditionId; writes are rejected unless echoing the stored value. |
| `oneDayPriceChange` | `number \| null` | No | — |
| `oneHourPriceChange` | `number \| null` | No | — |
| `oneMonthPriceChange` | `number \| null` | No | — |
| `oneWeekPriceChange` | `number \| null` | No | — |
| `oneYearPriceChange` | `number \| null` | No | — |
| `orderMinSize` | `number \| null` | No | — |
| `orderPriceMinTickSize` | `number \| null` | No | — |
| `outcomePrices` | `string \| null` | No | — |
| `outcomes` | `string \| null` | No | — |
| `pastSlugs` | `string \| null` | No | — |
| `pendingDeployment` | `boolean \| null` | No | — |
| `positionIds` | `string[] \| null \| null` | No | — |
| `question` | `string \| null` | No | — |
| `questionID` | `string \| null` | No | — |
| `ready` | `boolean \| null` | No | — |
| `readyForCron` | `boolean \| null` | No | — |
| `readyTimestamp` | `string \| null` | No | — |
| `requestId` | `string \| null` | No | V2 oracle request ID (bytes32 hex): the key the OracleAggregator resolves the market under. Equals the conditionId for binary and incremental neg-risk markets, and the onchainEventId for atomic neg-risk markets. Only present on v2 markets. Auto-derived for binary markets; for neg-risk markets it is set at creation and must equal the conditionId or the onchainEventId. |
| `resolutionMechanism` | `string \| null \| null` | No | How the market resolves: oracle (resolved through an oracle request) or derived (payouts are supplied by the resolution service, no independent oracle request). Computed by Gamma at creation and fixed afterwards; read-only. Independent of resolutionSource, which stays free-text provider metadata. |
| `resolutionSource` | `string \| null` | No | — |
| `resolutionStatus` | `string \| null` | No | High-level resolution state of the market: inactive (drafted, not yet deployed on chain), active (deployed, not resolved yet) or resolved. Only written for v2 markets; v1 markets keep using umaResolutionStatus. |
| `resolvedBy` | `string \| null` | No | — |
| `restricted` | `boolean \| null` | No | — |
| `rewardsMaxSpread` | `number \| null` | No | — |
| `rewardsMinSize` | `number \| null` | No | — |
| `rfqEnabled` | `boolean \| null` | No | — |
| `scheduledDeploymentTimestamp` | `string \| null` | No | — |
| `score` | `number \| null` | No | — |
| `secondsDelay` | `number \| null` | No | — |
| `sentDiscord` | `boolean \| null` | No | — |
| `seriesColor` | `string \| null` | No | — |
| `shortOutcomes` | `string \| null` | No | — |
| `showGmpOutcome` | `boolean \| null` | No | — |
| `showGmpSeries` | `boolean \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `sponsorImage` | `string \| null` | No | — |
| `sponsorName` | `string \| null` | No | — |
| `sportsMarketType` | `string \| null` | No | — |
| `spread` | `number \| null` | No | — |
| `startDate` | `string \| null` | No | — |
| `startDateIso` | `string \| null` | No | — |
| `subcategory` | `string \| null` | No | — |
| `submitted_by` | `string \| null` | No | — |
| `tags` | `object[] \| null` | No | — |
| `takerBaseFee` | `number \| null` | No | — |
| `teamAID` | `string \| null` | No | — |
| `teamBID` | `string \| null` | No | — |
| `tradingEligible` | `boolean \| null \| null` | No | Whether the market can trade. Computed by Gamma at creation and fixed afterwards; read-only. Always present, false is explicit. Non-tradable markets are excluded from public discovery lists and search but stay readable by id, condition id, token id and position id. |
| `twitterCardImage` | `string \| null` | No | — |
| `twitterCardLastRefreshed` | `string \| null` | No | — |
| `twitterCardLastValidated` | `string \| null` | No | — |
| `twitterCardLocation` | `string \| null` | No | — |
| `umaBond` | `string \| null` | No | — |
| `umaEndDate` | `string \| null` | No | — |
| `umaEndDateIso` | `string \| null` | No | — |
| `umaResolutionStatus` | `string \| null` | No | — |
| `umaResolutionStatuses` | `string \| null` | No | — |
| `umaReward` | `string \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |
| `updatedBy` | `number \| null` | No | — |
| `upperBound` | `string \| null` | No | — |
| `upperBoundDate` | `string \| null` | No | — |
| `version` | `string \| null` | No | Protocol version the market trades on: v1 (legacy CTF/CLOB) or v2 (polymarket-v2 modules). Clients must match exact values and treat unknown values as unsupported. |
| `volume` | `string \| null` | No | — |
| `volume1mo` | `number \| null` | No | — |
| `volume1moAmm` | `number \| null` | No | — |
| `volume1moClob` | `number \| null` | No | — |
| `volume1wk` | `number \| null` | No | — |
| `volume1wkAmm` | `number \| null` | No | — |
| `volume1wkClob` | `number \| null` | No | — |
| `volume1yr` | `number \| null` | No | — |
| `volume1yrAmm` | `number \| null` | No | — |
| `volume1yrClob` | `number \| null` | No | — |
| `volume24hr` | `number \| null` | No | — |
| `volume24hrAmm` | `number \| null` | No | — |
| `volume24hrClob` | `number \| null` | No | — |
| `volumeAmm` | `number \| null` | No | — |
| `volumeClob` | `number \| null` | No | — |
| `volumeNum` | `number \| null` | No | — |
| `wideFormat` | `boolean \| null` | No | — |
| `xAxisValue` | `string \| null` | No | — |
| `yAxisValue` | `string \| null` | No | — |

> [accordion] clobRewards full type
>
> ```ts theme={null}
> {
>   assetAddress?: string | null,
>   conditionId?: string | null,
>   endDate?: string | null,
>   id?: string | null,
>   rewardsAmount?: number | null,
>   rewardsDailyRate?: number | null,
>   startDate?: string | null
> }[] | null | null
> ```

> [accordion] cryptoMarketConfig full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   asset?: string | null,
>   duration?: string | null,
>   id?: string | null,
>   twapEnabled?: boolean | null,
>   twapLookbackSeconds?: number | null
> } | null
> ```

```ts theme={null}
{
  $schema?: string | null,
  active?: boolean | null,
  archived?: boolean | null,
  automaticallyActive?: boolean | null,
  automaticallyResolved?: boolean | null,
  bestLines?: {
    id?: string | null,
    line?: number | null,
    lineType?: string | null
  }[] | null | null,
  cantEstimate?: boolean | null,
  carouselMap?: string | null,
  category?: string | null,
  closed?: boolean | null,
  closedTime?: string | null,
  color?: string | null,
  commentCount?: number | null,
  commentsEnabled?: boolean | null,
  competitive?: number | null,
  countryName?: string | null,
  createdAt?: string | null,
  createdBy?: string | null,
  creationDate?: string | null,
  cumulativeMarkets?: boolean | null,
  cyom?: boolean | null,
  deploying?: boolean | null,
  deployingTimestamp?: string | null,
  description?: string | null,
  disqusThread?: string | null,
  elapsed?: string | null,
  electionType?: string | null,
  enableNegRisk?: boolean | null,
  enableOrderBook?: boolean | null,
  endDate?: string | null,
  ended?: boolean | null,
  estimateValue?: boolean | null,
  estimatedValue?: string | null,
  eventCreators?: {
    $schema?: string | null,
    createdAt?: string | null,
    creatorHandle?: string | null,
    creatorImage?: string | null,
    creatorName?: string | null,
    creatorUrl?: string | null,
    id?: string | null,
    updatedAt?: string | null
  }[] | null | null,
  eventDate?: string | null,
  eventMetadata?: Record<string, any> | null,
  eventWeek?: number | null,
  externalPartners?: {
    $schema?: string | null,
    createdAt?: string | null,
    eventId?: number | null,
    externalId?: string | null,
    id?: number | null,
    partner?: {
      $schema?: string | null,
      createdAt?: string | null,
      id?: number | null,
      name?: string | null,
      slug?: string | null,
      updatedAt?: string | null
    } | null,
    partnerId?: number | null,
    updatedAt?: string | null
  }[] | null | null,
  facets?: {
    abbreviation?: string | null,
    appliesTo?: string[] | null | null,
    label?: string | null,
    parents?: string[] | null | null,
    slug?: string | null
  }[] | null | null,
  featured?: boolean | null,
  featuredImage?: string | null,
  featuredOrder?: number | null,
  finishedTimestamp?: string | null,
  gameId?: number | null,
  gmpChartMode?: string | null,
  icon?: string | null,
  id?: string | null,
  image?: string | null,
  isTemplate?: boolean | null,
  lastHighlight?: string | null,
  lastHighlightAt?: string | null,
  lastHighlightType?: string | null,
  liquidity?: number | null,
  liquidityAmm?: number | null,
  liquidityClob?: number | null,
  live?: boolean | null,
  markets?: {
    $schema?: string | null,
    acceptingOrders?: boolean | null,
    acceptingOrdersTimestamp?: string | null,
    acceptingOrdersUntil?: string | null,
    active?: boolean | null,
    ammType?: string | null,
    approved?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestAsk?: number | null,
    bestBid?: number | null,
    category?: string | null,
    categoryMailchimpTag?: string | null,
    chartColor?: string | null,
    clearBookOnStart?: boolean | null,
    clobRewards?: {
      assetAddress?: string | null,
      conditionId?: string | null,
      endDate?: string | null,
      id?: string | null,
      rewardsAmount?: number | null,
      rewardsDailyRate?: number | null,
      startDate?: string | null
    }[] | null | null,
    clobTokenIds?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    comboStatus?: string | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    conditionId?: string | null,
    createdAt?: string | null,
    createdBy?: number | null,
    creator?: string | null,
    cryptoMarketConfig?: {
      $schema?: string | null,
      asset?: string | null,
      duration?: string | null,
      id?: string | null,
      twapEnabled?: boolean | null,
      twapLookbackSeconds?: number | null
    } | null,
    cryptoMarketConfigId?: string | null,
    curationOrder?: number | null,
    customLiveness?: number | null,
    cyom?: boolean | null,
    denominationToken?: string | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    endDateIso?: string | null,
    eventStartTime?: string | null,
    events?: (recursive)[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    fallbackResolutionType?: string | null,
    featured?: boolean | null,
    fee?: string | null,
    feeExponent?: number | null,
    feeRate?: number | null,
    feeSchedule?: {
      exponent?: number | null,
      rate?: number | null,
      rebateRate?: number | null,
      takerOnly?: boolean | null
    } | null,
    feeType?: string | null | null,
    feesEnabled?: boolean | null,
    formatType?: string | null,
    fpmmLive?: boolean | null,
    funded?: boolean | null,
    fundedTimestamp?: string | null,
    gameId?: string | null,
    gameStartTime?: string | null,
    groupItemRange?: string | null,
    groupItemThreshold?: string | null,
    groupItemTitle?: string | null,
    hasReviewedDates?: boolean | null,
    holdingRewardsEnabled?: boolean | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    instrumentIndex?: number | null,
    instrumentKind?: string | null,
    lastTradePrice?: number | null,
    line?: number | null,
    liquidity?: string | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    liquidityNum?: number | null,
    lowerBound?: string | null,
    lowerBoundDate?: string | null,
    mailchimpTag?: string | null,
    makerBaseFee?: number | null,
    makerRebatesFeeShareBps?: number | null,
    manualActivation?: boolean | null,
    marketGroup?: number | null,
    marketMakerAddress?: string | null,
    marketMetadata?: Record<string, any> | null,
    marketType?: string | null,
    markets?: {
      $schema?: string | null,
      acceptingOrders?: boolean | null,
      acceptingOrdersTimestamp?: string | null,
      acceptingOrdersUntil?: string | null,
      active?: boolean | null,
      ammType?: string | null,
      approved?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestAsk?: number | null,
      bestBid?: number | null,
      category?: string | null,
      categoryMailchimpTag?: string | null,
      chartColor?: string | null,
      clearBookOnStart?: boolean | null,
      clobRewards?: {
        assetAddress?: string | null,
        conditionId?: string | null,
        endDate?: string | null,
        id?: string | null,
        rewardsAmount?: number | null,
        rewardsDailyRate?: number | null,
        startDate?: string | null
      }[] | null | null,
      clobTokenIds?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      comboStatus?: string | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      conditionId?: string | null,
      createdAt?: string | null,
      createdBy?: number | null,
      creator?: string | null,
      cryptoMarketConfig?: {
        $schema?: string | null,
        asset?: string | null,
        duration?: string | null,
        id?: string | null,
        twapEnabled?: boolean | null,
        twapLookbackSeconds?: number | null
      } | null,
      cryptoMarketConfigId?: string | null,
      curationOrder?: number | null,
      customLiveness?: number | null,
      cyom?: boolean | null,
      denominationToken?: string | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      endDateIso?: string | null,
      eventStartTime?: string | null,
      events?: (recursive)[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      fallbackResolutionType?: string | null,
      featured?: boolean | null,
      fee?: string | null,
      feeExponent?: number | null,
      feeRate?: number | null,
      feeSchedule?: {
        exponent?: number | null,
        rate?: number | null,
        rebateRate?: number | null,
        takerOnly?: boolean | null
      } | null,
      feeType?: string | null | null,
      feesEnabled?: boolean | null,
      formatType?: string | null,
      fpmmLive?: boolean | null,
      funded?: boolean | null,
      fundedTimestamp?: string | null,
      gameId?: string | null,
      gameStartTime?: string | null,
      groupItemRange?: string | null,
      groupItemThreshold?: string | null,
      groupItemTitle?: string | null,
      hasReviewedDates?: boolean | null,
      holdingRewardsEnabled?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      instrumentIndex?: number | null,
      instrumentKind?: string | null,
      lastTradePrice?: number | null,
      line?: number | null,
      liquidity?: string | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      liquidityNum?: number | null,
      lowerBound?: string | null,
      lowerBoundDate?: string | null,
      mailchimpTag?: string | null,
      makerBaseFee?: number | null,
      makerRebatesFeeShareBps?: number | null,
      manualActivation?: boolean | null,
      marketGroup?: number | null,
      marketMakerAddress?: string | null,
      marketMetadata?: Record<string, any> | null,
      marketType?: string | null,
      markets?: (recursive)[] | null | null,
      negRisk?: boolean | null,
      negRiskMarketID?: string | null,
      negRiskOther?: boolean | null,
      negRiskRequestID?: string | null,
      new?: boolean | null,
      notificationsEnabled?: boolean | null,
      onchainEventId?: string | null,
      oneDayPriceChange?: number | null,
      oneHourPriceChange?: number | null,
      oneMonthPriceChange?: number | null,
      oneWeekPriceChange?: number | null,
      oneYearPriceChange?: number | null,
      orderMinSize?: number | null,
      orderPriceMinTickSize?: number | null,
      outcomePrices?: string | null,
      outcomes?: string | null,
      pastSlugs?: string | null,
      pendingDeployment?: boolean | null,
      positionIds?: string[] | null | null,
      question?: string | null,
      questionID?: string | null,
      ready?: boolean | null,
      readyForCron?: boolean | null,
      readyTimestamp?: string | null,
      requestId?: string | null,
      resolutionMechanism?: string | null | null,
      resolutionSource?: string | null,
      resolutionStatus?: string | null,
      resolvedBy?: string | null,
      restricted?: boolean | null,
      rewardsMaxSpread?: number | null,
      rewardsMinSize?: number | null,
      rfqEnabled?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: number | null,
      secondsDelay?: number | null,
      sentDiscord?: boolean | null,
      seriesColor?: string | null,
      shortOutcomes?: string | null,
      showGmpOutcome?: boolean | null,
      showGmpSeries?: boolean | null,
      slug?: string | null,
      sponsorImage?: string | null,
      sponsorName?: string | null,
      sportsMarketType?: string | null,
      spread?: number | null,
      startDate?: string | null,
      startDateIso?: string | null,
      subcategory?: string | null,
      submitted_by?: string | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      takerBaseFee?: number | null,
      teamAID?: string | null,
      teamBID?: string | null,
      tradingEligible?: boolean | null | null,
      twitterCardImage?: string | null,
      twitterCardLastRefreshed?: string | null,
      twitterCardLastValidated?: string | null,
      twitterCardLocation?: string | null,
      umaBond?: string | null,
      umaEndDate?: string | null,
      umaEndDateIso?: string | null,
      umaResolutionStatus?: string | null,
      umaResolutionStatuses?: string | null,
      umaReward?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null,
      upperBound?: string | null,
      upperBoundDate?: string | null,
      version?: string | null,
      volume?: string | null,
      volume1mo?: number | null,
      volume1moAmm?: number | null,
      volume1moClob?: number | null,
      volume1wk?: number | null,
      volume1wkAmm?: number | null,
      volume1wkClob?: number | null,
      volume1yr?: number | null,
      volume1yrAmm?: number | null,
      volume1yrClob?: number | null,
      volume24hr?: number | null,
      volume24hrAmm?: number | null,
      volume24hrClob?: number | null,
      volumeAmm?: number | null,
      volumeClob?: number | null,
      volumeNum?: number | null,
      wideFormat?: boolean | null,
      xAxisValue?: string | null,
      yAxisValue?: string | null
    }[] | null | null,
    negRisk?: boolean | null,
    negRiskMarketID?: string | null,
    negRiskOther?: boolean | null,
    negRiskRequestID?: string | null,
    new?: boolean | null,
    notificationsEnabled?: boolean | null,
    onchainEventId?: string | null,
    oneDayPriceChange?: number | null,
    oneHourPriceChange?: number | null,
    oneMonthPriceChange?: number | null,
    oneWeekPriceChange?: number | null,
    oneYearPriceChange?: number | null,
    orderMinSize?: number | null,
    orderPriceMinTickSize?: number | null,
    outcomePrices?: string | null,
    outcomes?: string | null,
    pastSlugs?: string | null,
    pendingDeployment?: boolean | null,
    positionIds?: string[] | null | null,
    question?: string | null,
    questionID?: string | null,
    ready?: boolean | null,
    readyForCron?: boolean | null,
    readyTimestamp?: string | null,
    requestId?: string | null,
    resolutionMechanism?: string | null | null,
    resolutionSource?: string | null,
    resolutionStatus?: string | null,
    resolvedBy?: string | null,
    restricted?: boolean | null,
    rewardsMaxSpread?: number | null,
    rewardsMinSize?: number | null,
    rfqEnabled?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: number | null,
    secondsDelay?: number | null,
    sentDiscord?: boolean | null,
    seriesColor?: string | null,
    shortOutcomes?: string | null,
    showGmpOutcome?: boolean | null,
    showGmpSeries?: boolean | null,
    slug?: string | null,
    sponsorImage?: string | null,
    sponsorName?: string | null,
    sportsMarketType?: string | null,
    spread?: number | null,
    startDate?: string | null,
    startDateIso?: string | null,
    subcategory?: string | null,
    submitted_by?: string | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    takerBaseFee?: number | null,
    teamAID?: string | null,
    teamBID?: string | null,
    tradingEligible?: boolean | null | null,
    twitterCardImage?: string | null,
    twitterCardLastRefreshed?: string | null,
    twitterCardLastValidated?: string | null,
    twitterCardLocation?: string | null,
    umaBond?: string | null,
    umaEndDate?: string | null,
    umaEndDateIso?: string | null,
    umaResolutionStatus?: string | null,
    umaResolutionStatuses?: string | null,
    umaReward?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null,
    upperBound?: string | null,
    upperBoundDate?: string | null,
    version?: string | null,
    volume?: string | null,
    volume1mo?: number | null,
    volume1moAmm?: number | null,
    volume1moClob?: number | null,
    volume1wk?: number | null,
    volume1wkAmm?: number | null,
    volume1wkClob?: number | null,
    volume1yr?: number | null,
    volume1yrAmm?: number | null,
    volume1yrClob?: number | null,
    volume24hr?: number | null,
    volume24hrAmm?: number | null,
    volume24hrClob?: number | null,
    volumeAmm?: number | null,
    volumeClob?: number | null,
    volumeNum?: number | null,
    wideFormat?: boolean | null,
    xAxisValue?: string | null,
    yAxisValue?: string | null
  }[] | null | null,
  maxMarketCount?: number | null,
  moduleType?: string | null,
  negRisk?: boolean | null,
  negRiskAugmented?: boolean | null,
  negRiskFeeBips?: number | null,
  negRiskMarketID?: string | null,
  new?: boolean | null,
  openInterest?: number | null,
  parentEventId?: number | null,
  pendingDeployment?: boolean | null,
  period?: string | null,
  published_at?: string | null,
  rescheduledFromGameId?: number | null,
  resolutionMode?: string | null,
  resolutionSource?: string | null,
  restricted?: boolean | null,
  scheduledDeploymentTimestamp?: string | null,
  score?: string | null,
  series?: {
    $schema?: string | null,
    active?: boolean | null,
    archived?: boolean | null,
    cgAssetName?: string | null,
    closed?: boolean | null,
    commentCount?: number | null,
    commentsEnabled?: boolean | null,
    competitive?: string | null,
    createdAt?: string | null,
    createdBy?: string | null,
    description?: string | null,
    events?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestLines?: {
        id?: string | null,
        line?: number | null,
        lineType?: string | null
      }[] | null | null,
      cantEstimate?: boolean | null,
      carouselMap?: string | null,
      category?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      color?: string | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      countryName?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      creationDate?: string | null,
      cumulativeMarkets?: boolean | null,
      cyom?: boolean | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      elapsed?: string | null,
      electionType?: string | null,
      enableNegRisk?: boolean | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      ended?: boolean | null,
      estimateValue?: boolean | null,
      estimatedValue?: string | null,
      eventCreators?: {
        $schema?: string | null,
        createdAt?: string | null,
        creatorHandle?: string | null,
        creatorImage?: string | null,
        creatorName?: string | null,
        creatorUrl?: string | null,
        id?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      eventDate?: string | null,
      eventMetadata?: Record<string, any> | null,
      eventWeek?: number | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        eventId?: number | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      featured?: boolean | null,
      featuredImage?: string | null,
      featuredOrder?: number | null,
      finishedTimestamp?: string | null,
      gameId?: number | null,
      gmpChartMode?: string | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      lastHighlight?: string | null,
      lastHighlightAt?: string | null,
      lastHighlightType?: string | null,
      liquidity?: number | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      live?: boolean | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: (recursive)[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: (recursive)[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      maxMarketCount?: number | null,
      moduleType?: string | null,
      negRisk?: boolean | null,
      negRiskAugmented?: boolean | null,
      negRiskFeeBips?: number | null,
      negRiskMarketID?: string | null,
      new?: boolean | null,
      openInterest?: number | null,
      parentEventId?: number | null,
      pendingDeployment?: boolean | null,
      period?: string | null,
      published_at?: string | null,
      rescheduledFromGameId?: number | null,
      resolutionMode?: string | null,
      resolutionSource?: string | null,
      restricted?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: string | null,
      series?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        cgAssetName?: string | null,
        closed?: boolean | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        description?: string | null,
        events?: (recursive)[] | null | null,
        featured?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        layout?: string | null,
        liquidity?: number | null,
        new?: boolean | null,
        publishedAt?: string | null,
        pythTokenID?: string | null,
        recurrence?: string | null,
        restricted?: boolean | null,
        score?: number | null,
        seriesType?: string | null,
        slug?: string | null,
        startDate?: string | null,
        subtitle?: string | null,
        templateVariables?: boolean | null,
        ticker?: string | null,
        title?: string | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        volume?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      seriesSlug?: string | null,
      showAllOutcomes?: boolean | null,
      showMarketImages?: boolean | null,
      slug?: string | null,
      sortBy?: string | null,
      sport?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          sportId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        image?: string | null,
        name?: string | null,
        ordering?: string | null,
        primaryTagId?: number | null,
        resolution?: string | null,
        series?: string | null,
        sport?: string | null,
        tags?: string | null,
        updatedAt?: string | null
      } | null,
      spreadsMainLine?: number | null,
      startDate?: string | null,
      startTime?: string | null,
      subEvents?: (string | null)[] | null | null,
      subcategory?: string | null,
      subtitle?: string | null,
      tag_labels?: string[] | null | null,
      tag_slugs?: string[] | null | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      teams?: {
        $schema?: string | null,
        abbreviation?: string | null,
        alias?: string | null,
        color?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          source?: string | null,
          teamId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        league?: string | null,
        logo?: string | null,
        name?: string | null,
        ordering?: string | null,
        providerId?: number | null,
        record?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      templateVariables?: string | null,
      ticker?: string | null,
      title?: string | null,
      totalsMainLine?: number | null,
      turnProviderId?: string | null,
      tweetCount?: number | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      usId?: string | null,
      version?: string | null,
      volume?: number | null,
      volume1mo?: number | null,
      volume1wk?: number | null,
      volume1yr?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    featured?: boolean | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    isTemplate?: boolean | null,
    layout?: string | null,
    liquidity?: number | null,
    new?: boolean | null,
    publishedAt?: string | null,
    pythTokenID?: string | null,
    recurrence?: string | null,
    restricted?: boolean | null,
    score?: number | null,
    seriesType?: string | null,
    slug?: string | null,
    startDate?: string | null,
    subtitle?: string | null,
    templateVariables?: boolean | null,
    ticker?: string | null,
    title?: string | null,
    updatedAt?: string | null,
    updatedBy?: string | null,
    volume?: number | null,
    volume24hr?: number | null
  }[] | null | null,
  seriesSlug?: string | null,
  showAllOutcomes?: boolean | null,
  showMarketImages?: boolean | null,
  slug?: string | null,
  sortBy?: string | null,
  sport?: {
    $schema?: string | null,
    createdAt?: string | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      sportId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    id?: number | null,
    image?: string | null,
    name?: string | null,
    ordering?: string | null,
    primaryTagId?: number | null,
    resolution?: string | null,
    series?: string | null,
    sport?: string | null,
    tags?: string | null,
    updatedAt?: string | null
  } | null,
  spreadsMainLine?: number | null,
  startDate?: string | null,
  startTime?: string | null,
  subEvents?: (string | null)[] | null | null,
  subcategory?: string | null,
  subtitle?: string | null,
  tag_labels?: string[] | null | null,
  tag_slugs?: string[] | null | null,
  tags?: {
    $schema?: string | null,
    activeEventsCount?: number | null,
    createdAt?: string | null,
    createdBy?: number | null,
    forceHide?: boolean | null,
    forceShow?: boolean | null,
    id?: string | null,
    isCarousel?: boolean | null,
    label?: string | null,
    publishedAt?: string | null,
    slug?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null
  }[] | null | null,
  teams?: {
    $schema?: string | null,
    abbreviation?: string | null,
    alias?: string | null,
    color?: string | null,
    createdAt?: string | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      source?: string | null,
      teamId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    id?: number | null,
    league?: string | null,
    logo?: string | null,
    name?: string | null,
    ordering?: string | null,
    providerId?: number | null,
    record?: string | null,
    updatedAt?: string | null
  }[] | null | null,
  templateVariables?: string | null,
  ticker?: string | null,
  title?: string | null,
  totalsMainLine?: number | null,
  turnProviderId?: string | null,
  tweetCount?: number | null,
  updatedAt?: string | null,
  updatedBy?: string | null,
  usId?: string | null,
  version?: string | null,
  volume?: number | null,
  volume1mo?: number | null,
  volume1wk?: number | null,
  volume1yr?: number | null,
  volume24hr?: number | null
}[] | null | null
```

> [accordion] facets full type
>
> ```ts theme={null}
> {
>   abbreviation?: string | null,
>   appliesTo?: string[] | null | null,
>   label?: string | null,
>   parents?: string[] | null | null,
>   slug?: string | null
> }[] | null | null
> ```

> [accordion] feeSchedule full type
>
> ```ts theme={null}
> {
>   exponent?: number | null,
>   rate?: number | null,
>   rebateRate?: number | null,
>   takerOnly?: boolean | null
> } | null
> ```

> [accordion] markets full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   acceptingOrders?: boolean | null,
>   acceptingOrdersTimestamp?: string | null,
>   acceptingOrdersUntil?: string | null,
>   active?: boolean | null,
>   ammType?: string | null,
>   approved?: boolean | null,
>   archived?: boolean | null,
>   automaticallyActive?: boolean | null,
>   automaticallyResolved?: boolean | null,
>   bestAsk?: number | null,
>   bestBid?: number | null,
>   category?: string | null,
>   categoryMailchimpTag?: string | null,
>   chartColor?: string | null,
>   clearBookOnStart?: boolean | null,
>   clobRewards?: {
>     assetAddress?: string | null,
>     conditionId?: string | null,
>     endDate?: string | null,
>     id?: string | null,
>     rewardsAmount?: number | null,
>     rewardsDailyRate?: number | null,
>     startDate?: string | null
>   }[] | null | null,
>   clobTokenIds?: string | null,
>   closed?: boolean | null,
>   closedTime?: string | null,
>   comboStatus?: string | null,
>   commentsEnabled?: boolean | null,
>   competitive?: number | null,
>   conditionId?: string | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   creator?: string | null,
>   cryptoMarketConfig?: {
>     $schema?: string | null,
>     asset?: string | null,
>     duration?: string | null,
>     id?: string | null,
>     twapEnabled?: boolean | null,
>     twapLookbackSeconds?: number | null
>   } | null,
>   cryptoMarketConfigId?: string | null,
>   curationOrder?: number | null,
>   customLiveness?: number | null,
>   cyom?: boolean | null,
>   denominationToken?: string | null,
>   deploying?: boolean | null,
>   deployingTimestamp?: string | null,
>   description?: string | null,
>   disqusThread?: string | null,
>   enableOrderBook?: boolean | null,
>   endDate?: string | null,
>   endDateIso?: string | null,
>   eventStartTime?: string | null,
>   events?: {
>     $schema?: string | null,
>     active?: boolean | null,
>     archived?: boolean | null,
>     automaticallyActive?: boolean | null,
>     automaticallyResolved?: boolean | null,
>     bestLines?: {
>       id?: string | null,
>       line?: number | null,
>       lineType?: string | null
>     }[] | null | null,
>     cantEstimate?: boolean | null,
>     carouselMap?: string | null,
>     category?: string | null,
>     closed?: boolean | null,
>     closedTime?: string | null,
>     color?: string | null,
>     commentCount?: number | null,
>     commentsEnabled?: boolean | null,
>     competitive?: number | null,
>     countryName?: string | null,
>     createdAt?: string | null,
>     createdBy?: string | null,
>     creationDate?: string | null,
>     cumulativeMarkets?: boolean | null,
>     cyom?: boolean | null,
>     deploying?: boolean | null,
>     deployingTimestamp?: string | null,
>     description?: string | null,
>     disqusThread?: string | null,
>     elapsed?: string | null,
>     electionType?: string | null,
>     enableNegRisk?: boolean | null,
>     enableOrderBook?: boolean | null,
>     endDate?: string | null,
>     ended?: boolean | null,
>     estimateValue?: boolean | null,
>     estimatedValue?: string | null,
>     eventCreators?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       creatorHandle?: string | null,
>       creatorImage?: string | null,
>       creatorName?: string | null,
>       creatorUrl?: string | null,
>       id?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     eventDate?: string | null,
>     eventMetadata?: Record<string, any> | null,
>     eventWeek?: number | null,
>     externalPartners?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       eventId?: number | null,
>       externalId?: string | null,
>       id?: number | null,
>       partner?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         id?: number | null,
>         name?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null
>       } | null,
>       partnerId?: number | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     facets?: {
>       abbreviation?: string | null,
>       appliesTo?: string[] | null | null,
>       label?: string | null,
>       parents?: string[] | null | null,
>       slug?: string | null
>     }[] | null | null,
>     featured?: boolean | null,
>     featuredImage?: string | null,
>     featuredOrder?: number | null,
>     finishedTimestamp?: string | null,
>     gameId?: number | null,
>     gmpChartMode?: string | null,
>     icon?: string | null,
>     id?: string | null,
>     image?: string | null,
>     isTemplate?: boolean | null,
>     lastHighlight?: string | null,
>     lastHighlightAt?: string | null,
>     lastHighlightType?: string | null,
>     liquidity?: number | null,
>     liquidityAmm?: number | null,
>     liquidityClob?: number | null,
>     live?: boolean | null,
>     markets?: {
>       $schema?: string | null,
>       acceptingOrders?: boolean | null,
>       acceptingOrdersTimestamp?: string | null,
>       acceptingOrdersUntil?: string | null,
>       active?: boolean | null,
>       ammType?: string | null,
>       approved?: boolean | null,
>       archived?: boolean | null,
>       automaticallyActive?: boolean | null,
>       automaticallyResolved?: boolean | null,
>       bestAsk?: number | null,
>       bestBid?: number | null,
>       category?: string | null,
>       categoryMailchimpTag?: string | null,
>       chartColor?: string | null,
>       clearBookOnStart?: boolean | null,
>       clobRewards?: {
>         assetAddress?: string | null,
>         conditionId?: string | null,
>         endDate?: string | null,
>         id?: string | null,
>         rewardsAmount?: number | null,
>         rewardsDailyRate?: number | null,
>         startDate?: string | null
>       }[] | null | null,
>       clobTokenIds?: string | null,
>       closed?: boolean | null,
>       closedTime?: string | null,
>       comboStatus?: string | null,
>       commentsEnabled?: boolean | null,
>       competitive?: number | null,
>       conditionId?: string | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       creator?: string | null,
>       cryptoMarketConfig?: {
>         $schema?: string | null,
>         asset?: string | null,
>         duration?: string | null,
>         id?: string | null,
>         twapEnabled?: boolean | null,
>         twapLookbackSeconds?: number | null
>       } | null,
>       cryptoMarketConfigId?: string | null,
>       curationOrder?: number | null,
>       customLiveness?: number | null,
>       cyom?: boolean | null,
>       denominationToken?: string | null,
>       deploying?: boolean | null,
>       deployingTimestamp?: string | null,
>       description?: string | null,
>       disqusThread?: string | null,
>       enableOrderBook?: boolean | null,
>       endDate?: string | null,
>       endDateIso?: string | null,
>       eventStartTime?: string | null,
>       events?: (recursive)[] | null | null,
>       facets?: {
>         abbreviation?: string | null,
>         appliesTo?: string[] | null | null,
>         label?: string | null,
>         parents?: string[] | null | null,
>         slug?: string | null
>       }[] | null | null,
>       fallbackResolutionType?: string | null,
>       featured?: boolean | null,
>       fee?: string | null,
>       feeExponent?: number | null,
>       feeRate?: number | null,
>       feeSchedule?: {
>         exponent?: number | null,
>         rate?: number | null,
>         rebateRate?: number | null,
>         takerOnly?: boolean | null
>       } | null,
>       feeType?: string | null | null,
>       feesEnabled?: boolean | null,
>       formatType?: string | null,
>       fpmmLive?: boolean | null,
>       funded?: boolean | null,
>       fundedTimestamp?: string | null,
>       gameId?: string | null,
>       gameStartTime?: string | null,
>       groupItemRange?: string | null,
>       groupItemThreshold?: string | null,
>       groupItemTitle?: string | null,
>       hasReviewedDates?: boolean | null,
>       holdingRewardsEnabled?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       instrumentIndex?: number | null,
>       instrumentKind?: string | null,
>       lastTradePrice?: number | null,
>       line?: number | null,
>       liquidity?: string | null,
>       liquidityAmm?: number | null,
>       liquidityClob?: number | null,
>       liquidityNum?: number | null,
>       lowerBound?: string | null,
>       lowerBoundDate?: string | null,
>       mailchimpTag?: string | null,
>       makerBaseFee?: number | null,
>       makerRebatesFeeShareBps?: number | null,
>       manualActivation?: boolean | null,
>       marketGroup?: number | null,
>       marketMakerAddress?: string | null,
>       marketMetadata?: Record<string, any> | null,
>       marketType?: string | null,
>       markets?: (recursive)[] | null | null,
>       negRisk?: boolean | null,
>       negRiskMarketID?: string | null,
>       negRiskOther?: boolean | null,
>       negRiskRequestID?: string | null,
>       new?: boolean | null,
>       notificationsEnabled?: boolean | null,
>       onchainEventId?: string | null,
>       oneDayPriceChange?: number | null,
>       oneHourPriceChange?: number | null,
>       oneMonthPriceChange?: number | null,
>       oneWeekPriceChange?: number | null,
>       oneYearPriceChange?: number | null,
>       orderMinSize?: number | null,
>       orderPriceMinTickSize?: number | null,
>       outcomePrices?: string | null,
>       outcomes?: string | null,
>       pastSlugs?: string | null,
>       pendingDeployment?: boolean | null,
>       positionIds?: string[] | null | null,
>       question?: string | null,
>       questionID?: string | null,
>       ready?: boolean | null,
>       readyForCron?: boolean | null,
>       readyTimestamp?: string | null,
>       requestId?: string | null,
>       resolutionMechanism?: string | null | null,
>       resolutionSource?: string | null,
>       resolutionStatus?: string | null,
>       resolvedBy?: string | null,
>       restricted?: boolean | null,
>       rewardsMaxSpread?: number | null,
>       rewardsMinSize?: number | null,
>       rfqEnabled?: boolean | null,
>       scheduledDeploymentTimestamp?: string | null,
>       score?: number | null,
>       secondsDelay?: number | null,
>       sentDiscord?: boolean | null,
>       seriesColor?: string | null,
>       shortOutcomes?: string | null,
>       showGmpOutcome?: boolean | null,
>       showGmpSeries?: boolean | null,
>       slug?: string | null,
>       sponsorImage?: string | null,
>       sponsorName?: string | null,
>       sportsMarketType?: string | null,
>       spread?: number | null,
>       startDate?: string | null,
>       startDateIso?: string | null,
>       subcategory?: string | null,
>       submitted_by?: string | null,
>       tags?: {
>         $schema?: string | null,
>         activeEventsCount?: number | null,
>         createdAt?: string | null,
>         createdBy?: number | null,
>         forceHide?: boolean | null,
>         forceShow?: boolean | null,
>         id?: string | null,
>         isCarousel?: boolean | null,
>         label?: string | null,
>         publishedAt?: string | null,
>         slug?: string | null,
>         updatedAt?: string | null,
>         updatedBy?: number | null
>       }[] | null | null,
>       takerBaseFee?: number | null,
>       teamAID?: string | null,
>       teamBID?: string | null,
>       tradingEligible?: boolean | null | null,
>       twitterCardImage?: string | null,
>       twitterCardLastRefreshed?: string | null,
>       twitterCardLastValidated?: string | null,
>       twitterCardLocation?: string | null,
>       umaBond?: string | null,
>       umaEndDate?: string | null,
>       umaEndDateIso?: string | null,
>       umaResolutionStatus?: string | null,
>       umaResolutionStatuses?: string | null,
>       umaReward?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null,
>       upperBound?: string | null,
>       upperBoundDate?: string | null,
>       version?: string | null,
>       volume?: string | null,
>       volume1mo?: number | null,
>       volume1moAmm?: number | null,
>       volume1moClob?: number | null,
>       volume1wk?: number | null,
>       volume1wkAmm?: number | null,
>       volume1wkClob?: number | null,
>       volume1yr?: number | null,
>       volume1yrAmm?: number | null,
>       volume1yrClob?: number | null,
>       volume24hr?: number | null,
>       volume24hrAmm?: number | null,
>       volume24hrClob?: number | null,
>       volumeAmm?: number | null,
>       volumeClob?: number | null,
>       volumeNum?: number | null,
>       wideFormat?: boolean | null,
>       xAxisValue?: string | null,
>       yAxisValue?: string | null
>     }[] | null | null,
>     maxMarketCount?: number | null,
>     moduleType?: string | null,
>     negRisk?: boolean | null,
>     negRiskAugmented?: boolean | null,
>     negRiskFeeBips?: number | null,
>     negRiskMarketID?: string | null,
>     new?: boolean | null,
>     openInterest?: number | null,
>     parentEventId?: number | null,
>     pendingDeployment?: boolean | null,
>     period?: string | null,
>     published_at?: string | null,
>     rescheduledFromGameId?: number | null,
>     resolutionMode?: string | null,
>     resolutionSource?: string | null,
>     restricted?: boolean | null,
>     scheduledDeploymentTimestamp?: string | null,
>     score?: string | null,
>     series?: {
>       $schema?: string | null,
>       active?: boolean | null,
>       archived?: boolean | null,
>       cgAssetName?: string | null,
>       closed?: boolean | null,
>       commentCount?: number | null,
>       commentsEnabled?: boolean | null,
>       competitive?: string | null,
>       createdAt?: string | null,
>       createdBy?: string | null,
>       description?: string | null,
>       events?: {
>         $schema?: string | null,
>         active?: boolean | null,
>         archived?: boolean | null,
>         automaticallyActive?: boolean | null,
>         automaticallyResolved?: boolean | null,
>         bestLines?: {
>           id?: string | null,
>           line?: number | null,
>           lineType?: string | null
>         }[] | null | null,
>         cantEstimate?: boolean | null,
>         carouselMap?: string | null,
>         category?: string | null,
>         closed?: boolean | null,
>         closedTime?: string | null,
>         color?: string | null,
>         commentCount?: number | null,
>         commentsEnabled?: boolean | null,
>         competitive?: number | null,
>         countryName?: string | null,
>         createdAt?: string | null,
>         createdBy?: string | null,
>         creationDate?: string | null,
>         cumulativeMarkets?: boolean | null,
>         cyom?: boolean | null,
>         deploying?: boolean | null,
>         deployingTimestamp?: string | null,
>         description?: string | null,
>         disqusThread?: string | null,
>         elapsed?: string | null,
>         electionType?: string | null,
>         enableNegRisk?: boolean | null,
>         enableOrderBook?: boolean | null,
>         endDate?: string | null,
>         ended?: boolean | null,
>         estimateValue?: boolean | null,
>         estimatedValue?: string | null,
>         eventCreators?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           creatorHandle?: string | null,
>           creatorImage?: string | null,
>           creatorName?: string | null,
>           creatorUrl?: string | null,
>           id?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         eventDate?: string | null,
>         eventMetadata?: Record<string, any> | null,
>         eventWeek?: number | null,
>         externalPartners?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           eventId?: number | null,
>           externalId?: string | null,
>           id?: number | null,
>           partner?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             id?: number | null,
>             name?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null
>           } | null,
>           partnerId?: number | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         facets?: {
>           abbreviation?: string | null,
>           appliesTo?: string[] | null | null,
>           label?: string | null,
>           parents?: string[] | null | null,
>           slug?: string | null
>         }[] | null | null,
>         featured?: boolean | null,
>         featuredImage?: string | null,
>         featuredOrder?: number | null,
>         finishedTimestamp?: string | null,
>         gameId?: number | null,
>         gmpChartMode?: string | null,
>         icon?: string | null,
>         id?: string | null,
>         image?: string | null,
>         isTemplate?: boolean | null,
>         lastHighlight?: string | null,
>         lastHighlightAt?: string | null,
>         lastHighlightType?: string | null,
>         liquidity?: number | null,
>         liquidityAmm?: number | null,
>         liquidityClob?: number | null,
>         live?: boolean | null,
>         markets?: {
>           $schema?: string | null,
>           acceptingOrders?: boolean | null,
>           acceptingOrdersTimestamp?: string | null,
>           acceptingOrdersUntil?: string | null,
>           active?: boolean | null,
>           ammType?: string | null,
>           approved?: boolean | null,
>           archived?: boolean | null,
>           automaticallyActive?: boolean | null,
>           automaticallyResolved?: boolean | null,
>           bestAsk?: number | null,
>           bestBid?: number | null,
>           category?: string | null,
>           categoryMailchimpTag?: string | null,
>           chartColor?: string | null,
>           clearBookOnStart?: boolean | null,
>           clobRewards?: {
>             assetAddress?: string | null,
>             conditionId?: string | null,
>             endDate?: string | null,
>             id?: string | null,
>             rewardsAmount?: number | null,
>             rewardsDailyRate?: number | null,
>             startDate?: string | null
>           }[] | null | null,
>           clobTokenIds?: string | null,
>           closed?: boolean | null,
>           closedTime?: string | null,
>           comboStatus?: string | null,
>           commentsEnabled?: boolean | null,
>           competitive?: number | null,
>           conditionId?: string | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           creator?: string | null,
>           cryptoMarketConfig?: {
>             $schema?: string | null,
>             asset?: string | null,
>             duration?: string | null,
>             id?: string | null,
>             twapEnabled?: boolean | null,
>             twapLookbackSeconds?: number | null
>           } | null,
>           cryptoMarketConfigId?: string | null,
>           curationOrder?: number | null,
>           customLiveness?: number | null,
>           cyom?: boolean | null,
>           denominationToken?: string | null,
>           deploying?: boolean | null,
>           deployingTimestamp?: string | null,
>           description?: string | null,
>           disqusThread?: string | null,
>           enableOrderBook?: boolean | null,
>           endDate?: string | null,
>           endDateIso?: string | null,
>           eventStartTime?: string | null,
>           events?: (recursive)[] | null | null,
>           facets?: {
>             abbreviation?: string | null,
>             appliesTo?: string[] | null | null,
>             label?: string | null,
>             parents?: string[] | null | null,
>             slug?: string | null
>           }[] | null | null,
>           fallbackResolutionType?: string | null,
>           featured?: boolean | null,
>           fee?: string | null,
>           feeExponent?: number | null,
>           feeRate?: number | null,
>           feeSchedule?: {
>             exponent?: number | null,
>             rate?: number | null,
>             rebateRate?: number | null,
>             takerOnly?: boolean | null
>           } | null,
>           feeType?: string | null | null,
>           feesEnabled?: boolean | null,
>           formatType?: string | null,
>           fpmmLive?: boolean | null,
>           funded?: boolean | null,
>           fundedTimestamp?: string | null,
>           gameId?: string | null,
>           gameStartTime?: string | null,
>           groupItemRange?: string | null,
>           groupItemThreshold?: string | null,
>           groupItemTitle?: string | null,
>           hasReviewedDates?: boolean | null,
>           holdingRewardsEnabled?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           instrumentIndex?: number | null,
>           instrumentKind?: string | null,
>           lastTradePrice?: number | null,
>           line?: number | null,
>           liquidity?: string | null,
>           liquidityAmm?: number | null,
>           liquidityClob?: number | null,
>           liquidityNum?: number | null,
>           lowerBound?: string | null,
>           lowerBoundDate?: string | null,
>           mailchimpTag?: string | null,
>           makerBaseFee?: number | null,
>           makerRebatesFeeShareBps?: number | null,
>           manualActivation?: boolean | null,
>           marketGroup?: number | null,
>           marketMakerAddress?: string | null,
>           marketMetadata?: Record<string, any> | null,
>           marketType?: string | null,
>           markets?: (recursive)[] | null | null,
>           negRisk?: boolean | null,
>           negRiskMarketID?: string | null,
>           negRiskOther?: boolean | null,
>           negRiskRequestID?: string | null,
>           new?: boolean | null,
>           notificationsEnabled?: boolean | null,
>           onchainEventId?: string | null,
>           oneDayPriceChange?: number | null,
>           oneHourPriceChange?: number | null,
>           oneMonthPriceChange?: number | null,
>           oneWeekPriceChange?: number | null,
>           oneYearPriceChange?: number | null,
>           orderMinSize?: number | null,
>           orderPriceMinTickSize?: number | null,
>           outcomePrices?: string | null,
>           outcomes?: string | null,
>           pastSlugs?: string | null,
>           pendingDeployment?: boolean | null,
>           positionIds?: string[] | null | null,
>           question?: string | null,
>           questionID?: string | null,
>           ready?: boolean | null,
>           readyForCron?: boolean | null,
>           readyTimestamp?: string | null,
>           requestId?: string | null,
>           resolutionMechanism?: string | null | null,
>           resolutionSource?: string | null,
>           resolutionStatus?: string | null,
>           resolvedBy?: string | null,
>           restricted?: boolean | null,
>           rewardsMaxSpread?: number | null,
>           rewardsMinSize?: number | null,
>           rfqEnabled?: boolean | null,
>           scheduledDeploymentTimestamp?: string | null,
>           score?: number | null,
>           secondsDelay?: number | null,
>           sentDiscord?: boolean | null,
>           seriesColor?: string | null,
>           shortOutcomes?: string | null,
>           showGmpOutcome?: boolean | null,
>           showGmpSeries?: boolean | null,
>           slug?: string | null,
>           sponsorImage?: string | null,
>           sponsorName?: string | null,
>           sportsMarketType?: string | null,
>           spread?: number | null,
>           startDate?: string | null,
>           startDateIso?: string | null,
>           subcategory?: string | null,
>           submitted_by?: string | null,
>           tags?: {
>             $schema?: string | null,
>             activeEventsCount?: number | null,
>             createdAt?: string | null,
>             createdBy?: number | null,
>             forceHide?: boolean | null,
>             forceShow?: boolean | null,
>             id?: string | null,
>             isCarousel?: boolean | null,
>             label?: string | null,
>             publishedAt?: string | null,
>             slug?: string | null,
>             updatedAt?: string | null,
>             updatedBy?: number | null
>           }[] | null | null,
>           takerBaseFee?: number | null,
>           teamAID?: string | null,
>           teamBID?: string | null,
>           tradingEligible?: boolean | null | null,
>           twitterCardImage?: string | null,
>           twitterCardLastRefreshed?: string | null,
>           twitterCardLastValidated?: string | null,
>           twitterCardLocation?: string | null,
>           umaBond?: string | null,
>           umaEndDate?: string | null,
>           umaEndDateIso?: string | null,
>           umaResolutionStatus?: string | null,
>           umaResolutionStatuses?: string | null,
>           umaReward?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null,
>           upperBound?: string | null,
>           upperBoundDate?: string | null,
>           version?: string | null,
>           volume?: string | null,
>           volume1mo?: number | null,
>           volume1moAmm?: number | null,
>           volume1moClob?: number | null,
>           volume1wk?: number | null,
>           volume1wkAmm?: number | null,
>           volume1wkClob?: number | null,
>           volume1yr?: number | null,
>           volume1yrAmm?: number | null,
>           volume1yrClob?: number | null,
>           volume24hr?: number | null,
>           volume24hrAmm?: number | null,
>           volume24hrClob?: number | null,
>           volumeAmm?: number | null,
>           volumeClob?: number | null,
>           volumeNum?: number | null,
>           wideFormat?: boolean | null,
>           xAxisValue?: string | null,
>           yAxisValue?: string | null
>         }[] | null | null,
>         maxMarketCount?: number | null,
>         moduleType?: string | null,
>         negRisk?: boolean | null,
>         negRiskAugmented?: boolean | null,
>         negRiskFeeBips?: number | null,
>         negRiskMarketID?: string | null,
>         new?: boolean | null,
>         openInterest?: number | null,
>         parentEventId?: number | null,
>         pendingDeployment?: boolean | null,
>         period?: string | null,
>         published_at?: string | null,
>         rescheduledFromGameId?: number | null,
>         resolutionMode?: string | null,
>         resolutionSource?: string | null,
>         restricted?: boolean | null,
>         scheduledDeploymentTimestamp?: string | null,
>         score?: string | null,
>         series?: {
>           $schema?: string | null,
>           active?: boolean | null,
>           archived?: boolean | null,
>           cgAssetName?: string | null,
>           closed?: boolean | null,
>           commentCount?: number | null,
>           commentsEnabled?: boolean | null,
>           competitive?: string | null,
>           createdAt?: string | null,
>           createdBy?: string | null,
>           description?: string | null,
>           events?: (recursive)[] | null | null,
>           featured?: boolean | null,
>           icon?: string | null,
>           id?: string | null,
>           image?: string | null,
>           isTemplate?: boolean | null,
>           layout?: string | null,
>           liquidity?: number | null,
>           new?: boolean | null,
>           publishedAt?: string | null,
>           pythTokenID?: string | null,
>           recurrence?: string | null,
>           restricted?: boolean | null,
>           score?: number | null,
>           seriesType?: string | null,
>           slug?: string | null,
>           startDate?: string | null,
>           subtitle?: string | null,
>           templateVariables?: boolean | null,
>           ticker?: string | null,
>           title?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: string | null,
>           volume?: number | null,
>           volume24hr?: number | null
>         }[] | null | null,
>         seriesSlug?: string | null,
>         showAllOutcomes?: boolean | null,
>         showMarketImages?: boolean | null,
>         slug?: string | null,
>         sortBy?: string | null,
>         sport?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             sportId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           image?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           primaryTagId?: number | null,
>           resolution?: string | null,
>           series?: string | null,
>           sport?: string | null,
>           tags?: string | null,
>           updatedAt?: string | null
>         } | null,
>         spreadsMainLine?: number | null,
>         startDate?: string | null,
>         startTime?: string | null,
>         subEvents?: (string | null)[] | null | null,
>         subcategory?: string | null,
>         subtitle?: string | null,
>         tag_labels?: string[] | null | null,
>         tag_slugs?: string[] | null | null,
>         tags?: {
>           $schema?: string | null,
>           activeEventsCount?: number | null,
>           createdAt?: string | null,
>           createdBy?: number | null,
>           forceHide?: boolean | null,
>           forceShow?: boolean | null,
>           id?: string | null,
>           isCarousel?: boolean | null,
>           label?: string | null,
>           publishedAt?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null,
>           updatedBy?: number | null
>         }[] | null | null,
>         teams?: {
>           $schema?: string | null,
>           abbreviation?: string | null,
>           alias?: string | null,
>           color?: string | null,
>           createdAt?: string | null,
>           externalPartners?: {
>             $schema?: string | null,
>             createdAt?: string | null,
>             externalId?: string | null,
>             id?: number | null,
>             partner?: {
>               $schema?: string | null,
>               createdAt?: string | null,
>               id?: number | null,
>               name?: string | null,
>               slug?: string | null,
>               updatedAt?: string | null
>             } | null,
>             partnerId?: number | null,
>             source?: string | null,
>             teamId?: number | null,
>             updatedAt?: string | null
>           }[] | null | null,
>           id?: number | null,
>           league?: string | null,
>           logo?: string | null,
>           name?: string | null,
>           ordering?: string | null,
>           providerId?: number | null,
>           record?: string | null,
>           updatedAt?: string | null
>         }[] | null | null,
>         templateVariables?: string | null,
>         ticker?: string | null,
>         title?: string | null,
>         totalsMainLine?: number | null,
>         turnProviderId?: string | null,
>         tweetCount?: number | null,
>         updatedAt?: string | null,
>         updatedBy?: string | null,
>         usId?: string | null,
>         version?: string | null,
>         volume?: number | null,
>         volume1mo?: number | null,
>         volume1wk?: number | null,
>         volume1yr?: number | null,
>         volume24hr?: number | null
>       }[] | null | null,
>       featured?: boolean | null,
>       icon?: string | null,
>       id?: string | null,
>       image?: string | null,
>       isTemplate?: boolean | null,
>       layout?: string | null,
>       liquidity?: number | null,
>       new?: boolean | null,
>       publishedAt?: string | null,
>       pythTokenID?: string | null,
>       recurrence?: string | null,
>       restricted?: boolean | null,
>       score?: number | null,
>       seriesType?: string | null,
>       slug?: string | null,
>       startDate?: string | null,
>       subtitle?: string | null,
>       templateVariables?: boolean | null,
>       ticker?: string | null,
>       title?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: string | null,
>       volume?: number | null,
>       volume24hr?: number | null
>     }[] | null | null,
>     seriesSlug?: string | null,
>     showAllOutcomes?: boolean | null,
>     showMarketImages?: boolean | null,
>     slug?: string | null,
>     sortBy?: string | null,
>     sport?: {
>       $schema?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         sportId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       image?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       primaryTagId?: number | null,
>       resolution?: string | null,
>       series?: string | null,
>       sport?: string | null,
>       tags?: string | null,
>       updatedAt?: string | null
>     } | null,
>     spreadsMainLine?: number | null,
>     startDate?: string | null,
>     startTime?: string | null,
>     subEvents?: (string | null)[] | null | null,
>     subcategory?: string | null,
>     subtitle?: string | null,
>     tag_labels?: string[] | null | null,
>     tag_slugs?: string[] | null | null,
>     tags?: {
>       $schema?: string | null,
>       activeEventsCount?: number | null,
>       createdAt?: string | null,
>       createdBy?: number | null,
>       forceHide?: boolean | null,
>       forceShow?: boolean | null,
>       id?: string | null,
>       isCarousel?: boolean | null,
>       label?: string | null,
>       publishedAt?: string | null,
>       slug?: string | null,
>       updatedAt?: string | null,
>       updatedBy?: number | null
>     }[] | null | null,
>     teams?: {
>       $schema?: string | null,
>       abbreviation?: string | null,
>       alias?: string | null,
>       color?: string | null,
>       createdAt?: string | null,
>       externalPartners?: {
>         $schema?: string | null,
>         createdAt?: string | null,
>         externalId?: string | null,
>         id?: number | null,
>         partner?: {
>           $schema?: string | null,
>           createdAt?: string | null,
>           id?: number | null,
>           name?: string | null,
>           slug?: string | null,
>           updatedAt?: string | null
>         } | null,
>         partnerId?: number | null,
>         source?: string | null,
>         teamId?: number | null,
>         updatedAt?: string | null
>       }[] | null | null,
>       id?: number | null,
>       league?: string | null,
>       logo?: string | null,
>       name?: string | null,
>       ordering?: string | null,
>       providerId?: number | null,
>       record?: string | null,
>       updatedAt?: string | null
>     }[] | null | null,
>     templateVariables?: string | null,
>     ticker?: string | null,
>     title?: string | null,
>     totalsMainLine?: number | null,
>     turnProviderId?: string | null,
>     tweetCount?: number | null,
>     updatedAt?: string | null,
>     updatedBy?: string | null,
>     usId?: string | null,
>     version?: string | null,
>     volume?: number | null,
>     volume1mo?: number | null,
>     volume1wk?: number | null,
>     volume1yr?: number | null,
>     volume24hr?: number | null
>   }[] | null | null,
>   facets?: {
>     abbreviation?: string | null,
>     appliesTo?: string[] | null | null,
>     label?: string | null,
>     parents?: string[] | null | null,
>     slug?: string | null
>   }[] | null | null,
>   fallbackResolutionType?: string | null,
>   featured?: boolean | null,
>   fee?: string | null,
>   feeExponent?: number | null,
>   feeRate?: number | null,
>   feeSchedule?: {
>     exponent?: number | null,
>     rate?: number | null,
>     rebateRate?: number | null,
>     takerOnly?: boolean | null
>   } | null,
>   feeType?: string | null | null,
>   feesEnabled?: boolean | null,
>   formatType?: string | null,
>   fpmmLive?: boolean | null,
>   funded?: boolean | null,
>   fundedTimestamp?: string | null,
>   gameId?: string | null,
>   gameStartTime?: string | null,
>   groupItemRange?: string | null,
>   groupItemThreshold?: string | null,
>   groupItemTitle?: string | null,
>   hasReviewedDates?: boolean | null,
>   holdingRewardsEnabled?: boolean | null,
>   icon?: string | null,
>   id?: string | null,
>   image?: string | null,
>   instrumentIndex?: number | null,
>   instrumentKind?: string | null,
>   lastTradePrice?: number | null,
>   line?: number | null,
>   liquidity?: string | null,
>   liquidityAmm?: number | null,
>   liquidityClob?: number | null,
>   liquidityNum?: number | null,
>   lowerBound?: string | null,
>   lowerBoundDate?: string | null,
>   mailchimpTag?: string | null,
>   makerBaseFee?: number | null,
>   makerRebatesFeeShareBps?: number | null,
>   manualActivation?: boolean | null,
>   marketGroup?: number | null,
>   marketMakerAddress?: string | null,
>   marketMetadata?: Record<string, any> | null,
>   marketType?: string | null,
>   markets?: (recursive)[] | null | null,
>   negRisk?: boolean | null,
>   negRiskMarketID?: string | null,
>   negRiskOther?: boolean | null,
>   negRiskRequestID?: string | null,
>   new?: boolean | null,
>   notificationsEnabled?: boolean | null,
>   onchainEventId?: string | null,
>   oneDayPriceChange?: number | null,
>   oneHourPriceChange?: number | null,
>   oneMonthPriceChange?: number | null,
>   oneWeekPriceChange?: number | null,
>   oneYearPriceChange?: number | null,
>   orderMinSize?: number | null,
>   orderPriceMinTickSize?: number | null,
>   outcomePrices?: string | null,
>   outcomes?: string | null,
>   pastSlugs?: string | null,
>   pendingDeployment?: boolean | null,
>   positionIds?: string[] | null | null,
>   question?: string | null,
>   questionID?: string | null,
>   ready?: boolean | null,
>   readyForCron?: boolean | null,
>   readyTimestamp?: string | null,
>   requestId?: string | null,
>   resolutionMechanism?: string | null | null,
>   resolutionSource?: string | null,
>   resolutionStatus?: string | null,
>   resolvedBy?: string | null,
>   restricted?: boolean | null,
>   rewardsMaxSpread?: number | null,
>   rewardsMinSize?: number | null,
>   rfqEnabled?: boolean | null,
>   scheduledDeploymentTimestamp?: string | null,
>   score?: number | null,
>   secondsDelay?: number | null,
>   sentDiscord?: boolean | null,
>   seriesColor?: string | null,
>   shortOutcomes?: string | null,
>   showGmpOutcome?: boolean | null,
>   showGmpSeries?: boolean | null,
>   slug?: string | null,
>   sponsorImage?: string | null,
>   sponsorName?: string | null,
>   sportsMarketType?: string | null,
>   spread?: number | null,
>   startDate?: string | null,
>   startDateIso?: string | null,
>   subcategory?: string | null,
>   submitted_by?: string | null,
>   tags?: {
>     $schema?: string | null,
>     activeEventsCount?: number | null,
>     createdAt?: string | null,
>     createdBy?: number | null,
>     forceHide?: boolean | null,
>     forceShow?: boolean | null,
>     id?: string | null,
>     isCarousel?: boolean | null,
>     label?: string | null,
>     publishedAt?: string | null,
>     slug?: string | null,
>     updatedAt?: string | null,
>     updatedBy?: number | null
>   }[] | null | null,
>   takerBaseFee?: number | null,
>   teamAID?: string | null,
>   teamBID?: string | null,
>   tradingEligible?: boolean | null | null,
>   twitterCardImage?: string | null,
>   twitterCardLastRefreshed?: string | null,
>   twitterCardLastValidated?: string | null,
>   twitterCardLocation?: string | null,
>   umaBond?: string | null,
>   umaEndDate?: string | null,
>   umaEndDateIso?: string | null,
>   umaResolutionStatus?: string | null,
>   umaResolutionStatuses?: string | null,
>   umaReward?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null,
>   upperBound?: string | null,
>   upperBoundDate?: string | null,
>   version?: string | null,
>   volume?: string | null,
>   volume1mo?: number | null,
>   volume1moAmm?: number | null,
>   volume1moClob?: number | null,
>   volume1wk?: number | null,
>   volume1wkAmm?: number | null,
>   volume1wkClob?: number | null,
>   volume1yr?: number | null,
>   volume1yrAmm?: number | null,
>   volume1yrClob?: number | null,
>   volume24hr?: number | null,
>   volume24hrAmm?: number | null,
>   volume24hrClob?: number | null,
>   volumeAmm?: number | null,
>   volumeClob?: number | null,
>   volumeNum?: number | null,
>   wideFormat?: boolean | null,
>   xAxisValue?: string | null,
>   yAxisValue?: string | null
> }[] | null | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   activeEventsCount?: number | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   forceHide?: boolean | null,
>   forceShow?: boolean | null,
>   id?: string | null,
>   isCarousel?: boolean | null,
>   label?: string | null,
>   publishedAt?: string | null,
>   slug?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null
> }[] | null | null
> ```

***

### markets.information

`gamma.markets.information`

Get markets information

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.markets.information({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `include_facets` | `string` | No | Include the facets assigned to each market (true/false). Facets are the assigned ones plus their ancestors. |
| `clobTokenIds` | `string[] \| null` | No | — |
| `closed` | `boolean \| null` | No | — |
| `comboStatus` | `string \| null` | No | — |
| `conditionIds` | `string[] \| null` | No | — |
| `cyom` | `boolean \| null` | No | — |
| `endDateMax` | `string \| null` | No | — |
| `endDateMin` | `string \| null` | No | — |
| `facets` | `string \| null` | No | AIP-160 expression over facet slugs, as the facets query parameter on GET /markets |
| `gameId` | `string \| null` | No | — |
| `id` | `number[] \| null` | No | — |
| `includeTags` | `boolean \| null` | No | — |
| `liquidityNumMax` | `number \| null` | No | — |
| `liquidityNumMin` | `number \| null` | No | — |
| `marketMakerAddress` | `string[] \| null` | No | — |
| `onchainEventIds` | `string[] \| null` | No | — |
| `positionIds` | `string[] \| null` | No | — |
| `questionIds` | `string[] \| null` | No | — |
| `relatedTags` | `boolean \| null` | No | — |
| `requestIds` | `string[] \| null` | No | — |
| `rewardsMinSize` | `number` | No | — |
| `rfqEnabled` | `boolean \| null` | No | — |
| `slug` | `string[] \| null` | No | — |
| `sportsMarketTypes` | `string[] \| null` | No | — |
| `startDateMax` | `string \| null` | No | — |
| `startDateMin` | `string \| null` | No | — |
| `tagId` | `number[] \| null` | No | — |
| `umaResolutionStatus` | `string \| null` | No | — |
| `version` | `string[] \| null` | No | — |
| `volumeNumMax` | `number \| null` | No | — |
| `volumeNumMin` | `number \| null` | No | — |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  acceptingOrders?: boolean | null,
  acceptingOrdersTimestamp?: string | null,
  acceptingOrdersUntil?: string | null,
  active?: boolean | null,
  ammType?: string | null,
  approved?: boolean | null,
  archived?: boolean | null,
  automaticallyActive?: boolean | null,
  automaticallyResolved?: boolean | null,
  bestAsk?: number | null,
  bestBid?: number | null,
  category?: string | null,
  categoryMailchimpTag?: string | null,
  chartColor?: string | null,
  clearBookOnStart?: boolean | null,
  clobRewards?: {
    assetAddress?: string | null,
    conditionId?: string | null,
    endDate?: string | null,
    id?: string | null,
    rewardsAmount?: number | null,
    rewardsDailyRate?: number | null,
    startDate?: string | null
  }[] | null | null,
  clobTokenIds?: string | null,
  closed?: boolean | null,
  closedTime?: string | null,
  comboStatus?: string | null,
  commentsEnabled?: boolean | null,
  competitive?: number | null,
  conditionId?: string | null,
  createdAt?: string | null,
  createdBy?: number | null,
  creator?: string | null,
  cryptoMarketConfig?: {
    $schema?: string | null,
    asset?: string | null,
    duration?: string | null,
    id?: string | null,
    twapEnabled?: boolean | null,
    twapLookbackSeconds?: number | null
  } | null,
  cryptoMarketConfigId?: string | null,
  curationOrder?: number | null,
  customLiveness?: number | null,
  cyom?: boolean | null,
  denominationToken?: string | null,
  deploying?: boolean | null,
  deployingTimestamp?: string | null,
  description?: string | null,
  disqusThread?: string | null,
  enableOrderBook?: boolean | null,
  endDate?: string | null,
  endDateIso?: string | null,
  eventStartTime?: string | null,
  events?: {
    $schema?: string | null,
    active?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestLines?: {
      id?: string | null,
      line?: number | null,
      lineType?: string | null
    }[] | null | null,
    cantEstimate?: boolean | null,
    carouselMap?: string | null,
    category?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    color?: string | null,
    commentCount?: number | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    countryName?: string | null,
    createdAt?: string | null,
    createdBy?: string | null,
    creationDate?: string | null,
    cumulativeMarkets?: boolean | null,
    cyom?: boolean | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    elapsed?: string | null,
    electionType?: string | null,
    enableNegRisk?: boolean | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    ended?: boolean | null,
    estimateValue?: boolean | null,
    estimatedValue?: string | null,
    eventCreators?: {
      $schema?: string | null,
      createdAt?: string | null,
      creatorHandle?: string | null,
      creatorImage?: string | null,
      creatorName?: string | null,
      creatorUrl?: string | null,
      id?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    eventDate?: string | null,
    eventMetadata?: Record<string, any> | null,
    eventWeek?: number | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      eventId?: number | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    featured?: boolean | null,
    featuredImage?: string | null,
    featuredOrder?: number | null,
    finishedTimestamp?: string | null,
    gameId?: number | null,
    gmpChartMode?: string | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    isTemplate?: boolean | null,
    lastHighlight?: string | null,
    lastHighlightAt?: string | null,
    lastHighlightType?: string | null,
    liquidity?: number | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    live?: boolean | null,
    markets?: {
      $schema?: string | null,
      acceptingOrders?: boolean | null,
      acceptingOrdersTimestamp?: string | null,
      acceptingOrdersUntil?: string | null,
      active?: boolean | null,
      ammType?: string | null,
      approved?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestAsk?: number | null,
      bestBid?: number | null,
      category?: string | null,
      categoryMailchimpTag?: string | null,
      chartColor?: string | null,
      clearBookOnStart?: boolean | null,
      clobRewards?: {
        assetAddress?: string | null,
        conditionId?: string | null,
        endDate?: string | null,
        id?: string | null,
        rewardsAmount?: number | null,
        rewardsDailyRate?: number | null,
        startDate?: string | null
      }[] | null | null,
      clobTokenIds?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      comboStatus?: string | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      conditionId?: string | null,
      createdAt?: string | null,
      createdBy?: number | null,
      creator?: string | null,
      cryptoMarketConfig?: {
        $schema?: string | null,
        asset?: string | null,
        duration?: string | null,
        id?: string | null,
        twapEnabled?: boolean | null,
        twapLookbackSeconds?: number | null
      } | null,
      cryptoMarketConfigId?: string | null,
      curationOrder?: number | null,
      customLiveness?: number | null,
      cyom?: boolean | null,
      denominationToken?: string | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      endDateIso?: string | null,
      eventStartTime?: string | null,
      events?: (recursive)[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      fallbackResolutionType?: string | null,
      featured?: boolean | null,
      fee?: string | null,
      feeExponent?: number | null,
      feeRate?: number | null,
      feeSchedule?: {
        exponent?: number | null,
        rate?: number | null,
        rebateRate?: number | null,
        takerOnly?: boolean | null
      } | null,
      feeType?: string | null | null,
      feesEnabled?: boolean | null,
      formatType?: string | null,
      fpmmLive?: boolean | null,
      funded?: boolean | null,
      fundedTimestamp?: string | null,
      gameId?: string | null,
      gameStartTime?: string | null,
      groupItemRange?: string | null,
      groupItemThreshold?: string | null,
      groupItemTitle?: string | null,
      hasReviewedDates?: boolean | null,
      holdingRewardsEnabled?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      instrumentIndex?: number | null,
      instrumentKind?: string | null,
      lastTradePrice?: number | null,
      line?: number | null,
      liquidity?: string | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      liquidityNum?: number | null,
      lowerBound?: string | null,
      lowerBoundDate?: string | null,
      mailchimpTag?: string | null,
      makerBaseFee?: number | null,
      makerRebatesFeeShareBps?: number | null,
      manualActivation?: boolean | null,
      marketGroup?: number | null,
      marketMakerAddress?: string | null,
      marketMetadata?: Record<string, any> | null,
      marketType?: string | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      negRisk?: boolean | null,
      negRiskMarketID?: string | null,
      negRiskOther?: boolean | null,
      negRiskRequestID?: string | null,
      new?: boolean | null,
      notificationsEnabled?: boolean | null,
      onchainEventId?: string | null,
      oneDayPriceChange?: number | null,
      oneHourPriceChange?: number | null,
      oneMonthPriceChange?: number | null,
      oneWeekPriceChange?: number | null,
      oneYearPriceChange?: number | null,
      orderMinSize?: number | null,
      orderPriceMinTickSize?: number | null,
      outcomePrices?: string | null,
      outcomes?: string | null,
      pastSlugs?: string | null,
      pendingDeployment?: boolean | null,
      positionIds?: string[] | null | null,
      question?: string | null,
      questionID?: string | null,
      ready?: boolean | null,
      readyForCron?: boolean | null,
      readyTimestamp?: string | null,
      requestId?: string | null,
      resolutionMechanism?: string | null | null,
      resolutionSource?: string | null,
      resolutionStatus?: string | null,
      resolvedBy?: string | null,
      restricted?: boolean | null,
      rewardsMaxSpread?: number | null,
      rewardsMinSize?: number | null,
      rfqEnabled?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: number | null,
      secondsDelay?: number | null,
      sentDiscord?: boolean | null,
      seriesColor?: string | null,
      shortOutcomes?: string | null,
      showGmpOutcome?: boolean | null,
      showGmpSeries?: boolean | null,
      slug?: string | null,
      sponsorImage?: string | null,
      sponsorName?: string | null,
      sportsMarketType?: string | null,
      spread?: number | null,
      startDate?: string | null,
      startDateIso?: string | null,
      subcategory?: string | null,
      submitted_by?: string | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      takerBaseFee?: number | null,
      teamAID?: string | null,
      teamBID?: string | null,
      tradingEligible?: boolean | null | null,
      twitterCardImage?: string | null,
      twitterCardLastRefreshed?: string | null,
      twitterCardLastValidated?: string | null,
      twitterCardLocation?: string | null,
      umaBond?: string | null,
      umaEndDate?: string | null,
      umaEndDateIso?: string | null,
      umaResolutionStatus?: string | null,
      umaResolutionStatuses?: string | null,
      umaReward?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null,
      upperBound?: string | null,
      upperBoundDate?: string | null,
      version?: string | null,
      volume?: string | null,
      volume1mo?: number | null,
      volume1moAmm?: number | null,
      volume1moClob?: number | null,
      volume1wk?: number | null,
      volume1wkAmm?: number | null,
      volume1wkClob?: number | null,
      volume1yr?: number | null,
      volume1yrAmm?: number | null,
      volume1yrClob?: number | null,
      volume24hr?: number | null,
      volume24hrAmm?: number | null,
      volume24hrClob?: number | null,
      volumeAmm?: number | null,
      volumeClob?: number | null,
      volumeNum?: number | null,
      wideFormat?: boolean | null,
      xAxisValue?: string | null,
      yAxisValue?: string | null
    }[] | null | null,
    maxMarketCount?: number | null,
    moduleType?: string | null,
    negRisk?: boolean | null,
    negRiskAugmented?: boolean | null,
    negRiskFeeBips?: number | null,
    negRiskMarketID?: string | null,
    new?: boolean | null,
    openInterest?: number | null,
    parentEventId?: number | null,
    pendingDeployment?: boolean | null,
    period?: string | null,
    published_at?: string | null,
    rescheduledFromGameId?: number | null,
    resolutionMode?: string | null,
    resolutionSource?: string | null,
    restricted?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: string | null,
    series?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      cgAssetName?: string | null,
      closed?: boolean | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      description?: string | null,
      events?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestLines?: {
          id?: string | null,
          line?: number | null,
          lineType?: string | null
        }[] | null | null,
        cantEstimate?: boolean | null,
        carouselMap?: string | null,
        category?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        color?: string | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        countryName?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        creationDate?: string | null,
        cumulativeMarkets?: boolean | null,
        cyom?: boolean | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        elapsed?: string | null,
        electionType?: string | null,
        enableNegRisk?: boolean | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        ended?: boolean | null,
        estimateValue?: boolean | null,
        estimatedValue?: string | null,
        eventCreators?: {
          $schema?: string | null,
          createdAt?: string | null,
          creatorHandle?: string | null,
          creatorImage?: string | null,
          creatorName?: string | null,
          creatorUrl?: string | null,
          id?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        eventDate?: string | null,
        eventMetadata?: Record<string, any> | null,
        eventWeek?: number | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          eventId?: number | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        featured?: boolean | null,
        featuredImage?: string | null,
        featuredOrder?: number | null,
        finishedTimestamp?: string | null,
        gameId?: number | null,
        gmpChartMode?: string | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        lastHighlight?: string | null,
        lastHighlightAt?: string | null,
        lastHighlightType?: string | null,
        liquidity?: number | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        live?: boolean | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: (recursive)[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        maxMarketCount?: number | null,
        moduleType?: string | null,
        negRisk?: boolean | null,
        negRiskAugmented?: boolean | null,
        negRiskFeeBips?: number | null,
        negRiskMarketID?: string | null,
        new?: boolean | null,
        openInterest?: number | null,
        parentEventId?: number | null,
        pendingDeployment?: boolean | null,
        period?: string | null,
        published_at?: string | null,
        rescheduledFromGameId?: number | null,
        resolutionMode?: string | null,
        resolutionSource?: string | null,
        restricted?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: string | null,
        series?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          cgAssetName?: string | null,
          closed?: boolean | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          description?: string | null,
          events?: (recursive)[] | null | null,
          featured?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          layout?: string | null,
          liquidity?: number | null,
          new?: boolean | null,
          publishedAt?: string | null,
          pythTokenID?: string | null,
          recurrence?: string | null,
          restricted?: boolean | null,
          score?: number | null,
          seriesType?: string | null,
          slug?: string | null,
          startDate?: string | null,
          subtitle?: string | null,
          templateVariables?: boolean | null,
          ticker?: string | null,
          title?: string | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          volume?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        seriesSlug?: string | null,
        showAllOutcomes?: boolean | null,
        showMarketImages?: boolean | null,
        slug?: string | null,
        sortBy?: string | null,
        sport?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            sportId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          image?: string | null,
          name?: string | null,
          ordering?: string | null,
          primaryTagId?: number | null,
          resolution?: string | null,
          series?: string | null,
          sport?: string | null,
          tags?: string | null,
          updatedAt?: string | null
        } | null,
        spreadsMainLine?: number | null,
        startDate?: string | null,
        startTime?: string | null,
        subEvents?: (string | null)[] | null | null,
        subcategory?: string | null,
        subtitle?: string | null,
        tag_labels?: string[] | null | null,
        tag_slugs?: string[] | null | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        teams?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        templateVariables?: string | null,
        ticker?: string | null,
        title?: string | null,
        totalsMainLine?: number | null,
        turnProviderId?: string | null,
        tweetCount?: number | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        usId?: string | null,
        version?: string | null,
        volume?: number | null,
        volume1mo?: number | null,
        volume1wk?: number | null,
        volume1yr?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      featured?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      layout?: string | null,
      liquidity?: number | null,
      new?: boolean | null,
      publishedAt?: string | null,
      pythTokenID?: string | null,
      recurrence?: string | null,
      restricted?: boolean | null,
      score?: number | null,
      seriesType?: string | null,
      slug?: string | null,
      startDate?: string | null,
      subtitle?: string | null,
      templateVariables?: boolean | null,
      ticker?: string | null,
      title?: string | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      volume?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    seriesSlug?: string | null,
    showAllOutcomes?: boolean | null,
    showMarketImages?: boolean | null,
    slug?: string | null,
    sortBy?: string | null,
    sport?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        sportId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      image?: string | null,
      name?: string | null,
      ordering?: string | null,
      primaryTagId?: number | null,
      resolution?: string | null,
      series?: string | null,
      sport?: string | null,
      tags?: string | null,
      updatedAt?: string | null
    } | null,
    spreadsMainLine?: number | null,
    startDate?: string | null,
    startTime?: string | null,
    subEvents?: (string | null)[] | null | null,
    subcategory?: string | null,
    subtitle?: string | null,
    tag_labels?: string[] | null | null,
    tag_slugs?: string[] | null | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    teams?: {
      $schema?: string | null,
      abbreviation?: string | null,
      alias?: string | null,
      color?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        source?: string | null,
        teamId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      league?: string | null,
      logo?: string | null,
      name?: string | null,
      ordering?: string | null,
      providerId?: number | null,
      record?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    templateVariables?: string | null,
    ticker?: string | null,
    title?: string | null,
    totalsMainLine?: number | null,
    turnProviderId?: string | null,
    tweetCount?: number | null,
    updatedAt?: string | null,
    updatedBy?: string | null,
    usId?: string | null,
    version?: string | null,
    volume?: number | null,
    volume1mo?: number | null,
    volume1wk?: number | null,
    volume1yr?: number | null,
    volume24hr?: number | null
  }[] | null | null,
  facets?: {
    abbreviation?: string | null,
    appliesTo?: string[] | null | null,
    label?: string | null,
    parents?: string[] | null | null,
    slug?: string | null
  }[] | null | null,
  fallbackResolutionType?: string | null,
  featured?: boolean | null,
  fee?: string | null,
  feeExponent?: number | null,
  feeRate?: number | null,
  feeSchedule?: {
    exponent?: number | null,
    rate?: number | null,
    rebateRate?: number | null,
    takerOnly?: boolean | null
  } | null,
  feeType?: string | null | null,
  feesEnabled?: boolean | null,
  formatType?: string | null,
  fpmmLive?: boolean | null,
  funded?: boolean | null,
  fundedTimestamp?: string | null,
  gameId?: string | null,
  gameStartTime?: string | null,
  groupItemRange?: string | null,
  groupItemThreshold?: string | null,
  groupItemTitle?: string | null,
  hasReviewedDates?: boolean | null,
  holdingRewardsEnabled?: boolean | null,
  icon?: string | null,
  id?: string | null,
  image?: string | null,
  instrumentIndex?: number | null,
  instrumentKind?: string | null,
  lastTradePrice?: number | null,
  line?: number | null,
  liquidity?: string | null,
  liquidityAmm?: number | null,
  liquidityClob?: number | null,
  liquidityNum?: number | null,
  lowerBound?: string | null,
  lowerBoundDate?: string | null,
  mailchimpTag?: string | null,
  makerBaseFee?: number | null,
  makerRebatesFeeShareBps?: number | null,
  manualActivation?: boolean | null,
  marketGroup?: number | null,
  marketMakerAddress?: string | null,
  marketMetadata?: Record<string, any> | null,
  marketType?: string | null,
  markets?: {
    $schema?: string | null,
    acceptingOrders?: boolean | null,
    acceptingOrdersTimestamp?: string | null,
    acceptingOrdersUntil?: string | null,
    active?: boolean | null,
    ammType?: string | null,
    approved?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestAsk?: number | null,
    bestBid?: number | null,
    category?: string | null,
    categoryMailchimpTag?: string | null,
    chartColor?: string | null,
    clearBookOnStart?: boolean | null,
    clobRewards?: {
      assetAddress?: string | null,
      conditionId?: string | null,
      endDate?: string | null,
      id?: string | null,
      rewardsAmount?: number | null,
      rewardsDailyRate?: number | null,
      startDate?: string | null
    }[] | null | null,
    clobTokenIds?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    comboStatus?: string | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    conditionId?: string | null,
    createdAt?: string | null,
    createdBy?: number | null,
    creator?: string | null,
    cryptoMarketConfig?: {
      $schema?: string | null,
      asset?: string | null,
      duration?: string | null,
      id?: string | null,
      twapEnabled?: boolean | null,
      twapLookbackSeconds?: number | null
    } | null,
    cryptoMarketConfigId?: string | null,
    curationOrder?: number | null,
    customLiveness?: number | null,
    cyom?: boolean | null,
    denominationToken?: string | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    endDateIso?: string | null,
    eventStartTime?: string | null,
    events?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestLines?: {
        id?: string | null,
        line?: number | null,
        lineType?: string | null
      }[] | null | null,
      cantEstimate?: boolean | null,
      carouselMap?: string | null,
      category?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      color?: string | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      countryName?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      creationDate?: string | null,
      cumulativeMarkets?: boolean | null,
      cyom?: boolean | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      elapsed?: string | null,
      electionType?: string | null,
      enableNegRisk?: boolean | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      ended?: boolean | null,
      estimateValue?: boolean | null,
      estimatedValue?: string | null,
      eventCreators?: {
        $schema?: string | null,
        createdAt?: string | null,
        creatorHandle?: string | null,
        creatorImage?: string | null,
        creatorName?: string | null,
        creatorUrl?: string | null,
        id?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      eventDate?: string | null,
      eventMetadata?: Record<string, any> | null,
      eventWeek?: number | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        eventId?: number | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      featured?: boolean | null,
      featuredImage?: string | null,
      featuredOrder?: number | null,
      finishedTimestamp?: string | null,
      gameId?: number | null,
      gmpChartMode?: string | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      lastHighlight?: string | null,
      lastHighlightAt?: string | null,
      lastHighlightType?: string | null,
      liquidity?: number | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      live?: boolean | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      maxMarketCount?: number | null,
      moduleType?: string | null,
      negRisk?: boolean | null,
      negRiskAugmented?: boolean | null,
      negRiskFeeBips?: number | null,
      negRiskMarketID?: string | null,
      new?: boolean | null,
      openInterest?: number | null,
      parentEventId?: number | null,
      pendingDeployment?: boolean | null,
      period?: string | null,
      published_at?: string | null,
      rescheduledFromGameId?: number | null,
      resolutionMode?: string | null,
      resolutionSource?: string | null,
      restricted?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: string | null,
      series?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        cgAssetName?: string | null,
        closed?: boolean | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        description?: string | null,
        events?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestLines?: {
            id?: string | null,
            line?: number | null,
            lineType?: string | null
          }[] | null | null,
          cantEstimate?: boolean | null,
          carouselMap?: string | null,
          category?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          color?: string | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          countryName?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          creationDate?: string | null,
          cumulativeMarkets?: boolean | null,
          cyom?: boolean | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          elapsed?: string | null,
          electionType?: string | null,
          enableNegRisk?: boolean | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          ended?: boolean | null,
          estimateValue?: boolean | null,
          estimatedValue?: string | null,
          eventCreators?: {
            $schema?: string | null,
            createdAt?: string | null,
            creatorHandle?: string | null,
            creatorImage?: string | null,
            creatorName?: string | null,
            creatorUrl?: string | null,
            id?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          eventDate?: string | null,
          eventMetadata?: Record<string, any> | null,
          eventWeek?: number | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            eventId?: number | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          featured?: boolean | null,
          featuredImage?: string | null,
          featuredOrder?: number | null,
          finishedTimestamp?: string | null,
          gameId?: number | null,
          gmpChartMode?: string | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          lastHighlight?: string | null,
          lastHighlightAt?: string | null,
          lastHighlightType?: string | null,
          liquidity?: number | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          live?: boolean | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          maxMarketCount?: number | null,
          moduleType?: string | null,
          negRisk?: boolean | null,
          negRiskAugmented?: boolean | null,
          negRiskFeeBips?: number | null,
          negRiskMarketID?: string | null,
          new?: boolean | null,
          openInterest?: number | null,
          parentEventId?: number | null,
          pendingDeployment?: boolean | null,
          period?: string | null,
          published_at?: string | null,
          rescheduledFromGameId?: number | null,
          resolutionMode?: string | null,
          resolutionSource?: string | null,
          restricted?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: string | null,
          series?: {
            $schema?: string | null,
            active?: boolean | null,
            archived?: boolean | null,
            cgAssetName?: string | null,
            closed?: boolean | null,
            commentCount?: number | null,
            commentsEnabled?: boolean | null,
            competitive?: string | null,
            createdAt?: string | null,
            createdBy?: string | null,
            description?: string | null,
            events?: (recursive)[] | null | null,
            featured?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            isTemplate?: boolean | null,
            layout?: string | null,
            liquidity?: number | null,
            new?: boolean | null,
            publishedAt?: string | null,
            pythTokenID?: string | null,
            recurrence?: string | null,
            restricted?: boolean | null,
            score?: number | null,
            seriesType?: string | null,
            slug?: string | null,
            startDate?: string | null,
            subtitle?: string | null,
            templateVariables?: boolean | null,
            ticker?: string | null,
            title?: string | null,
            updatedAt?: string | null,
            updatedBy?: string | null,
            volume?: number | null,
            volume24hr?: number | null
          }[] | null | null,
          seriesSlug?: string | null,
          showAllOutcomes?: boolean | null,
          showMarketImages?: boolean | null,
          slug?: string | null,
          sortBy?: string | null,
          sport?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              sportId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            image?: string | null,
            name?: string | null,
            ordering?: string | null,
            primaryTagId?: number | null,
            resolution?: string | null,
            series?: string | null,
            sport?: string | null,
            tags?: string | null,
            updatedAt?: string | null
          } | null,
          spreadsMainLine?: number | null,
          startDate?: string | null,
          startTime?: string | null,
          subEvents?: (string | null)[] | null | null,
          subcategory?: string | null,
          subtitle?: string | null,
          tag_labels?: string[] | null | null,
          tag_slugs?: string[] | null | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          teams?: {
            $schema?: string | null,
            abbreviation?: string | null,
            alias?: string | null,
            color?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              source?: string | null,
              teamId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            league?: string | null,
            logo?: string | null,
            name?: string | null,
            ordering?: string | null,
            providerId?: number | null,
            record?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          templateVariables?: string | null,
          ticker?: string | null,
          title?: string | null,
          totalsMainLine?: number | null,
          turnProviderId?: string | null,
          tweetCount?: number | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          usId?: string | null,
          version?: string | null,
          volume?: number | null,
          volume1mo?: number | null,
          volume1wk?: number | null,
          volume1yr?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        featured?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        layout?: string | null,
        liquidity?: number | null,
        new?: boolean | null,
        publishedAt?: string | null,
        pythTokenID?: string | null,
        recurrence?: string | null,
        restricted?: boolean | null,
        score?: number | null,
        seriesType?: string | null,
        slug?: string | null,
        startDate?: string | null,
        subtitle?: string | null,
        templateVariables?: boolean | null,
        ticker?: string | null,
        title?: string | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        volume?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      seriesSlug?: string | null,
      showAllOutcomes?: boolean | null,
      showMarketImages?: boolean | null,
      slug?: string | null,
      sortBy?: string | null,
      sport?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          sportId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        image?: string | null,
        name?: string | null,
        ordering?: string | null,
        primaryTagId?: number | null,
        resolution?: string | null,
        series?: string | null,
        sport?: string | null,
        tags?: string | null,
        updatedAt?: string | null
      } | null,
      spreadsMainLine?: number | null,
      startDate?: string | null,
      startTime?: string | null,
      subEvents?: (string | null)[] | null | null,
      subcategory?: string | null,
      subtitle?: string | null,
      tag_labels?: string[] | null | null,
      tag_slugs?: string[] | null | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      teams?: {
        $schema?: string | null,
        abbreviation?: string | null,
        alias?: string | null,
        color?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          source?: string | null,
          teamId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        league?: string | null,
        logo?: string | null,
        name?: string | null,
        ordering?: string | null,
        providerId?: number | null,
        record?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      templateVariables?: string | null,
      ticker?: string | null,
      title?: string | null,
      totalsMainLine?: number | null,
      turnProviderId?: string | null,
      tweetCount?: number | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      usId?: string | null,
      version?: string | null,
      volume?: number | null,
      volume1mo?: number | null,
      volume1wk?: number | null,
      volume1yr?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    fallbackResolutionType?: string | null,
    featured?: boolean | null,
    fee?: string | null,
    feeExponent?: number | null,
    feeRate?: number | null,
    feeSchedule?: {
      exponent?: number | null,
      rate?: number | null,
      rebateRate?: number | null,
      takerOnly?: boolean | null
    } | null,
    feeType?: string | null | null,
    feesEnabled?: boolean | null,
    formatType?: string | null,
    fpmmLive?: boolean | null,
    funded?: boolean | null,
    fundedTimestamp?: string | null,
    gameId?: string | null,
    gameStartTime?: string | null,
    groupItemRange?: string | null,
    groupItemThreshold?: string | null,
    groupItemTitle?: string | null,
    hasReviewedDates?: boolean | null,
    holdingRewardsEnabled?: boolean | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    instrumentIndex?: number | null,
    instrumentKind?: string | null,
    lastTradePrice?: number | null,
    line?: number | null,
    liquidity?: string | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    liquidityNum?: number | null,
    lowerBound?: string | null,
    lowerBoundDate?: string | null,
    mailchimpTag?: string | null,
    makerBaseFee?: number | null,
    makerRebatesFeeShareBps?: number | null,
    manualActivation?: boolean | null,
    marketGroup?: number | null,
    marketMakerAddress?: string | null,
    marketMetadata?: Record<string, any> | null,
    marketType?: string | null,
    markets?: (recursive)[] | null | null,
    negRisk?: boolean | null,
    negRiskMarketID?: string | null,
    negRiskOther?: boolean | null,
    negRiskRequestID?: string | null,
    new?: boolean | null,
    notificationsEnabled?: boolean | null,
    onchainEventId?: string | null,
    oneDayPriceChange?: number | null,
    oneHourPriceChange?: number | null,
    oneMonthPriceChange?: number | null,
    oneWeekPriceChange?: number | null,
    oneYearPriceChange?: number | null,
    orderMinSize?: number | null,
    orderPriceMinTickSize?: number | null,
    outcomePrices?: string | null,
    outcomes?: string | null,
    pastSlugs?: string | null,
    pendingDeployment?: boolean | null,
    positionIds?: string[] | null | null,
    question?: string | null,
    questionID?: string | null,
    ready?: boolean | null,
    readyForCron?: boolean | null,
    readyTimestamp?: string | null,
    requestId?: string | null,
    resolutionMechanism?: string | null | null,
    resolutionSource?: string | null,
    resolutionStatus?: string | null,
    resolvedBy?: string | null,
    restricted?: boolean | null,
    rewardsMaxSpread?: number | null,
    rewardsMinSize?: number | null,
    rfqEnabled?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: number | null,
    secondsDelay?: number | null,
    sentDiscord?: boolean | null,
    seriesColor?: string | null,
    shortOutcomes?: string | null,
    showGmpOutcome?: boolean | null,
    showGmpSeries?: boolean | null,
    slug?: string | null,
    sponsorImage?: string | null,
    sponsorName?: string | null,
    sportsMarketType?: string | null,
    spread?: number | null,
    startDate?: string | null,
    startDateIso?: string | null,
    subcategory?: string | null,
    submitted_by?: string | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    takerBaseFee?: number | null,
    teamAID?: string | null,
    teamBID?: string | null,
    tradingEligible?: boolean | null | null,
    twitterCardImage?: string | null,
    twitterCardLastRefreshed?: string | null,
    twitterCardLastValidated?: string | null,
    twitterCardLocation?: string | null,
    umaBond?: string | null,
    umaEndDate?: string | null,
    umaEndDateIso?: string | null,
    umaResolutionStatus?: string | null,
    umaResolutionStatuses?: string | null,
    umaReward?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null,
    upperBound?: string | null,
    upperBoundDate?: string | null,
    version?: string | null,
    volume?: string | null,
    volume1mo?: number | null,
    volume1moAmm?: number | null,
    volume1moClob?: number | null,
    volume1wk?: number | null,
    volume1wkAmm?: number | null,
    volume1wkClob?: number | null,
    volume1yr?: number | null,
    volume1yrAmm?: number | null,
    volume1yrClob?: number | null,
    volume24hr?: number | null,
    volume24hrAmm?: number | null,
    volume24hrClob?: number | null,
    volumeAmm?: number | null,
    volumeClob?: number | null,
    volumeNum?: number | null,
    wideFormat?: boolean | null,
    xAxisValue?: string | null,
    yAxisValue?: string | null
  }[] | null | null,
  negRisk?: boolean | null,
  negRiskMarketID?: string | null,
  negRiskOther?: boolean | null,
  negRiskRequestID?: string | null,
  new?: boolean | null,
  notificationsEnabled?: boolean | null,
  onchainEventId?: string | null,
  oneDayPriceChange?: number | null,
  oneHourPriceChange?: number | null,
  oneMonthPriceChange?: number | null,
  oneWeekPriceChange?: number | null,
  oneYearPriceChange?: number | null,
  orderMinSize?: number | null,
  orderPriceMinTickSize?: number | null,
  outcomePrices?: string | null,
  outcomes?: string | null,
  pastSlugs?: string | null,
  pendingDeployment?: boolean | null,
  positionIds?: string[] | null | null,
  question?: string | null,
  questionID?: string | null,
  ready?: boolean | null,
  readyForCron?: boolean | null,
  readyTimestamp?: string | null,
  requestId?: string | null,
  resolutionMechanism?: string | null | null,
  resolutionSource?: string | null,
  resolutionStatus?: string | null,
  resolvedBy?: string | null,
  restricted?: boolean | null,
  rewardsMaxSpread?: number | null,
  rewardsMinSize?: number | null,
  rfqEnabled?: boolean | null,
  scheduledDeploymentTimestamp?: string | null,
  score?: number | null,
  secondsDelay?: number | null,
  sentDiscord?: boolean | null,
  seriesColor?: string | null,
  shortOutcomes?: string | null,
  showGmpOutcome?: boolean | null,
  showGmpSeries?: boolean | null,
  slug?: string | null,
  sponsorImage?: string | null,
  sponsorName?: string | null,
  sportsMarketType?: string | null,
  spread?: number | null,
  startDate?: string | null,
  startDateIso?: string | null,
  subcategory?: string | null,
  submitted_by?: string | null,
  tags?: {
    $schema?: string | null,
    activeEventsCount?: number | null,
    createdAt?: string | null,
    createdBy?: number | null,
    forceHide?: boolean | null,
    forceShow?: boolean | null,
    id?: string | null,
    isCarousel?: boolean | null,
    label?: string | null,
    publishedAt?: string | null,
    slug?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null
  }[] | null | null,
  takerBaseFee?: number | null,
  teamAID?: string | null,
  teamBID?: string | null,
  tradingEligible?: boolean | null | null,
  twitterCardImage?: string | null,
  twitterCardLastRefreshed?: string | null,
  twitterCardLastValidated?: string | null,
  twitterCardLocation?: string | null,
  umaBond?: string | null,
  umaEndDate?: string | null,
  umaEndDateIso?: string | null,
  umaResolutionStatus?: string | null,
  umaResolutionStatuses?: string | null,
  umaReward?: string | null,
  updatedAt?: string | null,
  updatedBy?: number | null,
  upperBound?: string | null,
  upperBoundDate?: string | null,
  version?: string | null,
  volume?: string | null,
  volume1mo?: number | null,
  volume1moAmm?: number | null,
  volume1moClob?: number | null,
  volume1wk?: number | null,
  volume1wkAmm?: number | null,
  volume1wkClob?: number | null,
  volume1yr?: number | null,
  volume1yrAmm?: number | null,
  volume1yrClob?: number | null,
  volume24hr?: number | null,
  volume24hrAmm?: number | null,
  volume24hrClob?: number | null,
  volumeAmm?: number | null,
  volumeClob?: number | null,
  volumeNum?: number | null,
  wideFormat?: boolean | null,
  xAxisValue?: string | null,
  yAxisValue?: string | null
}[] | null
```

***

### markets.list

`gamma.markets.list`

Get markets

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.markets.list({
	closed: 'false',
	limit: 5,
	order: 'volume24hr',
	ascending: false,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number[] \| null` | No | Market IDs to return |
| `slug` | `string[] \| null` | No | Market slugs to return |
| `archived` | `string` | No | Filter by archived flag (true/false) |
| `active` | `string` | No | Filter by active flag (true/false) |
| `decimalized` | `string` | No | Filter by decimalized flag (true/false) |
| `closed` | `string` | No | Filter by closed flag (true/false/any). Defaults to false on the public lists when omitted. 'any' returns open and closed markets together and requires at least one of id, slug, clob\_token\_ids, position\_ids, condition\_ids, request\_ids, onchain\_event\_ids, or question\_ids |
| `clob_token_ids` | `string[] \| null` | No | CLOB token IDs to return |
| `position_ids` | `string[] \| null` | No | Position IDs to return |
| `condition_ids` | `string[] \| null` | No | Condition IDs to return |
| `request_ids` | `string[] \| null` | No | V2 oracle request IDs to return (conditionId for binary/incremental neg-risk, onchainEventId for atomic neg-risk) |
| `onchain_event_ids` | `string[] \| null` | No | V2 on-chain event IDs to return (all markets of each on-chain event) |
| `market_maker_address` | `string[] \| null` | No | Market maker addresses to return |
| `liquidity_num_min` | `string` | No | Minimum liquidity |
| `liquidity_num_max` | `string` | No | Maximum liquidity |
| `volume_num_min` | `string` | No | Minimum volume |
| `volume_num_max` | `string` | No | Maximum volume |
| `start_date_min` | `string` | No | Minimum start date (RFC3339 or YYYY-MM-DD) |
| `start_date_max` | `string` | No | Maximum start date (RFC3339 or YYYY-MM-DD) |
| `end_date_min` | `string` | No | Minimum end date (RFC3339 or YYYY-MM-DD) |
| `end_date_max` | `string` | No | Maximum end date (RFC3339 or YYYY-MM-DD) |
| `tag_id` | `number[] \| null` | No | Tag IDs to filter by |
| `related_tags` | `string` | No | Include markets from related tags (true/false) |
| `tag_match` | `string` | No | Tag match mode |
| `cyom` | `string` | No | Filter by CYOM flag (true/false) |
| `rfq_enabled` | `string` | No | Filter by RFQ-enabled flag (true/false) |
| `combo_status` | `string` | No | Filter by combo status (pending/enabled/disabled) |
| `uma_resolution_status` | `string` | No | Filter by UMA resolution status |
| `resolution_status` | `inactive \| active \| resolved` | No | Filter by resolution status (inactive/active/resolved). v2 markets only — v1 markets carry no resolution\_status and use uma\_resolution\_status instead |
| `version` | `(v1 \| v2)[] \| null` | No | Protocol versions to return (v1 or v2). Repeat the parameter for several. Omitted means the server default on public lists (v1 while polymarket-v2 is in its builder integration period) |
| `game_id` | `string` | No | Filter by game ID |
| `sports_market_types` | `string[] \| null` | No | Filter by sports market types |
| `rewards_min_size` | `string` | No | Filter by minimum rewards size |
| `question_ids` | `string[] \| null` | No | Question IDs to return |
| `include_tag` | `string` | No | Include tag data (true/false) |
| `include_facets` | `string` | No | Include the facets assigned to each market (true/false). Facets are the assigned ones plus their ancestors. |
| `locale` | `string` | No | Locale used to localize returned content |
| `market_metadata_key` | `string` | No | Filter by market metadata key |
| `market_metadata_value` | `string` | No | Filter by market metadata value |
| `facets` | `string` | No | AIP-160 filter over facet slugs, e.g. politics AND (nba OR wnba) -united-states. AND, OR, NOT or -, a space for AND, and one level of parentheses; NOT binds tightest, then AND, then OR; at most 10 facets. A facet also matches its descendants; a market matches only its own facets, not its event's. Only markets that have facets match. |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `after_cursor` | `string` | No | Opaque keyset pagination cursor from a previous response |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  acceptingOrders?: boolean | null,
  acceptingOrdersTimestamp?: string | null,
  acceptingOrdersUntil?: string | null,
  active?: boolean | null,
  ammType?: string | null,
  approved?: boolean | null,
  archived?: boolean | null,
  automaticallyActive?: boolean | null,
  automaticallyResolved?: boolean | null,
  bestAsk?: number | null,
  bestBid?: number | null,
  category?: string | null,
  categoryMailchimpTag?: string | null,
  chartColor?: string | null,
  clearBookOnStart?: boolean | null,
  clobRewards?: {
    assetAddress?: string | null,
    conditionId?: string | null,
    endDate?: string | null,
    id?: string | null,
    rewardsAmount?: number | null,
    rewardsDailyRate?: number | null,
    startDate?: string | null
  }[] | null | null,
  clobTokenIds?: string | null,
  closed?: boolean | null,
  closedTime?: string | null,
  comboStatus?: string | null,
  commentsEnabled?: boolean | null,
  competitive?: number | null,
  conditionId?: string | null,
  createdAt?: string | null,
  createdBy?: number | null,
  creator?: string | null,
  cryptoMarketConfig?: {
    $schema?: string | null,
    asset?: string | null,
    duration?: string | null,
    id?: string | null,
    twapEnabled?: boolean | null,
    twapLookbackSeconds?: number | null
  } | null,
  cryptoMarketConfigId?: string | null,
  curationOrder?: number | null,
  customLiveness?: number | null,
  cyom?: boolean | null,
  denominationToken?: string | null,
  deploying?: boolean | null,
  deployingTimestamp?: string | null,
  description?: string | null,
  disqusThread?: string | null,
  enableOrderBook?: boolean | null,
  endDate?: string | null,
  endDateIso?: string | null,
  eventStartTime?: string | null,
  events?: {
    $schema?: string | null,
    active?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestLines?: {
      id?: string | null,
      line?: number | null,
      lineType?: string | null
    }[] | null | null,
    cantEstimate?: boolean | null,
    carouselMap?: string | null,
    category?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    color?: string | null,
    commentCount?: number | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    countryName?: string | null,
    createdAt?: string | null,
    createdBy?: string | null,
    creationDate?: string | null,
    cumulativeMarkets?: boolean | null,
    cyom?: boolean | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    elapsed?: string | null,
    electionType?: string | null,
    enableNegRisk?: boolean | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    ended?: boolean | null,
    estimateValue?: boolean | null,
    estimatedValue?: string | null,
    eventCreators?: {
      $schema?: string | null,
      createdAt?: string | null,
      creatorHandle?: string | null,
      creatorImage?: string | null,
      creatorName?: string | null,
      creatorUrl?: string | null,
      id?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    eventDate?: string | null,
    eventMetadata?: Record<string, any> | null,
    eventWeek?: number | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      eventId?: number | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    featured?: boolean | null,
    featuredImage?: string | null,
    featuredOrder?: number | null,
    finishedTimestamp?: string | null,
    gameId?: number | null,
    gmpChartMode?: string | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    isTemplate?: boolean | null,
    lastHighlight?: string | null,
    lastHighlightAt?: string | null,
    lastHighlightType?: string | null,
    liquidity?: number | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    live?: boolean | null,
    markets?: {
      $schema?: string | null,
      acceptingOrders?: boolean | null,
      acceptingOrdersTimestamp?: string | null,
      acceptingOrdersUntil?: string | null,
      active?: boolean | null,
      ammType?: string | null,
      approved?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestAsk?: number | null,
      bestBid?: number | null,
      category?: string | null,
      categoryMailchimpTag?: string | null,
      chartColor?: string | null,
      clearBookOnStart?: boolean | null,
      clobRewards?: {
        assetAddress?: string | null,
        conditionId?: string | null,
        endDate?: string | null,
        id?: string | null,
        rewardsAmount?: number | null,
        rewardsDailyRate?: number | null,
        startDate?: string | null
      }[] | null | null,
      clobTokenIds?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      comboStatus?: string | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      conditionId?: string | null,
      createdAt?: string | null,
      createdBy?: number | null,
      creator?: string | null,
      cryptoMarketConfig?: {
        $schema?: string | null,
        asset?: string | null,
        duration?: string | null,
        id?: string | null,
        twapEnabled?: boolean | null,
        twapLookbackSeconds?: number | null
      } | null,
      cryptoMarketConfigId?: string | null,
      curationOrder?: number | null,
      customLiveness?: number | null,
      cyom?: boolean | null,
      denominationToken?: string | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      endDateIso?: string | null,
      eventStartTime?: string | null,
      events?: (recursive)[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      fallbackResolutionType?: string | null,
      featured?: boolean | null,
      fee?: string | null,
      feeExponent?: number | null,
      feeRate?: number | null,
      feeSchedule?: {
        exponent?: number | null,
        rate?: number | null,
        rebateRate?: number | null,
        takerOnly?: boolean | null
      } | null,
      feeType?: string | null | null,
      feesEnabled?: boolean | null,
      formatType?: string | null,
      fpmmLive?: boolean | null,
      funded?: boolean | null,
      fundedTimestamp?: string | null,
      gameId?: string | null,
      gameStartTime?: string | null,
      groupItemRange?: string | null,
      groupItemThreshold?: string | null,
      groupItemTitle?: string | null,
      hasReviewedDates?: boolean | null,
      holdingRewardsEnabled?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      instrumentIndex?: number | null,
      instrumentKind?: string | null,
      lastTradePrice?: number | null,
      line?: number | null,
      liquidity?: string | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      liquidityNum?: number | null,
      lowerBound?: string | null,
      lowerBoundDate?: string | null,
      mailchimpTag?: string | null,
      makerBaseFee?: number | null,
      makerRebatesFeeShareBps?: number | null,
      manualActivation?: boolean | null,
      marketGroup?: number | null,
      marketMakerAddress?: string | null,
      marketMetadata?: Record<string, any> | null,
      marketType?: string | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      negRisk?: boolean | null,
      negRiskMarketID?: string | null,
      negRiskOther?: boolean | null,
      negRiskRequestID?: string | null,
      new?: boolean | null,
      notificationsEnabled?: boolean | null,
      onchainEventId?: string | null,
      oneDayPriceChange?: number | null,
      oneHourPriceChange?: number | null,
      oneMonthPriceChange?: number | null,
      oneWeekPriceChange?: number | null,
      oneYearPriceChange?: number | null,
      orderMinSize?: number | null,
      orderPriceMinTickSize?: number | null,
      outcomePrices?: string | null,
      outcomes?: string | null,
      pastSlugs?: string | null,
      pendingDeployment?: boolean | null,
      positionIds?: string[] | null | null,
      question?: string | null,
      questionID?: string | null,
      ready?: boolean | null,
      readyForCron?: boolean | null,
      readyTimestamp?: string | null,
      requestId?: string | null,
      resolutionMechanism?: string | null | null,
      resolutionSource?: string | null,
      resolutionStatus?: string | null,
      resolvedBy?: string | null,
      restricted?: boolean | null,
      rewardsMaxSpread?: number | null,
      rewardsMinSize?: number | null,
      rfqEnabled?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: number | null,
      secondsDelay?: number | null,
      sentDiscord?: boolean | null,
      seriesColor?: string | null,
      shortOutcomes?: string | null,
      showGmpOutcome?: boolean | null,
      showGmpSeries?: boolean | null,
      slug?: string | null,
      sponsorImage?: string | null,
      sponsorName?: string | null,
      sportsMarketType?: string | null,
      spread?: number | null,
      startDate?: string | null,
      startDateIso?: string | null,
      subcategory?: string | null,
      submitted_by?: string | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      takerBaseFee?: number | null,
      teamAID?: string | null,
      teamBID?: string | null,
      tradingEligible?: boolean | null | null,
      twitterCardImage?: string | null,
      twitterCardLastRefreshed?: string | null,
      twitterCardLastValidated?: string | null,
      twitterCardLocation?: string | null,
      umaBond?: string | null,
      umaEndDate?: string | null,
      umaEndDateIso?: string | null,
      umaResolutionStatus?: string | null,
      umaResolutionStatuses?: string | null,
      umaReward?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null,
      upperBound?: string | null,
      upperBoundDate?: string | null,
      version?: string | null,
      volume?: string | null,
      volume1mo?: number | null,
      volume1moAmm?: number | null,
      volume1moClob?: number | null,
      volume1wk?: number | null,
      volume1wkAmm?: number | null,
      volume1wkClob?: number | null,
      volume1yr?: number | null,
      volume1yrAmm?: number | null,
      volume1yrClob?: number | null,
      volume24hr?: number | null,
      volume24hrAmm?: number | null,
      volume24hrClob?: number | null,
      volumeAmm?: number | null,
      volumeClob?: number | null,
      volumeNum?: number | null,
      wideFormat?: boolean | null,
      xAxisValue?: string | null,
      yAxisValue?: string | null
    }[] | null | null,
    maxMarketCount?: number | null,
    moduleType?: string | null,
    negRisk?: boolean | null,
    negRiskAugmented?: boolean | null,
    negRiskFeeBips?: number | null,
    negRiskMarketID?: string | null,
    new?: boolean | null,
    openInterest?: number | null,
    parentEventId?: number | null,
    pendingDeployment?: boolean | null,
    period?: string | null,
    published_at?: string | null,
    rescheduledFromGameId?: number | null,
    resolutionMode?: string | null,
    resolutionSource?: string | null,
    restricted?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: string | null,
    series?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      cgAssetName?: string | null,
      closed?: boolean | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      description?: string | null,
      events?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestLines?: {
          id?: string | null,
          line?: number | null,
          lineType?: string | null
        }[] | null | null,
        cantEstimate?: boolean | null,
        carouselMap?: string | null,
        category?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        color?: string | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        countryName?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        creationDate?: string | null,
        cumulativeMarkets?: boolean | null,
        cyom?: boolean | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        elapsed?: string | null,
        electionType?: string | null,
        enableNegRisk?: boolean | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        ended?: boolean | null,
        estimateValue?: boolean | null,
        estimatedValue?: string | null,
        eventCreators?: {
          $schema?: string | null,
          createdAt?: string | null,
          creatorHandle?: string | null,
          creatorImage?: string | null,
          creatorName?: string | null,
          creatorUrl?: string | null,
          id?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        eventDate?: string | null,
        eventMetadata?: Record<string, any> | null,
        eventWeek?: number | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          eventId?: number | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        featured?: boolean | null,
        featuredImage?: string | null,
        featuredOrder?: number | null,
        finishedTimestamp?: string | null,
        gameId?: number | null,
        gmpChartMode?: string | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        lastHighlight?: string | null,
        lastHighlightAt?: string | null,
        lastHighlightType?: string | null,
        liquidity?: number | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        live?: boolean | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: (recursive)[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        maxMarketCount?: number | null,
        moduleType?: string | null,
        negRisk?: boolean | null,
        negRiskAugmented?: boolean | null,
        negRiskFeeBips?: number | null,
        negRiskMarketID?: string | null,
        new?: boolean | null,
        openInterest?: number | null,
        parentEventId?: number | null,
        pendingDeployment?: boolean | null,
        period?: string | null,
        published_at?: string | null,
        rescheduledFromGameId?: number | null,
        resolutionMode?: string | null,
        resolutionSource?: string | null,
        restricted?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: string | null,
        series?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          cgAssetName?: string | null,
          closed?: boolean | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          description?: string | null,
          events?: (recursive)[] | null | null,
          featured?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          layout?: string | null,
          liquidity?: number | null,
          new?: boolean | null,
          publishedAt?: string | null,
          pythTokenID?: string | null,
          recurrence?: string | null,
          restricted?: boolean | null,
          score?: number | null,
          seriesType?: string | null,
          slug?: string | null,
          startDate?: string | null,
          subtitle?: string | null,
          templateVariables?: boolean | null,
          ticker?: string | null,
          title?: string | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          volume?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        seriesSlug?: string | null,
        showAllOutcomes?: boolean | null,
        showMarketImages?: boolean | null,
        slug?: string | null,
        sortBy?: string | null,
        sport?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            sportId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          image?: string | null,
          name?: string | null,
          ordering?: string | null,
          primaryTagId?: number | null,
          resolution?: string | null,
          series?: string | null,
          sport?: string | null,
          tags?: string | null,
          updatedAt?: string | null
        } | null,
        spreadsMainLine?: number | null,
        startDate?: string | null,
        startTime?: string | null,
        subEvents?: (string | null)[] | null | null,
        subcategory?: string | null,
        subtitle?: string | null,
        tag_labels?: string[] | null | null,
        tag_slugs?: string[] | null | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        teams?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        templateVariables?: string | null,
        ticker?: string | null,
        title?: string | null,
        totalsMainLine?: number | null,
        turnProviderId?: string | null,
        tweetCount?: number | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        usId?: string | null,
        version?: string | null,
        volume?: number | null,
        volume1mo?: number | null,
        volume1wk?: number | null,
        volume1yr?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      featured?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      layout?: string | null,
      liquidity?: number | null,
      new?: boolean | null,
      publishedAt?: string | null,
      pythTokenID?: string | null,
      recurrence?: string | null,
      restricted?: boolean | null,
      score?: number | null,
      seriesType?: string | null,
      slug?: string | null,
      startDate?: string | null,
      subtitle?: string | null,
      templateVariables?: boolean | null,
      ticker?: string | null,
      title?: string | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      volume?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    seriesSlug?: string | null,
    showAllOutcomes?: boolean | null,
    showMarketImages?: boolean | null,
    slug?: string | null,
    sortBy?: string | null,
    sport?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        sportId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      image?: string | null,
      name?: string | null,
      ordering?: string | null,
      primaryTagId?: number | null,
      resolution?: string | null,
      series?: string | null,
      sport?: string | null,
      tags?: string | null,
      updatedAt?: string | null
    } | null,
    spreadsMainLine?: number | null,
    startDate?: string | null,
    startTime?: string | null,
    subEvents?: (string | null)[] | null | null,
    subcategory?: string | null,
    subtitle?: string | null,
    tag_labels?: string[] | null | null,
    tag_slugs?: string[] | null | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    teams?: {
      $schema?: string | null,
      abbreviation?: string | null,
      alias?: string | null,
      color?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        source?: string | null,
        teamId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      league?: string | null,
      logo?: string | null,
      name?: string | null,
      ordering?: string | null,
      providerId?: number | null,
      record?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    templateVariables?: string | null,
    ticker?: string | null,
    title?: string | null,
    totalsMainLine?: number | null,
    turnProviderId?: string | null,
    tweetCount?: number | null,
    updatedAt?: string | null,
    updatedBy?: string | null,
    usId?: string | null,
    version?: string | null,
    volume?: number | null,
    volume1mo?: number | null,
    volume1wk?: number | null,
    volume1yr?: number | null,
    volume24hr?: number | null
  }[] | null | null,
  facets?: {
    abbreviation?: string | null,
    appliesTo?: string[] | null | null,
    label?: string | null,
    parents?: string[] | null | null,
    slug?: string | null
  }[] | null | null,
  fallbackResolutionType?: string | null,
  featured?: boolean | null,
  fee?: string | null,
  feeExponent?: number | null,
  feeRate?: number | null,
  feeSchedule?: {
    exponent?: number | null,
    rate?: number | null,
    rebateRate?: number | null,
    takerOnly?: boolean | null
  } | null,
  feeType?: string | null | null,
  feesEnabled?: boolean | null,
  formatType?: string | null,
  fpmmLive?: boolean | null,
  funded?: boolean | null,
  fundedTimestamp?: string | null,
  gameId?: string | null,
  gameStartTime?: string | null,
  groupItemRange?: string | null,
  groupItemThreshold?: string | null,
  groupItemTitle?: string | null,
  hasReviewedDates?: boolean | null,
  holdingRewardsEnabled?: boolean | null,
  icon?: string | null,
  id?: string | null,
  image?: string | null,
  instrumentIndex?: number | null,
  instrumentKind?: string | null,
  lastTradePrice?: number | null,
  line?: number | null,
  liquidity?: string | null,
  liquidityAmm?: number | null,
  liquidityClob?: number | null,
  liquidityNum?: number | null,
  lowerBound?: string | null,
  lowerBoundDate?: string | null,
  mailchimpTag?: string | null,
  makerBaseFee?: number | null,
  makerRebatesFeeShareBps?: number | null,
  manualActivation?: boolean | null,
  marketGroup?: number | null,
  marketMakerAddress?: string | null,
  marketMetadata?: Record<string, any> | null,
  marketType?: string | null,
  markets?: {
    $schema?: string | null,
    acceptingOrders?: boolean | null,
    acceptingOrdersTimestamp?: string | null,
    acceptingOrdersUntil?: string | null,
    active?: boolean | null,
    ammType?: string | null,
    approved?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestAsk?: number | null,
    bestBid?: number | null,
    category?: string | null,
    categoryMailchimpTag?: string | null,
    chartColor?: string | null,
    clearBookOnStart?: boolean | null,
    clobRewards?: {
      assetAddress?: string | null,
      conditionId?: string | null,
      endDate?: string | null,
      id?: string | null,
      rewardsAmount?: number | null,
      rewardsDailyRate?: number | null,
      startDate?: string | null
    }[] | null | null,
    clobTokenIds?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    comboStatus?: string | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    conditionId?: string | null,
    createdAt?: string | null,
    createdBy?: number | null,
    creator?: string | null,
    cryptoMarketConfig?: {
      $schema?: string | null,
      asset?: string | null,
      duration?: string | null,
      id?: string | null,
      twapEnabled?: boolean | null,
      twapLookbackSeconds?: number | null
    } | null,
    cryptoMarketConfigId?: string | null,
    curationOrder?: number | null,
    customLiveness?: number | null,
    cyom?: boolean | null,
    denominationToken?: string | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    endDateIso?: string | null,
    eventStartTime?: string | null,
    events?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestLines?: {
        id?: string | null,
        line?: number | null,
        lineType?: string | null
      }[] | null | null,
      cantEstimate?: boolean | null,
      carouselMap?: string | null,
      category?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      color?: string | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      countryName?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      creationDate?: string | null,
      cumulativeMarkets?: boolean | null,
      cyom?: boolean | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      elapsed?: string | null,
      electionType?: string | null,
      enableNegRisk?: boolean | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      ended?: boolean | null,
      estimateValue?: boolean | null,
      estimatedValue?: string | null,
      eventCreators?: {
        $schema?: string | null,
        createdAt?: string | null,
        creatorHandle?: string | null,
        creatorImage?: string | null,
        creatorName?: string | null,
        creatorUrl?: string | null,
        id?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      eventDate?: string | null,
      eventMetadata?: Record<string, any> | null,
      eventWeek?: number | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        eventId?: number | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      featured?: boolean | null,
      featuredImage?: string | null,
      featuredOrder?: number | null,
      finishedTimestamp?: string | null,
      gameId?: number | null,
      gmpChartMode?: string | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      lastHighlight?: string | null,
      lastHighlightAt?: string | null,
      lastHighlightType?: string | null,
      liquidity?: number | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      live?: boolean | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      maxMarketCount?: number | null,
      moduleType?: string | null,
      negRisk?: boolean | null,
      negRiskAugmented?: boolean | null,
      negRiskFeeBips?: number | null,
      negRiskMarketID?: string | null,
      new?: boolean | null,
      openInterest?: number | null,
      parentEventId?: number | null,
      pendingDeployment?: boolean | null,
      period?: string | null,
      published_at?: string | null,
      rescheduledFromGameId?: number | null,
      resolutionMode?: string | null,
      resolutionSource?: string | null,
      restricted?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: string | null,
      series?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        cgAssetName?: string | null,
        closed?: boolean | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        description?: string | null,
        events?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestLines?: {
            id?: string | null,
            line?: number | null,
            lineType?: string | null
          }[] | null | null,
          cantEstimate?: boolean | null,
          carouselMap?: string | null,
          category?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          color?: string | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          countryName?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          creationDate?: string | null,
          cumulativeMarkets?: boolean | null,
          cyom?: boolean | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          elapsed?: string | null,
          electionType?: string | null,
          enableNegRisk?: boolean | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          ended?: boolean | null,
          estimateValue?: boolean | null,
          estimatedValue?: string | null,
          eventCreators?: {
            $schema?: string | null,
            createdAt?: string | null,
            creatorHandle?: string | null,
            creatorImage?: string | null,
            creatorName?: string | null,
            creatorUrl?: string | null,
            id?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          eventDate?: string | null,
          eventMetadata?: Record<string, any> | null,
          eventWeek?: number | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            eventId?: number | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          featured?: boolean | null,
          featuredImage?: string | null,
          featuredOrder?: number | null,
          finishedTimestamp?: string | null,
          gameId?: number | null,
          gmpChartMode?: string | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          lastHighlight?: string | null,
          lastHighlightAt?: string | null,
          lastHighlightType?: string | null,
          liquidity?: number | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          live?: boolean | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          maxMarketCount?: number | null,
          moduleType?: string | null,
          negRisk?: boolean | null,
          negRiskAugmented?: boolean | null,
          negRiskFeeBips?: number | null,
          negRiskMarketID?: string | null,
          new?: boolean | null,
          openInterest?: number | null,
          parentEventId?: number | null,
          pendingDeployment?: boolean | null,
          period?: string | null,
          published_at?: string | null,
          rescheduledFromGameId?: number | null,
          resolutionMode?: string | null,
          resolutionSource?: string | null,
          restricted?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: string | null,
          series?: {
            $schema?: string | null,
            active?: boolean | null,
            archived?: boolean | null,
            cgAssetName?: string | null,
            closed?: boolean | null,
            commentCount?: number | null,
            commentsEnabled?: boolean | null,
            competitive?: string | null,
            createdAt?: string | null,
            createdBy?: string | null,
            description?: string | null,
            events?: (recursive)[] | null | null,
            featured?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            isTemplate?: boolean | null,
            layout?: string | null,
            liquidity?: number | null,
            new?: boolean | null,
            publishedAt?: string | null,
            pythTokenID?: string | null,
            recurrence?: string | null,
            restricted?: boolean | null,
            score?: number | null,
            seriesType?: string | null,
            slug?: string | null,
            startDate?: string | null,
            subtitle?: string | null,
            templateVariables?: boolean | null,
            ticker?: string | null,
            title?: string | null,
            updatedAt?: string | null,
            updatedBy?: string | null,
            volume?: number | null,
            volume24hr?: number | null
          }[] | null | null,
          seriesSlug?: string | null,
          showAllOutcomes?: boolean | null,
          showMarketImages?: boolean | null,
          slug?: string | null,
          sortBy?: string | null,
          sport?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              sportId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            image?: string | null,
            name?: string | null,
            ordering?: string | null,
            primaryTagId?: number | null,
            resolution?: string | null,
            series?: string | null,
            sport?: string | null,
            tags?: string | null,
            updatedAt?: string | null
          } | null,
          spreadsMainLine?: number | null,
          startDate?: string | null,
          startTime?: string | null,
          subEvents?: (string | null)[] | null | null,
          subcategory?: string | null,
          subtitle?: string | null,
          tag_labels?: string[] | null | null,
          tag_slugs?: string[] | null | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          teams?: {
            $schema?: string | null,
            abbreviation?: string | null,
            alias?: string | null,
            color?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              source?: string | null,
              teamId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            league?: string | null,
            logo?: string | null,
            name?: string | null,
            ordering?: string | null,
            providerId?: number | null,
            record?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          templateVariables?: string | null,
          ticker?: string | null,
          title?: string | null,
          totalsMainLine?: number | null,
          turnProviderId?: string | null,
          tweetCount?: number | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          usId?: string | null,
          version?: string | null,
          volume?: number | null,
          volume1mo?: number | null,
          volume1wk?: number | null,
          volume1yr?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        featured?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        layout?: string | null,
        liquidity?: number | null,
        new?: boolean | null,
        publishedAt?: string | null,
        pythTokenID?: string | null,
        recurrence?: string | null,
        restricted?: boolean | null,
        score?: number | null,
        seriesType?: string | null,
        slug?: string | null,
        startDate?: string | null,
        subtitle?: string | null,
        templateVariables?: boolean | null,
        ticker?: string | null,
        title?: string | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        volume?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      seriesSlug?: string | null,
      showAllOutcomes?: boolean | null,
      showMarketImages?: boolean | null,
      slug?: string | null,
      sortBy?: string | null,
      sport?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          sportId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        image?: string | null,
        name?: string | null,
        ordering?: string | null,
        primaryTagId?: number | null,
        resolution?: string | null,
        series?: string | null,
        sport?: string | null,
        tags?: string | null,
        updatedAt?: string | null
      } | null,
      spreadsMainLine?: number | null,
      startDate?: string | null,
      startTime?: string | null,
      subEvents?: (string | null)[] | null | null,
      subcategory?: string | null,
      subtitle?: string | null,
      tag_labels?: string[] | null | null,
      tag_slugs?: string[] | null | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      teams?: {
        $schema?: string | null,
        abbreviation?: string | null,
        alias?: string | null,
        color?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          source?: string | null,
          teamId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        league?: string | null,
        logo?: string | null,
        name?: string | null,
        ordering?: string | null,
        providerId?: number | null,
        record?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      templateVariables?: string | null,
      ticker?: string | null,
      title?: string | null,
      totalsMainLine?: number | null,
      turnProviderId?: string | null,
      tweetCount?: number | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      usId?: string | null,
      version?: string | null,
      volume?: number | null,
      volume1mo?: number | null,
      volume1wk?: number | null,
      volume1yr?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    fallbackResolutionType?: string | null,
    featured?: boolean | null,
    fee?: string | null,
    feeExponent?: number | null,
    feeRate?: number | null,
    feeSchedule?: {
      exponent?: number | null,
      rate?: number | null,
      rebateRate?: number | null,
      takerOnly?: boolean | null
    } | null,
    feeType?: string | null | null,
    feesEnabled?: boolean | null,
    formatType?: string | null,
    fpmmLive?: boolean | null,
    funded?: boolean | null,
    fundedTimestamp?: string | null,
    gameId?: string | null,
    gameStartTime?: string | null,
    groupItemRange?: string | null,
    groupItemThreshold?: string | null,
    groupItemTitle?: string | null,
    hasReviewedDates?: boolean | null,
    holdingRewardsEnabled?: boolean | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    instrumentIndex?: number | null,
    instrumentKind?: string | null,
    lastTradePrice?: number | null,
    line?: number | null,
    liquidity?: string | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    liquidityNum?: number | null,
    lowerBound?: string | null,
    lowerBoundDate?: string | null,
    mailchimpTag?: string | null,
    makerBaseFee?: number | null,
    makerRebatesFeeShareBps?: number | null,
    manualActivation?: boolean | null,
    marketGroup?: number | null,
    marketMakerAddress?: string | null,
    marketMetadata?: Record<string, any> | null,
    marketType?: string | null,
    markets?: (recursive)[] | null | null,
    negRisk?: boolean | null,
    negRiskMarketID?: string | null,
    negRiskOther?: boolean | null,
    negRiskRequestID?: string | null,
    new?: boolean | null,
    notificationsEnabled?: boolean | null,
    onchainEventId?: string | null,
    oneDayPriceChange?: number | null,
    oneHourPriceChange?: number | null,
    oneMonthPriceChange?: number | null,
    oneWeekPriceChange?: number | null,
    oneYearPriceChange?: number | null,
    orderMinSize?: number | null,
    orderPriceMinTickSize?: number | null,
    outcomePrices?: string | null,
    outcomes?: string | null,
    pastSlugs?: string | null,
    pendingDeployment?: boolean | null,
    positionIds?: string[] | null | null,
    question?: string | null,
    questionID?: string | null,
    ready?: boolean | null,
    readyForCron?: boolean | null,
    readyTimestamp?: string | null,
    requestId?: string | null,
    resolutionMechanism?: string | null | null,
    resolutionSource?: string | null,
    resolutionStatus?: string | null,
    resolvedBy?: string | null,
    restricted?: boolean | null,
    rewardsMaxSpread?: number | null,
    rewardsMinSize?: number | null,
    rfqEnabled?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: number | null,
    secondsDelay?: number | null,
    sentDiscord?: boolean | null,
    seriesColor?: string | null,
    shortOutcomes?: string | null,
    showGmpOutcome?: boolean | null,
    showGmpSeries?: boolean | null,
    slug?: string | null,
    sponsorImage?: string | null,
    sponsorName?: string | null,
    sportsMarketType?: string | null,
    spread?: number | null,
    startDate?: string | null,
    startDateIso?: string | null,
    subcategory?: string | null,
    submitted_by?: string | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    takerBaseFee?: number | null,
    teamAID?: string | null,
    teamBID?: string | null,
    tradingEligible?: boolean | null | null,
    twitterCardImage?: string | null,
    twitterCardLastRefreshed?: string | null,
    twitterCardLastValidated?: string | null,
    twitterCardLocation?: string | null,
    umaBond?: string | null,
    umaEndDate?: string | null,
    umaEndDateIso?: string | null,
    umaResolutionStatus?: string | null,
    umaResolutionStatuses?: string | null,
    umaReward?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null,
    upperBound?: string | null,
    upperBoundDate?: string | null,
    version?: string | null,
    volume?: string | null,
    volume1mo?: number | null,
    volume1moAmm?: number | null,
    volume1moClob?: number | null,
    volume1wk?: number | null,
    volume1wkAmm?: number | null,
    volume1wkClob?: number | null,
    volume1yr?: number | null,
    volume1yrAmm?: number | null,
    volume1yrClob?: number | null,
    volume24hr?: number | null,
    volume24hrAmm?: number | null,
    volume24hrClob?: number | null,
    volumeAmm?: number | null,
    volumeClob?: number | null,
    volumeNum?: number | null,
    wideFormat?: boolean | null,
    xAxisValue?: string | null,
    yAxisValue?: string | null
  }[] | null | null,
  negRisk?: boolean | null,
  negRiskMarketID?: string | null,
  negRiskOther?: boolean | null,
  negRiskRequestID?: string | null,
  new?: boolean | null,
  notificationsEnabled?: boolean | null,
  onchainEventId?: string | null,
  oneDayPriceChange?: number | null,
  oneHourPriceChange?: number | null,
  oneMonthPriceChange?: number | null,
  oneWeekPriceChange?: number | null,
  oneYearPriceChange?: number | null,
  orderMinSize?: number | null,
  orderPriceMinTickSize?: number | null,
  outcomePrices?: string | null,
  outcomes?: string | null,
  pastSlugs?: string | null,
  pendingDeployment?: boolean | null,
  positionIds?: string[] | null | null,
  question?: string | null,
  questionID?: string | null,
  ready?: boolean | null,
  readyForCron?: boolean | null,
  readyTimestamp?: string | null,
  requestId?: string | null,
  resolutionMechanism?: string | null | null,
  resolutionSource?: string | null,
  resolutionStatus?: string | null,
  resolvedBy?: string | null,
  restricted?: boolean | null,
  rewardsMaxSpread?: number | null,
  rewardsMinSize?: number | null,
  rfqEnabled?: boolean | null,
  scheduledDeploymentTimestamp?: string | null,
  score?: number | null,
  secondsDelay?: number | null,
  sentDiscord?: boolean | null,
  seriesColor?: string | null,
  shortOutcomes?: string | null,
  showGmpOutcome?: boolean | null,
  showGmpSeries?: boolean | null,
  slug?: string | null,
  sponsorImage?: string | null,
  sponsorName?: string | null,
  sportsMarketType?: string | null,
  spread?: number | null,
  startDate?: string | null,
  startDateIso?: string | null,
  subcategory?: string | null,
  submitted_by?: string | null,
  tags?: {
    $schema?: string | null,
    activeEventsCount?: number | null,
    createdAt?: string | null,
    createdBy?: number | null,
    forceHide?: boolean | null,
    forceShow?: boolean | null,
    id?: string | null,
    isCarousel?: boolean | null,
    label?: string | null,
    publishedAt?: string | null,
    slug?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null
  }[] | null | null,
  takerBaseFee?: number | null,
  teamAID?: string | null,
  teamBID?: string | null,
  tradingEligible?: boolean | null | null,
  twitterCardImage?: string | null,
  twitterCardLastRefreshed?: string | null,
  twitterCardLastValidated?: string | null,
  twitterCardLocation?: string | null,
  umaBond?: string | null,
  umaEndDate?: string | null,
  umaEndDateIso?: string | null,
  umaResolutionStatus?: string | null,
  umaResolutionStatuses?: string | null,
  umaReward?: string | null,
  updatedAt?: string | null,
  updatedBy?: number | null,
  upperBound?: string | null,
  upperBoundDate?: string | null,
  version?: string | null,
  volume?: string | null,
  volume1mo?: number | null,
  volume1moAmm?: number | null,
  volume1moClob?: number | null,
  volume1wk?: number | null,
  volume1wkAmm?: number | null,
  volume1wkClob?: number | null,
  volume1yr?: number | null,
  volume1yrAmm?: number | null,
  volume1yrClob?: number | null,
  volume24hr?: number | null,
  volume24hrAmm?: number | null,
  volume24hrClob?: number | null,
  volumeAmm?: number | null,
  volumeClob?: number | null,
  volumeNum?: number | null,
  wideFormat?: boolean | null,
  xAxisValue?: string | null,
  yAxisValue?: string | null
}[] | null
```

***

### markets.listAbridged

`gamma.markets.listAbridged`

Get abridged markets

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.markets.listAbridged({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `include_facets` | `string` | No | Include the facets assigned to each market (true/false). Facets are the assigned ones plus their ancestors. |
| `clobTokenIds` | `string[] \| null` | No | — |
| `closed` | `boolean \| null` | No | — |
| `comboStatus` | `string \| null` | No | — |
| `conditionIds` | `string[] \| null` | No | — |
| `cyom` | `boolean \| null` | No | — |
| `endDateMax` | `string \| null` | No | — |
| `endDateMin` | `string \| null` | No | — |
| `facets` | `string \| null` | No | AIP-160 expression over facet slugs, as the facets query parameter on GET /markets |
| `gameId` | `string \| null` | No | — |
| `id` | `number[] \| null` | No | — |
| `includeTags` | `boolean \| null` | No | — |
| `liquidityNumMax` | `number \| null` | No | — |
| `liquidityNumMin` | `number \| null` | No | — |
| `marketMakerAddress` | `string[] \| null` | No | — |
| `onchainEventIds` | `string[] \| null` | No | — |
| `positionIds` | `string[] \| null` | No | — |
| `questionIds` | `string[] \| null` | No | — |
| `relatedTags` | `boolean \| null` | No | — |
| `requestIds` | `string[] \| null` | No | — |
| `rewardsMinSize` | `number` | No | — |
| `rfqEnabled` | `boolean \| null` | No | — |
| `slug` | `string[] \| null` | No | — |
| `sportsMarketTypes` | `string[] \| null` | No | — |
| `startDateMax` | `string \| null` | No | — |
| `startDateMin` | `string \| null` | No | — |
| `tagId` | `number[] \| null` | No | — |
| `umaResolutionStatus` | `string \| null` | No | — |
| `version` | `string[] \| null` | No | — |
| `volumeNumMax` | `number \| null` | No | — |
| `volumeNumMin` | `number \| null` | No | — |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  acceptingOrders?: boolean | null,
  acceptingOrdersTimestamp?: string | null,
  acceptingOrdersUntil?: string | null,
  active?: boolean | null,
  ammType?: string | null,
  approved?: boolean | null,
  archived?: boolean | null,
  automaticallyActive?: boolean | null,
  automaticallyResolved?: boolean | null,
  bestAsk?: number | null,
  bestBid?: number | null,
  category?: string | null,
  categoryMailchimpTag?: string | null,
  chartColor?: string | null,
  clearBookOnStart?: boolean | null,
  clobRewards?: {
    assetAddress?: string | null,
    conditionId?: string | null,
    endDate?: string | null,
    id?: string | null,
    rewardsAmount?: number | null,
    rewardsDailyRate?: number | null,
    startDate?: string | null
  }[] | null | null,
  clobTokenIds?: string | null,
  closed?: boolean | null,
  closedTime?: string | null,
  comboStatus?: string | null,
  commentsEnabled?: boolean | null,
  competitive?: number | null,
  conditionId?: string | null,
  createdAt?: string | null,
  createdBy?: number | null,
  creator?: string | null,
  cryptoMarketConfig?: {
    $schema?: string | null,
    asset?: string | null,
    duration?: string | null,
    id?: string | null,
    twapEnabled?: boolean | null,
    twapLookbackSeconds?: number | null
  } | null,
  cryptoMarketConfigId?: string | null,
  curationOrder?: number | null,
  customLiveness?: number | null,
  cyom?: boolean | null,
  denominationToken?: string | null,
  deploying?: boolean | null,
  deployingTimestamp?: string | null,
  description?: string | null,
  disqusThread?: string | null,
  enableOrderBook?: boolean | null,
  endDate?: string | null,
  endDateIso?: string | null,
  eventStartTime?: string | null,
  events?: {
    $schema?: string | null,
    active?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestLines?: {
      id?: string | null,
      line?: number | null,
      lineType?: string | null
    }[] | null | null,
    cantEstimate?: boolean | null,
    carouselMap?: string | null,
    category?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    color?: string | null,
    commentCount?: number | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    countryName?: string | null,
    createdAt?: string | null,
    createdBy?: string | null,
    creationDate?: string | null,
    cumulativeMarkets?: boolean | null,
    cyom?: boolean | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    elapsed?: string | null,
    electionType?: string | null,
    enableNegRisk?: boolean | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    ended?: boolean | null,
    estimateValue?: boolean | null,
    estimatedValue?: string | null,
    eventCreators?: {
      $schema?: string | null,
      createdAt?: string | null,
      creatorHandle?: string | null,
      creatorImage?: string | null,
      creatorName?: string | null,
      creatorUrl?: string | null,
      id?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    eventDate?: string | null,
    eventMetadata?: Record<string, any> | null,
    eventWeek?: number | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      eventId?: number | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    featured?: boolean | null,
    featuredImage?: string | null,
    featuredOrder?: number | null,
    finishedTimestamp?: string | null,
    gameId?: number | null,
    gmpChartMode?: string | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    isTemplate?: boolean | null,
    lastHighlight?: string | null,
    lastHighlightAt?: string | null,
    lastHighlightType?: string | null,
    liquidity?: number | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    live?: boolean | null,
    markets?: {
      $schema?: string | null,
      acceptingOrders?: boolean | null,
      acceptingOrdersTimestamp?: string | null,
      acceptingOrdersUntil?: string | null,
      active?: boolean | null,
      ammType?: string | null,
      approved?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestAsk?: number | null,
      bestBid?: number | null,
      category?: string | null,
      categoryMailchimpTag?: string | null,
      chartColor?: string | null,
      clearBookOnStart?: boolean | null,
      clobRewards?: {
        assetAddress?: string | null,
        conditionId?: string | null,
        endDate?: string | null,
        id?: string | null,
        rewardsAmount?: number | null,
        rewardsDailyRate?: number | null,
        startDate?: string | null
      }[] | null | null,
      clobTokenIds?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      comboStatus?: string | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      conditionId?: string | null,
      createdAt?: string | null,
      createdBy?: number | null,
      creator?: string | null,
      cryptoMarketConfig?: {
        $schema?: string | null,
        asset?: string | null,
        duration?: string | null,
        id?: string | null,
        twapEnabled?: boolean | null,
        twapLookbackSeconds?: number | null
      } | null,
      cryptoMarketConfigId?: string | null,
      curationOrder?: number | null,
      customLiveness?: number | null,
      cyom?: boolean | null,
      denominationToken?: string | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      endDateIso?: string | null,
      eventStartTime?: string | null,
      events?: (recursive)[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      fallbackResolutionType?: string | null,
      featured?: boolean | null,
      fee?: string | null,
      feeExponent?: number | null,
      feeRate?: number | null,
      feeSchedule?: {
        exponent?: number | null,
        rate?: number | null,
        rebateRate?: number | null,
        takerOnly?: boolean | null
      } | null,
      feeType?: string | null | null,
      feesEnabled?: boolean | null,
      formatType?: string | null,
      fpmmLive?: boolean | null,
      funded?: boolean | null,
      fundedTimestamp?: string | null,
      gameId?: string | null,
      gameStartTime?: string | null,
      groupItemRange?: string | null,
      groupItemThreshold?: string | null,
      groupItemTitle?: string | null,
      hasReviewedDates?: boolean | null,
      holdingRewardsEnabled?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      instrumentIndex?: number | null,
      instrumentKind?: string | null,
      lastTradePrice?: number | null,
      line?: number | null,
      liquidity?: string | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      liquidityNum?: number | null,
      lowerBound?: string | null,
      lowerBoundDate?: string | null,
      mailchimpTag?: string | null,
      makerBaseFee?: number | null,
      makerRebatesFeeShareBps?: number | null,
      manualActivation?: boolean | null,
      marketGroup?: number | null,
      marketMakerAddress?: string | null,
      marketMetadata?: Record<string, any> | null,
      marketType?: string | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      negRisk?: boolean | null,
      negRiskMarketID?: string | null,
      negRiskOther?: boolean | null,
      negRiskRequestID?: string | null,
      new?: boolean | null,
      notificationsEnabled?: boolean | null,
      onchainEventId?: string | null,
      oneDayPriceChange?: number | null,
      oneHourPriceChange?: number | null,
      oneMonthPriceChange?: number | null,
      oneWeekPriceChange?: number | null,
      oneYearPriceChange?: number | null,
      orderMinSize?: number | null,
      orderPriceMinTickSize?: number | null,
      outcomePrices?: string | null,
      outcomes?: string | null,
      pastSlugs?: string | null,
      pendingDeployment?: boolean | null,
      positionIds?: string[] | null | null,
      question?: string | null,
      questionID?: string | null,
      ready?: boolean | null,
      readyForCron?: boolean | null,
      readyTimestamp?: string | null,
      requestId?: string | null,
      resolutionMechanism?: string | null | null,
      resolutionSource?: string | null,
      resolutionStatus?: string | null,
      resolvedBy?: string | null,
      restricted?: boolean | null,
      rewardsMaxSpread?: number | null,
      rewardsMinSize?: number | null,
      rfqEnabled?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: number | null,
      secondsDelay?: number | null,
      sentDiscord?: boolean | null,
      seriesColor?: string | null,
      shortOutcomes?: string | null,
      showGmpOutcome?: boolean | null,
      showGmpSeries?: boolean | null,
      slug?: string | null,
      sponsorImage?: string | null,
      sponsorName?: string | null,
      sportsMarketType?: string | null,
      spread?: number | null,
      startDate?: string | null,
      startDateIso?: string | null,
      subcategory?: string | null,
      submitted_by?: string | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      takerBaseFee?: number | null,
      teamAID?: string | null,
      teamBID?: string | null,
      tradingEligible?: boolean | null | null,
      twitterCardImage?: string | null,
      twitterCardLastRefreshed?: string | null,
      twitterCardLastValidated?: string | null,
      twitterCardLocation?: string | null,
      umaBond?: string | null,
      umaEndDate?: string | null,
      umaEndDateIso?: string | null,
      umaResolutionStatus?: string | null,
      umaResolutionStatuses?: string | null,
      umaReward?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null,
      upperBound?: string | null,
      upperBoundDate?: string | null,
      version?: string | null,
      volume?: string | null,
      volume1mo?: number | null,
      volume1moAmm?: number | null,
      volume1moClob?: number | null,
      volume1wk?: number | null,
      volume1wkAmm?: number | null,
      volume1wkClob?: number | null,
      volume1yr?: number | null,
      volume1yrAmm?: number | null,
      volume1yrClob?: number | null,
      volume24hr?: number | null,
      volume24hrAmm?: number | null,
      volume24hrClob?: number | null,
      volumeAmm?: number | null,
      volumeClob?: number | null,
      volumeNum?: number | null,
      wideFormat?: boolean | null,
      xAxisValue?: string | null,
      yAxisValue?: string | null
    }[] | null | null,
    maxMarketCount?: number | null,
    moduleType?: string | null,
    negRisk?: boolean | null,
    negRiskAugmented?: boolean | null,
    negRiskFeeBips?: number | null,
    negRiskMarketID?: string | null,
    new?: boolean | null,
    openInterest?: number | null,
    parentEventId?: number | null,
    pendingDeployment?: boolean | null,
    period?: string | null,
    published_at?: string | null,
    rescheduledFromGameId?: number | null,
    resolutionMode?: string | null,
    resolutionSource?: string | null,
    restricted?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: string | null,
    series?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      cgAssetName?: string | null,
      closed?: boolean | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      description?: string | null,
      events?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestLines?: {
          id?: string | null,
          line?: number | null,
          lineType?: string | null
        }[] | null | null,
        cantEstimate?: boolean | null,
        carouselMap?: string | null,
        category?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        color?: string | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        countryName?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        creationDate?: string | null,
        cumulativeMarkets?: boolean | null,
        cyom?: boolean | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        elapsed?: string | null,
        electionType?: string | null,
        enableNegRisk?: boolean | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        ended?: boolean | null,
        estimateValue?: boolean | null,
        estimatedValue?: string | null,
        eventCreators?: {
          $schema?: string | null,
          createdAt?: string | null,
          creatorHandle?: string | null,
          creatorImage?: string | null,
          creatorName?: string | null,
          creatorUrl?: string | null,
          id?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        eventDate?: string | null,
        eventMetadata?: Record<string, any> | null,
        eventWeek?: number | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          eventId?: number | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        featured?: boolean | null,
        featuredImage?: string | null,
        featuredOrder?: number | null,
        finishedTimestamp?: string | null,
        gameId?: number | null,
        gmpChartMode?: string | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        lastHighlight?: string | null,
        lastHighlightAt?: string | null,
        lastHighlightType?: string | null,
        liquidity?: number | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        live?: boolean | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: (recursive)[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        maxMarketCount?: number | null,
        moduleType?: string | null,
        negRisk?: boolean | null,
        negRiskAugmented?: boolean | null,
        negRiskFeeBips?: number | null,
        negRiskMarketID?: string | null,
        new?: boolean | null,
        openInterest?: number | null,
        parentEventId?: number | null,
        pendingDeployment?: boolean | null,
        period?: string | null,
        published_at?: string | null,
        rescheduledFromGameId?: number | null,
        resolutionMode?: string | null,
        resolutionSource?: string | null,
        restricted?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: string | null,
        series?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          cgAssetName?: string | null,
          closed?: boolean | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          description?: string | null,
          events?: (recursive)[] | null | null,
          featured?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          layout?: string | null,
          liquidity?: number | null,
          new?: boolean | null,
          publishedAt?: string | null,
          pythTokenID?: string | null,
          recurrence?: string | null,
          restricted?: boolean | null,
          score?: number | null,
          seriesType?: string | null,
          slug?: string | null,
          startDate?: string | null,
          subtitle?: string | null,
          templateVariables?: boolean | null,
          ticker?: string | null,
          title?: string | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          volume?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        seriesSlug?: string | null,
        showAllOutcomes?: boolean | null,
        showMarketImages?: boolean | null,
        slug?: string | null,
        sortBy?: string | null,
        sport?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            sportId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          image?: string | null,
          name?: string | null,
          ordering?: string | null,
          primaryTagId?: number | null,
          resolution?: string | null,
          series?: string | null,
          sport?: string | null,
          tags?: string | null,
          updatedAt?: string | null
        } | null,
        spreadsMainLine?: number | null,
        startDate?: string | null,
        startTime?: string | null,
        subEvents?: (string | null)[] | null | null,
        subcategory?: string | null,
        subtitle?: string | null,
        tag_labels?: string[] | null | null,
        tag_slugs?: string[] | null | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        teams?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        templateVariables?: string | null,
        ticker?: string | null,
        title?: string | null,
        totalsMainLine?: number | null,
        turnProviderId?: string | null,
        tweetCount?: number | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        usId?: string | null,
        version?: string | null,
        volume?: number | null,
        volume1mo?: number | null,
        volume1wk?: number | null,
        volume1yr?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      featured?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      layout?: string | null,
      liquidity?: number | null,
      new?: boolean | null,
      publishedAt?: string | null,
      pythTokenID?: string | null,
      recurrence?: string | null,
      restricted?: boolean | null,
      score?: number | null,
      seriesType?: string | null,
      slug?: string | null,
      startDate?: string | null,
      subtitle?: string | null,
      templateVariables?: boolean | null,
      ticker?: string | null,
      title?: string | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      volume?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    seriesSlug?: string | null,
    showAllOutcomes?: boolean | null,
    showMarketImages?: boolean | null,
    slug?: string | null,
    sortBy?: string | null,
    sport?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        sportId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      image?: string | null,
      name?: string | null,
      ordering?: string | null,
      primaryTagId?: number | null,
      resolution?: string | null,
      series?: string | null,
      sport?: string | null,
      tags?: string | null,
      updatedAt?: string | null
    } | null,
    spreadsMainLine?: number | null,
    startDate?: string | null,
    startTime?: string | null,
    subEvents?: (string | null)[] | null | null,
    subcategory?: string | null,
    subtitle?: string | null,
    tag_labels?: string[] | null | null,
    tag_slugs?: string[] | null | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    teams?: {
      $schema?: string | null,
      abbreviation?: string | null,
      alias?: string | null,
      color?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        source?: string | null,
        teamId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      league?: string | null,
      logo?: string | null,
      name?: string | null,
      ordering?: string | null,
      providerId?: number | null,
      record?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    templateVariables?: string | null,
    ticker?: string | null,
    title?: string | null,
    totalsMainLine?: number | null,
    turnProviderId?: string | null,
    tweetCount?: number | null,
    updatedAt?: string | null,
    updatedBy?: string | null,
    usId?: string | null,
    version?: string | null,
    volume?: number | null,
    volume1mo?: number | null,
    volume1wk?: number | null,
    volume1yr?: number | null,
    volume24hr?: number | null
  }[] | null | null,
  facets?: {
    abbreviation?: string | null,
    appliesTo?: string[] | null | null,
    label?: string | null,
    parents?: string[] | null | null,
    slug?: string | null
  }[] | null | null,
  fallbackResolutionType?: string | null,
  featured?: boolean | null,
  fee?: string | null,
  feeExponent?: number | null,
  feeRate?: number | null,
  feeSchedule?: {
    exponent?: number | null,
    rate?: number | null,
    rebateRate?: number | null,
    takerOnly?: boolean | null
  } | null,
  feeType?: string | null | null,
  feesEnabled?: boolean | null,
  formatType?: string | null,
  fpmmLive?: boolean | null,
  funded?: boolean | null,
  fundedTimestamp?: string | null,
  gameId?: string | null,
  gameStartTime?: string | null,
  groupItemRange?: string | null,
  groupItemThreshold?: string | null,
  groupItemTitle?: string | null,
  hasReviewedDates?: boolean | null,
  holdingRewardsEnabled?: boolean | null,
  icon?: string | null,
  id?: string | null,
  image?: string | null,
  instrumentIndex?: number | null,
  instrumentKind?: string | null,
  lastTradePrice?: number | null,
  line?: number | null,
  liquidity?: string | null,
  liquidityAmm?: number | null,
  liquidityClob?: number | null,
  liquidityNum?: number | null,
  lowerBound?: string | null,
  lowerBoundDate?: string | null,
  mailchimpTag?: string | null,
  makerBaseFee?: number | null,
  makerRebatesFeeShareBps?: number | null,
  manualActivation?: boolean | null,
  marketGroup?: number | null,
  marketMakerAddress?: string | null,
  marketMetadata?: Record<string, any> | null,
  marketType?: string | null,
  markets?: {
    $schema?: string | null,
    acceptingOrders?: boolean | null,
    acceptingOrdersTimestamp?: string | null,
    acceptingOrdersUntil?: string | null,
    active?: boolean | null,
    ammType?: string | null,
    approved?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestAsk?: number | null,
    bestBid?: number | null,
    category?: string | null,
    categoryMailchimpTag?: string | null,
    chartColor?: string | null,
    clearBookOnStart?: boolean | null,
    clobRewards?: {
      assetAddress?: string | null,
      conditionId?: string | null,
      endDate?: string | null,
      id?: string | null,
      rewardsAmount?: number | null,
      rewardsDailyRate?: number | null,
      startDate?: string | null
    }[] | null | null,
    clobTokenIds?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    comboStatus?: string | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    conditionId?: string | null,
    createdAt?: string | null,
    createdBy?: number | null,
    creator?: string | null,
    cryptoMarketConfig?: {
      $schema?: string | null,
      asset?: string | null,
      duration?: string | null,
      id?: string | null,
      twapEnabled?: boolean | null,
      twapLookbackSeconds?: number | null
    } | null,
    cryptoMarketConfigId?: string | null,
    curationOrder?: number | null,
    customLiveness?: number | null,
    cyom?: boolean | null,
    denominationToken?: string | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    endDateIso?: string | null,
    eventStartTime?: string | null,
    events?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestLines?: {
        id?: string | null,
        line?: number | null,
        lineType?: string | null
      }[] | null | null,
      cantEstimate?: boolean | null,
      carouselMap?: string | null,
      category?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      color?: string | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      countryName?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      creationDate?: string | null,
      cumulativeMarkets?: boolean | null,
      cyom?: boolean | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      elapsed?: string | null,
      electionType?: string | null,
      enableNegRisk?: boolean | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      ended?: boolean | null,
      estimateValue?: boolean | null,
      estimatedValue?: string | null,
      eventCreators?: {
        $schema?: string | null,
        createdAt?: string | null,
        creatorHandle?: string | null,
        creatorImage?: string | null,
        creatorName?: string | null,
        creatorUrl?: string | null,
        id?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      eventDate?: string | null,
      eventMetadata?: Record<string, any> | null,
      eventWeek?: number | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        eventId?: number | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      featured?: boolean | null,
      featuredImage?: string | null,
      featuredOrder?: number | null,
      finishedTimestamp?: string | null,
      gameId?: number | null,
      gmpChartMode?: string | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      lastHighlight?: string | null,
      lastHighlightAt?: string | null,
      lastHighlightType?: string | null,
      liquidity?: number | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      live?: boolean | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      maxMarketCount?: number | null,
      moduleType?: string | null,
      negRisk?: boolean | null,
      negRiskAugmented?: boolean | null,
      negRiskFeeBips?: number | null,
      negRiskMarketID?: string | null,
      new?: boolean | null,
      openInterest?: number | null,
      parentEventId?: number | null,
      pendingDeployment?: boolean | null,
      period?: string | null,
      published_at?: string | null,
      rescheduledFromGameId?: number | null,
      resolutionMode?: string | null,
      resolutionSource?: string | null,
      restricted?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: string | null,
      series?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        cgAssetName?: string | null,
        closed?: boolean | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        description?: string | null,
        events?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestLines?: {
            id?: string | null,
            line?: number | null,
            lineType?: string | null
          }[] | null | null,
          cantEstimate?: boolean | null,
          carouselMap?: string | null,
          category?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          color?: string | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          countryName?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          creationDate?: string | null,
          cumulativeMarkets?: boolean | null,
          cyom?: boolean | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          elapsed?: string | null,
          electionType?: string | null,
          enableNegRisk?: boolean | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          ended?: boolean | null,
          estimateValue?: boolean | null,
          estimatedValue?: string | null,
          eventCreators?: {
            $schema?: string | null,
            createdAt?: string | null,
            creatorHandle?: string | null,
            creatorImage?: string | null,
            creatorName?: string | null,
            creatorUrl?: string | null,
            id?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          eventDate?: string | null,
          eventMetadata?: Record<string, any> | null,
          eventWeek?: number | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            eventId?: number | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          featured?: boolean | null,
          featuredImage?: string | null,
          featuredOrder?: number | null,
          finishedTimestamp?: string | null,
          gameId?: number | null,
          gmpChartMode?: string | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          lastHighlight?: string | null,
          lastHighlightAt?: string | null,
          lastHighlightType?: string | null,
          liquidity?: number | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          live?: boolean | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          maxMarketCount?: number | null,
          moduleType?: string | null,
          negRisk?: boolean | null,
          negRiskAugmented?: boolean | null,
          negRiskFeeBips?: number | null,
          negRiskMarketID?: string | null,
          new?: boolean | null,
          openInterest?: number | null,
          parentEventId?: number | null,
          pendingDeployment?: boolean | null,
          period?: string | null,
          published_at?: string | null,
          rescheduledFromGameId?: number | null,
          resolutionMode?: string | null,
          resolutionSource?: string | null,
          restricted?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: string | null,
          series?: {
            $schema?: string | null,
            active?: boolean | null,
            archived?: boolean | null,
            cgAssetName?: string | null,
            closed?: boolean | null,
            commentCount?: number | null,
            commentsEnabled?: boolean | null,
            competitive?: string | null,
            createdAt?: string | null,
            createdBy?: string | null,
            description?: string | null,
            events?: (recursive)[] | null | null,
            featured?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            isTemplate?: boolean | null,
            layout?: string | null,
            liquidity?: number | null,
            new?: boolean | null,
            publishedAt?: string | null,
            pythTokenID?: string | null,
            recurrence?: string | null,
            restricted?: boolean | null,
            score?: number | null,
            seriesType?: string | null,
            slug?: string | null,
            startDate?: string | null,
            subtitle?: string | null,
            templateVariables?: boolean | null,
            ticker?: string | null,
            title?: string | null,
            updatedAt?: string | null,
            updatedBy?: string | null,
            volume?: number | null,
            volume24hr?: number | null
          }[] | null | null,
          seriesSlug?: string | null,
          showAllOutcomes?: boolean | null,
          showMarketImages?: boolean | null,
          slug?: string | null,
          sortBy?: string | null,
          sport?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              sportId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            image?: string | null,
            name?: string | null,
            ordering?: string | null,
            primaryTagId?: number | null,
            resolution?: string | null,
            series?: string | null,
            sport?: string | null,
            tags?: string | null,
            updatedAt?: string | null
          } | null,
          spreadsMainLine?: number | null,
          startDate?: string | null,
          startTime?: string | null,
          subEvents?: (string | null)[] | null | null,
          subcategory?: string | null,
          subtitle?: string | null,
          tag_labels?: string[] | null | null,
          tag_slugs?: string[] | null | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          teams?: {
            $schema?: string | null,
            abbreviation?: string | null,
            alias?: string | null,
            color?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              source?: string | null,
              teamId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            league?: string | null,
            logo?: string | null,
            name?: string | null,
            ordering?: string | null,
            providerId?: number | null,
            record?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          templateVariables?: string | null,
          ticker?: string | null,
          title?: string | null,
          totalsMainLine?: number | null,
          turnProviderId?: string | null,
          tweetCount?: number | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          usId?: string | null,
          version?: string | null,
          volume?: number | null,
          volume1mo?: number | null,
          volume1wk?: number | null,
          volume1yr?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        featured?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        layout?: string | null,
        liquidity?: number | null,
        new?: boolean | null,
        publishedAt?: string | null,
        pythTokenID?: string | null,
        recurrence?: string | null,
        restricted?: boolean | null,
        score?: number | null,
        seriesType?: string | null,
        slug?: string | null,
        startDate?: string | null,
        subtitle?: string | null,
        templateVariables?: boolean | null,
        ticker?: string | null,
        title?: string | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        volume?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      seriesSlug?: string | null,
      showAllOutcomes?: boolean | null,
      showMarketImages?: boolean | null,
      slug?: string | null,
      sortBy?: string | null,
      sport?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          sportId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        image?: string | null,
        name?: string | null,
        ordering?: string | null,
        primaryTagId?: number | null,
        resolution?: string | null,
        series?: string | null,
        sport?: string | null,
        tags?: string | null,
        updatedAt?: string | null
      } | null,
      spreadsMainLine?: number | null,
      startDate?: string | null,
      startTime?: string | null,
      subEvents?: (string | null)[] | null | null,
      subcategory?: string | null,
      subtitle?: string | null,
      tag_labels?: string[] | null | null,
      tag_slugs?: string[] | null | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      teams?: {
        $schema?: string | null,
        abbreviation?: string | null,
        alias?: string | null,
        color?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          source?: string | null,
          teamId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        league?: string | null,
        logo?: string | null,
        name?: string | null,
        ordering?: string | null,
        providerId?: number | null,
        record?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      templateVariables?: string | null,
      ticker?: string | null,
      title?: string | null,
      totalsMainLine?: number | null,
      turnProviderId?: string | null,
      tweetCount?: number | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      usId?: string | null,
      version?: string | null,
      volume?: number | null,
      volume1mo?: number | null,
      volume1wk?: number | null,
      volume1yr?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    fallbackResolutionType?: string | null,
    featured?: boolean | null,
    fee?: string | null,
    feeExponent?: number | null,
    feeRate?: number | null,
    feeSchedule?: {
      exponent?: number | null,
      rate?: number | null,
      rebateRate?: number | null,
      takerOnly?: boolean | null
    } | null,
    feeType?: string | null | null,
    feesEnabled?: boolean | null,
    formatType?: string | null,
    fpmmLive?: boolean | null,
    funded?: boolean | null,
    fundedTimestamp?: string | null,
    gameId?: string | null,
    gameStartTime?: string | null,
    groupItemRange?: string | null,
    groupItemThreshold?: string | null,
    groupItemTitle?: string | null,
    hasReviewedDates?: boolean | null,
    holdingRewardsEnabled?: boolean | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    instrumentIndex?: number | null,
    instrumentKind?: string | null,
    lastTradePrice?: number | null,
    line?: number | null,
    liquidity?: string | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    liquidityNum?: number | null,
    lowerBound?: string | null,
    lowerBoundDate?: string | null,
    mailchimpTag?: string | null,
    makerBaseFee?: number | null,
    makerRebatesFeeShareBps?: number | null,
    manualActivation?: boolean | null,
    marketGroup?: number | null,
    marketMakerAddress?: string | null,
    marketMetadata?: Record<string, any> | null,
    marketType?: string | null,
    markets?: (recursive)[] | null | null,
    negRisk?: boolean | null,
    negRiskMarketID?: string | null,
    negRiskOther?: boolean | null,
    negRiskRequestID?: string | null,
    new?: boolean | null,
    notificationsEnabled?: boolean | null,
    onchainEventId?: string | null,
    oneDayPriceChange?: number | null,
    oneHourPriceChange?: number | null,
    oneMonthPriceChange?: number | null,
    oneWeekPriceChange?: number | null,
    oneYearPriceChange?: number | null,
    orderMinSize?: number | null,
    orderPriceMinTickSize?: number | null,
    outcomePrices?: string | null,
    outcomes?: string | null,
    pastSlugs?: string | null,
    pendingDeployment?: boolean | null,
    positionIds?: string[] | null | null,
    question?: string | null,
    questionID?: string | null,
    ready?: boolean | null,
    readyForCron?: boolean | null,
    readyTimestamp?: string | null,
    requestId?: string | null,
    resolutionMechanism?: string | null | null,
    resolutionSource?: string | null,
    resolutionStatus?: string | null,
    resolvedBy?: string | null,
    restricted?: boolean | null,
    rewardsMaxSpread?: number | null,
    rewardsMinSize?: number | null,
    rfqEnabled?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: number | null,
    secondsDelay?: number | null,
    sentDiscord?: boolean | null,
    seriesColor?: string | null,
    shortOutcomes?: string | null,
    showGmpOutcome?: boolean | null,
    showGmpSeries?: boolean | null,
    slug?: string | null,
    sponsorImage?: string | null,
    sponsorName?: string | null,
    sportsMarketType?: string | null,
    spread?: number | null,
    startDate?: string | null,
    startDateIso?: string | null,
    subcategory?: string | null,
    submitted_by?: string | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    takerBaseFee?: number | null,
    teamAID?: string | null,
    teamBID?: string | null,
    tradingEligible?: boolean | null | null,
    twitterCardImage?: string | null,
    twitterCardLastRefreshed?: string | null,
    twitterCardLastValidated?: string | null,
    twitterCardLocation?: string | null,
    umaBond?: string | null,
    umaEndDate?: string | null,
    umaEndDateIso?: string | null,
    umaResolutionStatus?: string | null,
    umaResolutionStatuses?: string | null,
    umaReward?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null,
    upperBound?: string | null,
    upperBoundDate?: string | null,
    version?: string | null,
    volume?: string | null,
    volume1mo?: number | null,
    volume1moAmm?: number | null,
    volume1moClob?: number | null,
    volume1wk?: number | null,
    volume1wkAmm?: number | null,
    volume1wkClob?: number | null,
    volume1yr?: number | null,
    volume1yrAmm?: number | null,
    volume1yrClob?: number | null,
    volume24hr?: number | null,
    volume24hrAmm?: number | null,
    volume24hrClob?: number | null,
    volumeAmm?: number | null,
    volumeClob?: number | null,
    volumeNum?: number | null,
    wideFormat?: boolean | null,
    xAxisValue?: string | null,
    yAxisValue?: string | null
  }[] | null | null,
  negRisk?: boolean | null,
  negRiskMarketID?: string | null,
  negRiskOther?: boolean | null,
  negRiskRequestID?: string | null,
  new?: boolean | null,
  notificationsEnabled?: boolean | null,
  onchainEventId?: string | null,
  oneDayPriceChange?: number | null,
  oneHourPriceChange?: number | null,
  oneMonthPriceChange?: number | null,
  oneWeekPriceChange?: number | null,
  oneYearPriceChange?: number | null,
  orderMinSize?: number | null,
  orderPriceMinTickSize?: number | null,
  outcomePrices?: string | null,
  outcomes?: string | null,
  pastSlugs?: string | null,
  pendingDeployment?: boolean | null,
  positionIds?: string[] | null | null,
  question?: string | null,
  questionID?: string | null,
  ready?: boolean | null,
  readyForCron?: boolean | null,
  readyTimestamp?: string | null,
  requestId?: string | null,
  resolutionMechanism?: string | null | null,
  resolutionSource?: string | null,
  resolutionStatus?: string | null,
  resolvedBy?: string | null,
  restricted?: boolean | null,
  rewardsMaxSpread?: number | null,
  rewardsMinSize?: number | null,
  rfqEnabled?: boolean | null,
  scheduledDeploymentTimestamp?: string | null,
  score?: number | null,
  secondsDelay?: number | null,
  sentDiscord?: boolean | null,
  seriesColor?: string | null,
  shortOutcomes?: string | null,
  showGmpOutcome?: boolean | null,
  showGmpSeries?: boolean | null,
  slug?: string | null,
  sponsorImage?: string | null,
  sponsorName?: string | null,
  sportsMarketType?: string | null,
  spread?: number | null,
  startDate?: string | null,
  startDateIso?: string | null,
  subcategory?: string | null,
  submitted_by?: string | null,
  tags?: {
    $schema?: string | null,
    activeEventsCount?: number | null,
    createdAt?: string | null,
    createdBy?: number | null,
    forceHide?: boolean | null,
    forceShow?: boolean | null,
    id?: string | null,
    isCarousel?: boolean | null,
    label?: string | null,
    publishedAt?: string | null,
    slug?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null
  }[] | null | null,
  takerBaseFee?: number | null,
  teamAID?: string | null,
  teamBID?: string | null,
  tradingEligible?: boolean | null | null,
  twitterCardImage?: string | null,
  twitterCardLastRefreshed?: string | null,
  twitterCardLastValidated?: string | null,
  twitterCardLocation?: string | null,
  umaBond?: string | null,
  umaEndDate?: string | null,
  umaEndDateIso?: string | null,
  umaResolutionStatus?: string | null,
  umaResolutionStatuses?: string | null,
  umaReward?: string | null,
  updatedAt?: string | null,
  updatedBy?: number | null,
  upperBound?: string | null,
  upperBoundDate?: string | null,
  version?: string | null,
  volume?: string | null,
  volume1mo?: number | null,
  volume1moAmm?: number | null,
  volume1moClob?: number | null,
  volume1wk?: number | null,
  volume1wkAmm?: number | null,
  volume1wkClob?: number | null,
  volume1yr?: number | null,
  volume1yrAmm?: number | null,
  volume1yrClob?: number | null,
  volume24hr?: number | null,
  volume24hrAmm?: number | null,
  volume24hrClob?: number | null,
  volumeAmm?: number | null,
  volumeClob?: number | null,
  volumeNum?: number | null,
  wideFormat?: boolean | null,
  xAxisValue?: string | null,
  yAxisValue?: string | null
}[] | null
```

***

### markets.listAbridgedKeyset

`gamma.markets.listAbridgedKeyset`

Get abridged markets with keyset pagination

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.markets.listAbridgedKeyset({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Max results returned |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `after_cursor` | `string` | No | Opaque keyset pagination cursor from a previous response |
| `include_facets` | `string` | No | Include the facets assigned to each market (true/false). Facets are the assigned ones plus their ancestors. |
| `clobTokenIds` | `string[] \| null` | No | — |
| `closed` | `boolean \| null` | No | — |
| `comboStatus` | `string \| null` | No | — |
| `conditionIds` | `string[] \| null` | No | — |
| `cyom` | `boolean \| null` | No | — |
| `endDateMax` | `string \| null` | No | — |
| `endDateMin` | `string \| null` | No | — |
| `facets` | `string \| null` | No | AIP-160 expression over facet slugs, as the facets query parameter on GET /markets |
| `gameId` | `string \| null` | No | — |
| `id` | `number[] \| null` | No | — |
| `includeTags` | `boolean \| null` | No | — |
| `liquidityNumMax` | `number \| null` | No | — |
| `liquidityNumMin` | `number \| null` | No | — |
| `marketMakerAddress` | `string[] \| null` | No | — |
| `onchainEventIds` | `string[] \| null` | No | — |
| `positionIds` | `string[] \| null` | No | — |
| `questionIds` | `string[] \| null` | No | — |
| `relatedTags` | `boolean \| null` | No | — |
| `requestIds` | `string[] \| null` | No | — |
| `rewardsMinSize` | `number` | No | — |
| `rfqEnabled` | `boolean \| null` | No | — |
| `slug` | `string[] \| null` | No | — |
| `sportsMarketTypes` | `string[] \| null` | No | — |
| `startDateMax` | `string \| null` | No | — |
| `startDateMin` | `string \| null` | No | — |
| `tagId` | `number[] \| null` | No | — |
| `umaResolutionStatus` | `string \| null` | No | — |
| `version` | `string[] \| null` | No | — |
| `volumeNumMax` | `number \| null` | No | — |
| `volumeNumMin` | `number \| null` | No | — |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `markets` | `object[] \| null` | No | — |
| `next_cursor` | `string \| null` | No | — |

```ts theme={null}
{
  $schema?: string | null,
  acceptingOrders?: boolean | null,
  acceptingOrdersTimestamp?: string | null,
  acceptingOrdersUntil?: string | null,
  active?: boolean | null,
  ammType?: string | null,
  approved?: boolean | null,
  archived?: boolean | null,
  automaticallyActive?: boolean | null,
  automaticallyResolved?: boolean | null,
  bestAsk?: number | null,
  bestBid?: number | null,
  category?: string | null,
  categoryMailchimpTag?: string | null,
  chartColor?: string | null,
  clearBookOnStart?: boolean | null,
  clobRewards?: {
    assetAddress?: string | null,
    conditionId?: string | null,
    endDate?: string | null,
    id?: string | null,
    rewardsAmount?: number | null,
    rewardsDailyRate?: number | null,
    startDate?: string | null
  }[] | null | null,
  clobTokenIds?: string | null,
  closed?: boolean | null,
  closedTime?: string | null,
  comboStatus?: string | null,
  commentsEnabled?: boolean | null,
  competitive?: number | null,
  conditionId?: string | null,
  createdAt?: string | null,
  createdBy?: number | null,
  creator?: string | null,
  cryptoMarketConfig?: {
    $schema?: string | null,
    asset?: string | null,
    duration?: string | null,
    id?: string | null,
    twapEnabled?: boolean | null,
    twapLookbackSeconds?: number | null
  } | null,
  cryptoMarketConfigId?: string | null,
  curationOrder?: number | null,
  customLiveness?: number | null,
  cyom?: boolean | null,
  denominationToken?: string | null,
  deploying?: boolean | null,
  deployingTimestamp?: string | null,
  description?: string | null,
  disqusThread?: string | null,
  enableOrderBook?: boolean | null,
  endDate?: string | null,
  endDateIso?: string | null,
  eventStartTime?: string | null,
  events?: {
    $schema?: string | null,
    active?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestLines?: {
      id?: string | null,
      line?: number | null,
      lineType?: string | null
    }[] | null | null,
    cantEstimate?: boolean | null,
    carouselMap?: string | null,
    category?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    color?: string | null,
    commentCount?: number | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    countryName?: string | null,
    createdAt?: string | null,
    createdBy?: string | null,
    creationDate?: string | null,
    cumulativeMarkets?: boolean | null,
    cyom?: boolean | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    elapsed?: string | null,
    electionType?: string | null,
    enableNegRisk?: boolean | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    ended?: boolean | null,
    estimateValue?: boolean | null,
    estimatedValue?: string | null,
    eventCreators?: {
      $schema?: string | null,
      createdAt?: string | null,
      creatorHandle?: string | null,
      creatorImage?: string | null,
      creatorName?: string | null,
      creatorUrl?: string | null,
      id?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    eventDate?: string | null,
    eventMetadata?: Record<string, any> | null,
    eventWeek?: number | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      eventId?: number | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    featured?: boolean | null,
    featuredImage?: string | null,
    featuredOrder?: number | null,
    finishedTimestamp?: string | null,
    gameId?: number | null,
    gmpChartMode?: string | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    isTemplate?: boolean | null,
    lastHighlight?: string | null,
    lastHighlightAt?: string | null,
    lastHighlightType?: string | null,
    liquidity?: number | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    live?: boolean | null,
    markets?: {
      $schema?: string | null,
      acceptingOrders?: boolean | null,
      acceptingOrdersTimestamp?: string | null,
      acceptingOrdersUntil?: string | null,
      active?: boolean | null,
      ammType?: string | null,
      approved?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestAsk?: number | null,
      bestBid?: number | null,
      category?: string | null,
      categoryMailchimpTag?: string | null,
      chartColor?: string | null,
      clearBookOnStart?: boolean | null,
      clobRewards?: {
        assetAddress?: string | null,
        conditionId?: string | null,
        endDate?: string | null,
        id?: string | null,
        rewardsAmount?: number | null,
        rewardsDailyRate?: number | null,
        startDate?: string | null
      }[] | null | null,
      clobTokenIds?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      comboStatus?: string | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      conditionId?: string | null,
      createdAt?: string | null,
      createdBy?: number | null,
      creator?: string | null,
      cryptoMarketConfig?: {
        $schema?: string | null,
        asset?: string | null,
        duration?: string | null,
        id?: string | null,
        twapEnabled?: boolean | null,
        twapLookbackSeconds?: number | null
      } | null,
      cryptoMarketConfigId?: string | null,
      curationOrder?: number | null,
      customLiveness?: number | null,
      cyom?: boolean | null,
      denominationToken?: string | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      endDateIso?: string | null,
      eventStartTime?: string | null,
      events?: (recursive)[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      fallbackResolutionType?: string | null,
      featured?: boolean | null,
      fee?: string | null,
      feeExponent?: number | null,
      feeRate?: number | null,
      feeSchedule?: {
        exponent?: number | null,
        rate?: number | null,
        rebateRate?: number | null,
        takerOnly?: boolean | null
      } | null,
      feeType?: string | null | null,
      feesEnabled?: boolean | null,
      formatType?: string | null,
      fpmmLive?: boolean | null,
      funded?: boolean | null,
      fundedTimestamp?: string | null,
      gameId?: string | null,
      gameStartTime?: string | null,
      groupItemRange?: string | null,
      groupItemThreshold?: string | null,
      groupItemTitle?: string | null,
      hasReviewedDates?: boolean | null,
      holdingRewardsEnabled?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      instrumentIndex?: number | null,
      instrumentKind?: string | null,
      lastTradePrice?: number | null,
      line?: number | null,
      liquidity?: string | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      liquidityNum?: number | null,
      lowerBound?: string | null,
      lowerBoundDate?: string | null,
      mailchimpTag?: string | null,
      makerBaseFee?: number | null,
      makerRebatesFeeShareBps?: number | null,
      manualActivation?: boolean | null,
      marketGroup?: number | null,
      marketMakerAddress?: string | null,
      marketMetadata?: Record<string, any> | null,
      marketType?: string | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      negRisk?: boolean | null,
      negRiskMarketID?: string | null,
      negRiskOther?: boolean | null,
      negRiskRequestID?: string | null,
      new?: boolean | null,
      notificationsEnabled?: boolean | null,
      onchainEventId?: string | null,
      oneDayPriceChange?: number | null,
      oneHourPriceChange?: number | null,
      oneMonthPriceChange?: number | null,
      oneWeekPriceChange?: number | null,
      oneYearPriceChange?: number | null,
      orderMinSize?: number | null,
      orderPriceMinTickSize?: number | null,
      outcomePrices?: string | null,
      outcomes?: string | null,
      pastSlugs?: string | null,
      pendingDeployment?: boolean | null,
      positionIds?: string[] | null | null,
      question?: string | null,
      questionID?: string | null,
      ready?: boolean | null,
      readyForCron?: boolean | null,
      readyTimestamp?: string | null,
      requestId?: string | null,
      resolutionMechanism?: string | null | null,
      resolutionSource?: string | null,
      resolutionStatus?: string | null,
      resolvedBy?: string | null,
      restricted?: boolean | null,
      rewardsMaxSpread?: number | null,
      rewardsMinSize?: number | null,
      rfqEnabled?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: number | null,
      secondsDelay?: number | null,
      sentDiscord?: boolean | null,
      seriesColor?: string | null,
      shortOutcomes?: string | null,
      showGmpOutcome?: boolean | null,
      showGmpSeries?: boolean | null,
      slug?: string | null,
      sponsorImage?: string | null,
      sponsorName?: string | null,
      sportsMarketType?: string | null,
      spread?: number | null,
      startDate?: string | null,
      startDateIso?: string | null,
      subcategory?: string | null,
      submitted_by?: string | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      takerBaseFee?: number | null,
      teamAID?: string | null,
      teamBID?: string | null,
      tradingEligible?: boolean | null | null,
      twitterCardImage?: string | null,
      twitterCardLastRefreshed?: string | null,
      twitterCardLastValidated?: string | null,
      twitterCardLocation?: string | null,
      umaBond?: string | null,
      umaEndDate?: string | null,
      umaEndDateIso?: string | null,
      umaResolutionStatus?: string | null,
      umaResolutionStatuses?: string | null,
      umaReward?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null,
      upperBound?: string | null,
      upperBoundDate?: string | null,
      version?: string | null,
      volume?: string | null,
      volume1mo?: number | null,
      volume1moAmm?: number | null,
      volume1moClob?: number | null,
      volume1wk?: number | null,
      volume1wkAmm?: number | null,
      volume1wkClob?: number | null,
      volume1yr?: number | null,
      volume1yrAmm?: number | null,
      volume1yrClob?: number | null,
      volume24hr?: number | null,
      volume24hrAmm?: number | null,
      volume24hrClob?: number | null,
      volumeAmm?: number | null,
      volumeClob?: number | null,
      volumeNum?: number | null,
      wideFormat?: boolean | null,
      xAxisValue?: string | null,
      yAxisValue?: string | null
    }[] | null | null,
    maxMarketCount?: number | null,
    moduleType?: string | null,
    negRisk?: boolean | null,
    negRiskAugmented?: boolean | null,
    negRiskFeeBips?: number | null,
    negRiskMarketID?: string | null,
    new?: boolean | null,
    openInterest?: number | null,
    parentEventId?: number | null,
    pendingDeployment?: boolean | null,
    period?: string | null,
    published_at?: string | null,
    rescheduledFromGameId?: number | null,
    resolutionMode?: string | null,
    resolutionSource?: string | null,
    restricted?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: string | null,
    series?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      cgAssetName?: string | null,
      closed?: boolean | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      description?: string | null,
      events?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestLines?: {
          id?: string | null,
          line?: number | null,
          lineType?: string | null
        }[] | null | null,
        cantEstimate?: boolean | null,
        carouselMap?: string | null,
        category?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        color?: string | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        countryName?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        creationDate?: string | null,
        cumulativeMarkets?: boolean | null,
        cyom?: boolean | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        elapsed?: string | null,
        electionType?: string | null,
        enableNegRisk?: boolean | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        ended?: boolean | null,
        estimateValue?: boolean | null,
        estimatedValue?: string | null,
        eventCreators?: {
          $schema?: string | null,
          createdAt?: string | null,
          creatorHandle?: string | null,
          creatorImage?: string | null,
          creatorName?: string | null,
          creatorUrl?: string | null,
          id?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        eventDate?: string | null,
        eventMetadata?: Record<string, any> | null,
        eventWeek?: number | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          eventId?: number | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        featured?: boolean | null,
        featuredImage?: string | null,
        featuredOrder?: number | null,
        finishedTimestamp?: string | null,
        gameId?: number | null,
        gmpChartMode?: string | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        lastHighlight?: string | null,
        lastHighlightAt?: string | null,
        lastHighlightType?: string | null,
        liquidity?: number | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        live?: boolean | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: (recursive)[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        maxMarketCount?: number | null,
        moduleType?: string | null,
        negRisk?: boolean | null,
        negRiskAugmented?: boolean | null,
        negRiskFeeBips?: number | null,
        negRiskMarketID?: string | null,
        new?: boolean | null,
        openInterest?: number | null,
        parentEventId?: number | null,
        pendingDeployment?: boolean | null,
        period?: string | null,
        published_at?: string | null,
        rescheduledFromGameId?: number | null,
        resolutionMode?: string | null,
        resolutionSource?: string | null,
        restricted?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: string | null,
        series?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          cgAssetName?: string | null,
          closed?: boolean | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          description?: string | null,
          events?: (recursive)[] | null | null,
          featured?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          layout?: string | null,
          liquidity?: number | null,
          new?: boolean | null,
          publishedAt?: string | null,
          pythTokenID?: string | null,
          recurrence?: string | null,
          restricted?: boolean | null,
          score?: number | null,
          seriesType?: string | null,
          slug?: string | null,
          startDate?: string | null,
          subtitle?: string | null,
          templateVariables?: boolean | null,
          ticker?: string | null,
          title?: string | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          volume?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        seriesSlug?: string | null,
        showAllOutcomes?: boolean | null,
        showMarketImages?: boolean | null,
        slug?: string | null,
        sortBy?: string | null,
        sport?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            sportId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          image?: string | null,
          name?: string | null,
          ordering?: string | null,
          primaryTagId?: number | null,
          resolution?: string | null,
          series?: string | null,
          sport?: string | null,
          tags?: string | null,
          updatedAt?: string | null
        } | null,
        spreadsMainLine?: number | null,
        startDate?: string | null,
        startTime?: string | null,
        subEvents?: (string | null)[] | null | null,
        subcategory?: string | null,
        subtitle?: string | null,
        tag_labels?: string[] | null | null,
        tag_slugs?: string[] | null | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        teams?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        templateVariables?: string | null,
        ticker?: string | null,
        title?: string | null,
        totalsMainLine?: number | null,
        turnProviderId?: string | null,
        tweetCount?: number | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        usId?: string | null,
        version?: string | null,
        volume?: number | null,
        volume1mo?: number | null,
        volume1wk?: number | null,
        volume1yr?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      featured?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      layout?: string | null,
      liquidity?: number | null,
      new?: boolean | null,
      publishedAt?: string | null,
      pythTokenID?: string | null,
      recurrence?: string | null,
      restricted?: boolean | null,
      score?: number | null,
      seriesType?: string | null,
      slug?: string | null,
      startDate?: string | null,
      subtitle?: string | null,
      templateVariables?: boolean | null,
      ticker?: string | null,
      title?: string | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      volume?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    seriesSlug?: string | null,
    showAllOutcomes?: boolean | null,
    showMarketImages?: boolean | null,
    slug?: string | null,
    sortBy?: string | null,
    sport?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        sportId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      image?: string | null,
      name?: string | null,
      ordering?: string | null,
      primaryTagId?: number | null,
      resolution?: string | null,
      series?: string | null,
      sport?: string | null,
      tags?: string | null,
      updatedAt?: string | null
    } | null,
    spreadsMainLine?: number | null,
    startDate?: string | null,
    startTime?: string | null,
    subEvents?: (string | null)[] | null | null,
    subcategory?: string | null,
    subtitle?: string | null,
    tag_labels?: string[] | null | null,
    tag_slugs?: string[] | null | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    teams?: {
      $schema?: string | null,
      abbreviation?: string | null,
      alias?: string | null,
      color?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        source?: string | null,
        teamId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      league?: string | null,
      logo?: string | null,
      name?: string | null,
      ordering?: string | null,
      providerId?: number | null,
      record?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    templateVariables?: string | null,
    ticker?: string | null,
    title?: string | null,
    totalsMainLine?: number | null,
    turnProviderId?: string | null,
    tweetCount?: number | null,
    updatedAt?: string | null,
    updatedBy?: string | null,
    usId?: string | null,
    version?: string | null,
    volume?: number | null,
    volume1mo?: number | null,
    volume1wk?: number | null,
    volume1yr?: number | null,
    volume24hr?: number | null
  }[] | null | null,
  facets?: {
    abbreviation?: string | null,
    appliesTo?: string[] | null | null,
    label?: string | null,
    parents?: string[] | null | null,
    slug?: string | null
  }[] | null | null,
  fallbackResolutionType?: string | null,
  featured?: boolean | null,
  fee?: string | null,
  feeExponent?: number | null,
  feeRate?: number | null,
  feeSchedule?: {
    exponent?: number | null,
    rate?: number | null,
    rebateRate?: number | null,
    takerOnly?: boolean | null
  } | null,
  feeType?: string | null | null,
  feesEnabled?: boolean | null,
  formatType?: string | null,
  fpmmLive?: boolean | null,
  funded?: boolean | null,
  fundedTimestamp?: string | null,
  gameId?: string | null,
  gameStartTime?: string | null,
  groupItemRange?: string | null,
  groupItemThreshold?: string | null,
  groupItemTitle?: string | null,
  hasReviewedDates?: boolean | null,
  holdingRewardsEnabled?: boolean | null,
  icon?: string | null,
  id?: string | null,
  image?: string | null,
  instrumentIndex?: number | null,
  instrumentKind?: string | null,
  lastTradePrice?: number | null,
  line?: number | null,
  liquidity?: string | null,
  liquidityAmm?: number | null,
  liquidityClob?: number | null,
  liquidityNum?: number | null,
  lowerBound?: string | null,
  lowerBoundDate?: string | null,
  mailchimpTag?: string | null,
  makerBaseFee?: number | null,
  makerRebatesFeeShareBps?: number | null,
  manualActivation?: boolean | null,
  marketGroup?: number | null,
  marketMakerAddress?: string | null,
  marketMetadata?: Record<string, any> | null,
  marketType?: string | null,
  markets?: {
    $schema?: string | null,
    acceptingOrders?: boolean | null,
    acceptingOrdersTimestamp?: string | null,
    acceptingOrdersUntil?: string | null,
    active?: boolean | null,
    ammType?: string | null,
    approved?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestAsk?: number | null,
    bestBid?: number | null,
    category?: string | null,
    categoryMailchimpTag?: string | null,
    chartColor?: string | null,
    clearBookOnStart?: boolean | null,
    clobRewards?: {
      assetAddress?: string | null,
      conditionId?: string | null,
      endDate?: string | null,
      id?: string | null,
      rewardsAmount?: number | null,
      rewardsDailyRate?: number | null,
      startDate?: string | null
    }[] | null | null,
    clobTokenIds?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    comboStatus?: string | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    conditionId?: string | null,
    createdAt?: string | null,
    createdBy?: number | null,
    creator?: string | null,
    cryptoMarketConfig?: {
      $schema?: string | null,
      asset?: string | null,
      duration?: string | null,
      id?: string | null,
      twapEnabled?: boolean | null,
      twapLookbackSeconds?: number | null
    } | null,
    cryptoMarketConfigId?: string | null,
    curationOrder?: number | null,
    customLiveness?: number | null,
    cyom?: boolean | null,
    denominationToken?: string | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    endDateIso?: string | null,
    eventStartTime?: string | null,
    events?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestLines?: {
        id?: string | null,
        line?: number | null,
        lineType?: string | null
      }[] | null | null,
      cantEstimate?: boolean | null,
      carouselMap?: string | null,
      category?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      color?: string | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      countryName?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      creationDate?: string | null,
      cumulativeMarkets?: boolean | null,
      cyom?: boolean | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      elapsed?: string | null,
      electionType?: string | null,
      enableNegRisk?: boolean | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      ended?: boolean | null,
      estimateValue?: boolean | null,
      estimatedValue?: string | null,
      eventCreators?: {
        $schema?: string | null,
        createdAt?: string | null,
        creatorHandle?: string | null,
        creatorImage?: string | null,
        creatorName?: string | null,
        creatorUrl?: string | null,
        id?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      eventDate?: string | null,
      eventMetadata?: Record<string, any> | null,
      eventWeek?: number | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        eventId?: number | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      featured?: boolean | null,
      featuredImage?: string | null,
      featuredOrder?: number | null,
      finishedTimestamp?: string | null,
      gameId?: number | null,
      gmpChartMode?: string | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      lastHighlight?: string | null,
      lastHighlightAt?: string | null,
      lastHighlightType?: string | null,
      liquidity?: number | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      live?: boolean | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      maxMarketCount?: number | null,
      moduleType?: string | null,
      negRisk?: boolean | null,
      negRiskAugmented?: boolean | null,
      negRiskFeeBips?: number | null,
      negRiskMarketID?: string | null,
      new?: boolean | null,
      openInterest?: number | null,
      parentEventId?: number | null,
      pendingDeployment?: boolean | null,
      period?: string | null,
      published_at?: string | null,
      rescheduledFromGameId?: number | null,
      resolutionMode?: string | null,
      resolutionSource?: string | null,
      restricted?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: string | null,
      series?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        cgAssetName?: string | null,
        closed?: boolean | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        description?: string | null,
        events?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestLines?: {
            id?: string | null,
            line?: number | null,
            lineType?: string | null
          }[] | null | null,
          cantEstimate?: boolean | null,
          carouselMap?: string | null,
          category?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          color?: string | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          countryName?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          creationDate?: string | null,
          cumulativeMarkets?: boolean | null,
          cyom?: boolean | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          elapsed?: string | null,
          electionType?: string | null,
          enableNegRisk?: boolean | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          ended?: boolean | null,
          estimateValue?: boolean | null,
          estimatedValue?: string | null,
          eventCreators?: {
            $schema?: string | null,
            createdAt?: string | null,
            creatorHandle?: string | null,
            creatorImage?: string | null,
            creatorName?: string | null,
            creatorUrl?: string | null,
            id?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          eventDate?: string | null,
          eventMetadata?: Record<string, any> | null,
          eventWeek?: number | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            eventId?: number | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          featured?: boolean | null,
          featuredImage?: string | null,
          featuredOrder?: number | null,
          finishedTimestamp?: string | null,
          gameId?: number | null,
          gmpChartMode?: string | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          lastHighlight?: string | null,
          lastHighlightAt?: string | null,
          lastHighlightType?: string | null,
          liquidity?: number | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          live?: boolean | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          maxMarketCount?: number | null,
          moduleType?: string | null,
          negRisk?: boolean | null,
          negRiskAugmented?: boolean | null,
          negRiskFeeBips?: number | null,
          negRiskMarketID?: string | null,
          new?: boolean | null,
          openInterest?: number | null,
          parentEventId?: number | null,
          pendingDeployment?: boolean | null,
          period?: string | null,
          published_at?: string | null,
          rescheduledFromGameId?: number | null,
          resolutionMode?: string | null,
          resolutionSource?: string | null,
          restricted?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: string | null,
          series?: {
            $schema?: string | null,
            active?: boolean | null,
            archived?: boolean | null,
            cgAssetName?: string | null,
            closed?: boolean | null,
            commentCount?: number | null,
            commentsEnabled?: boolean | null,
            competitive?: string | null,
            createdAt?: string | null,
            createdBy?: string | null,
            description?: string | null,
            events?: (recursive)[] | null | null,
            featured?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            isTemplate?: boolean | null,
            layout?: string | null,
            liquidity?: number | null,
            new?: boolean | null,
            publishedAt?: string | null,
            pythTokenID?: string | null,
            recurrence?: string | null,
            restricted?: boolean | null,
            score?: number | null,
            seriesType?: string | null,
            slug?: string | null,
            startDate?: string | null,
            subtitle?: string | null,
            templateVariables?: boolean | null,
            ticker?: string | null,
            title?: string | null,
            updatedAt?: string | null,
            updatedBy?: string | null,
            volume?: number | null,
            volume24hr?: number | null
          }[] | null | null,
          seriesSlug?: string | null,
          showAllOutcomes?: boolean | null,
          showMarketImages?: boolean | null,
          slug?: string | null,
          sortBy?: string | null,
          sport?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              sportId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            image?: string | null,
            name?: string | null,
            ordering?: string | null,
            primaryTagId?: number | null,
            resolution?: string | null,
            series?: string | null,
            sport?: string | null,
            tags?: string | null,
            updatedAt?: string | null
          } | null,
          spreadsMainLine?: number | null,
          startDate?: string | null,
          startTime?: string | null,
          subEvents?: (string | null)[] | null | null,
          subcategory?: string | null,
          subtitle?: string | null,
          tag_labels?: string[] | null | null,
          tag_slugs?: string[] | null | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          teams?: {
            $schema?: string | null,
            abbreviation?: string | null,
            alias?: string | null,
            color?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              source?: string | null,
              teamId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            league?: string | null,
            logo?: string | null,
            name?: string | null,
            ordering?: string | null,
            providerId?: number | null,
            record?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          templateVariables?: string | null,
          ticker?: string | null,
          title?: string | null,
          totalsMainLine?: number | null,
          turnProviderId?: string | null,
          tweetCount?: number | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          usId?: string | null,
          version?: string | null,
          volume?: number | null,
          volume1mo?: number | null,
          volume1wk?: number | null,
          volume1yr?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        featured?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        layout?: string | null,
        liquidity?: number | null,
        new?: boolean | null,
        publishedAt?: string | null,
        pythTokenID?: string | null,
        recurrence?: string | null,
        restricted?: boolean | null,
        score?: number | null,
        seriesType?: string | null,
        slug?: string | null,
        startDate?: string | null,
        subtitle?: string | null,
        templateVariables?: boolean | null,
        ticker?: string | null,
        title?: string | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        volume?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      seriesSlug?: string | null,
      showAllOutcomes?: boolean | null,
      showMarketImages?: boolean | null,
      slug?: string | null,
      sortBy?: string | null,
      sport?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          sportId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        image?: string | null,
        name?: string | null,
        ordering?: string | null,
        primaryTagId?: number | null,
        resolution?: string | null,
        series?: string | null,
        sport?: string | null,
        tags?: string | null,
        updatedAt?: string | null
      } | null,
      spreadsMainLine?: number | null,
      startDate?: string | null,
      startTime?: string | null,
      subEvents?: (string | null)[] | null | null,
      subcategory?: string | null,
      subtitle?: string | null,
      tag_labels?: string[] | null | null,
      tag_slugs?: string[] | null | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      teams?: {
        $schema?: string | null,
        abbreviation?: string | null,
        alias?: string | null,
        color?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          source?: string | null,
          teamId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        league?: string | null,
        logo?: string | null,
        name?: string | null,
        ordering?: string | null,
        providerId?: number | null,
        record?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      templateVariables?: string | null,
      ticker?: string | null,
      title?: string | null,
      totalsMainLine?: number | null,
      turnProviderId?: string | null,
      tweetCount?: number | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      usId?: string | null,
      version?: string | null,
      volume?: number | null,
      volume1mo?: number | null,
      volume1wk?: number | null,
      volume1yr?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    fallbackResolutionType?: string | null,
    featured?: boolean | null,
    fee?: string | null,
    feeExponent?: number | null,
    feeRate?: number | null,
    feeSchedule?: {
      exponent?: number | null,
      rate?: number | null,
      rebateRate?: number | null,
      takerOnly?: boolean | null
    } | null,
    feeType?: string | null | null,
    feesEnabled?: boolean | null,
    formatType?: string | null,
    fpmmLive?: boolean | null,
    funded?: boolean | null,
    fundedTimestamp?: string | null,
    gameId?: string | null,
    gameStartTime?: string | null,
    groupItemRange?: string | null,
    groupItemThreshold?: string | null,
    groupItemTitle?: string | null,
    hasReviewedDates?: boolean | null,
    holdingRewardsEnabled?: boolean | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    instrumentIndex?: number | null,
    instrumentKind?: string | null,
    lastTradePrice?: number | null,
    line?: number | null,
    liquidity?: string | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    liquidityNum?: number | null,
    lowerBound?: string | null,
    lowerBoundDate?: string | null,
    mailchimpTag?: string | null,
    makerBaseFee?: number | null,
    makerRebatesFeeShareBps?: number | null,
    manualActivation?: boolean | null,
    marketGroup?: number | null,
    marketMakerAddress?: string | null,
    marketMetadata?: Record<string, any> | null,
    marketType?: string | null,
    markets?: (recursive)[] | null | null,
    negRisk?: boolean | null,
    negRiskMarketID?: string | null,
    negRiskOther?: boolean | null,
    negRiskRequestID?: string | null,
    new?: boolean | null,
    notificationsEnabled?: boolean | null,
    onchainEventId?: string | null,
    oneDayPriceChange?: number | null,
    oneHourPriceChange?: number | null,
    oneMonthPriceChange?: number | null,
    oneWeekPriceChange?: number | null,
    oneYearPriceChange?: number | null,
    orderMinSize?: number | null,
    orderPriceMinTickSize?: number | null,
    outcomePrices?: string | null,
    outcomes?: string | null,
    pastSlugs?: string | null,
    pendingDeployment?: boolean | null,
    positionIds?: string[] | null | null,
    question?: string | null,
    questionID?: string | null,
    ready?: boolean | null,
    readyForCron?: boolean | null,
    readyTimestamp?: string | null,
    requestId?: string | null,
    resolutionMechanism?: string | null | null,
    resolutionSource?: string | null,
    resolutionStatus?: string | null,
    resolvedBy?: string | null,
    restricted?: boolean | null,
    rewardsMaxSpread?: number | null,
    rewardsMinSize?: number | null,
    rfqEnabled?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: number | null,
    secondsDelay?: number | null,
    sentDiscord?: boolean | null,
    seriesColor?: string | null,
    shortOutcomes?: string | null,
    showGmpOutcome?: boolean | null,
    showGmpSeries?: boolean | null,
    slug?: string | null,
    sponsorImage?: string | null,
    sponsorName?: string | null,
    sportsMarketType?: string | null,
    spread?: number | null,
    startDate?: string | null,
    startDateIso?: string | null,
    subcategory?: string | null,
    submitted_by?: string | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    takerBaseFee?: number | null,
    teamAID?: string | null,
    teamBID?: string | null,
    tradingEligible?: boolean | null | null,
    twitterCardImage?: string | null,
    twitterCardLastRefreshed?: string | null,
    twitterCardLastValidated?: string | null,
    twitterCardLocation?: string | null,
    umaBond?: string | null,
    umaEndDate?: string | null,
    umaEndDateIso?: string | null,
    umaResolutionStatus?: string | null,
    umaResolutionStatuses?: string | null,
    umaReward?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null,
    upperBound?: string | null,
    upperBoundDate?: string | null,
    version?: string | null,
    volume?: string | null,
    volume1mo?: number | null,
    volume1moAmm?: number | null,
    volume1moClob?: number | null,
    volume1wk?: number | null,
    volume1wkAmm?: number | null,
    volume1wkClob?: number | null,
    volume1yr?: number | null,
    volume1yrAmm?: number | null,
    volume1yrClob?: number | null,
    volume24hr?: number | null,
    volume24hrAmm?: number | null,
    volume24hrClob?: number | null,
    volumeAmm?: number | null,
    volumeClob?: number | null,
    volumeNum?: number | null,
    wideFormat?: boolean | null,
    xAxisValue?: string | null,
    yAxisValue?: string | null
  }[] | null | null,
  negRisk?: boolean | null,
  negRiskMarketID?: string | null,
  negRiskOther?: boolean | null,
  negRiskRequestID?: string | null,
  new?: boolean | null,
  notificationsEnabled?: boolean | null,
  onchainEventId?: string | null,
  oneDayPriceChange?: number | null,
  oneHourPriceChange?: number | null,
  oneMonthPriceChange?: number | null,
  oneWeekPriceChange?: number | null,
  oneYearPriceChange?: number | null,
  orderMinSize?: number | null,
  orderPriceMinTickSize?: number | null,
  outcomePrices?: string | null,
  outcomes?: string | null,
  pastSlugs?: string | null,
  pendingDeployment?: boolean | null,
  positionIds?: string[] | null | null,
  question?: string | null,
  questionID?: string | null,
  ready?: boolean | null,
  readyForCron?: boolean | null,
  readyTimestamp?: string | null,
  requestId?: string | null,
  resolutionMechanism?: string | null | null,
  resolutionSource?: string | null,
  resolutionStatus?: string | null,
  resolvedBy?: string | null,
  restricted?: boolean | null,
  rewardsMaxSpread?: number | null,
  rewardsMinSize?: number | null,
  rfqEnabled?: boolean | null,
  scheduledDeploymentTimestamp?: string | null,
  score?: number | null,
  secondsDelay?: number | null,
  sentDiscord?: boolean | null,
  seriesColor?: string | null,
  shortOutcomes?: string | null,
  showGmpOutcome?: boolean | null,
  showGmpSeries?: boolean | null,
  slug?: string | null,
  sponsorImage?: string | null,
  sponsorName?: string | null,
  sportsMarketType?: string | null,
  spread?: number | null,
  startDate?: string | null,
  startDateIso?: string | null,
  subcategory?: string | null,
  submitted_by?: string | null,
  tags?: {
    $schema?: string | null,
    activeEventsCount?: number | null,
    createdAt?: string | null,
    createdBy?: number | null,
    forceHide?: boolean | null,
    forceShow?: boolean | null,
    id?: string | null,
    isCarousel?: boolean | null,
    label?: string | null,
    publishedAt?: string | null,
    slug?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null
  }[] | null | null,
  takerBaseFee?: number | null,
  teamAID?: string | null,
  teamBID?: string | null,
  tradingEligible?: boolean | null | null,
  twitterCardImage?: string | null,
  twitterCardLastRefreshed?: string | null,
  twitterCardLastValidated?: string | null,
  twitterCardLocation?: string | null,
  umaBond?: string | null,
  umaEndDate?: string | null,
  umaEndDateIso?: string | null,
  umaResolutionStatus?: string | null,
  umaResolutionStatuses?: string | null,
  umaReward?: string | null,
  updatedAt?: string | null,
  updatedBy?: number | null,
  upperBound?: string | null,
  upperBoundDate?: string | null,
  version?: string | null,
  volume?: string | null,
  volume1mo?: number | null,
  volume1moAmm?: number | null,
  volume1moClob?: number | null,
  volume1wk?: number | null,
  volume1wkAmm?: number | null,
  volume1wkClob?: number | null,
  volume1yr?: number | null,
  volume1yrAmm?: number | null,
  volume1yrClob?: number | null,
  volume24hr?: number | null,
  volume24hrAmm?: number | null,
  volume24hrClob?: number | null,
  volumeAmm?: number | null,
  volumeClob?: number | null,
  volumeNum?: number | null,
  wideFormat?: boolean | null,
  xAxisValue?: string | null,
  yAxisValue?: string | null
}[] | null | null
```

***

### markets.listKeyset

`gamma.markets.listKeyset`

Get markets (keyset)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.markets.listKeyset({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number[] \| null` | No | Market IDs to return |
| `slug` | `string[] \| null` | No | Market slugs to return |
| `archived` | `string` | No | Filter by archived flag (true/false) |
| `active` | `string` | No | Filter by active flag (true/false) |
| `decimalized` | `string` | No | Filter by decimalized flag (true/false) |
| `closed` | `string` | No | Filter by closed flag (true/false/any). Defaults to false on the public lists when omitted. 'any' returns open and closed markets together and requires at least one of id, slug, clob\_token\_ids, position\_ids, condition\_ids, request\_ids, onchain\_event\_ids, or question\_ids |
| `clob_token_ids` | `string[] \| null` | No | CLOB token IDs to return |
| `position_ids` | `string[] \| null` | No | Position IDs to return |
| `condition_ids` | `string[] \| null` | No | Condition IDs to return |
| `request_ids` | `string[] \| null` | No | V2 oracle request IDs to return (conditionId for binary/incremental neg-risk, onchainEventId for atomic neg-risk) |
| `onchain_event_ids` | `string[] \| null` | No | V2 on-chain event IDs to return (all markets of each on-chain event) |
| `market_maker_address` | `string[] \| null` | No | Market maker addresses to return |
| `liquidity_num_min` | `string` | No | Minimum liquidity |
| `liquidity_num_max` | `string` | No | Maximum liquidity |
| `volume_num_min` | `string` | No | Minimum volume |
| `volume_num_max` | `string` | No | Maximum volume |
| `start_date_min` | `string` | No | Minimum start date (RFC3339 or YYYY-MM-DD) |
| `start_date_max` | `string` | No | Maximum start date (RFC3339 or YYYY-MM-DD) |
| `end_date_min` | `string` | No | Minimum end date (RFC3339 or YYYY-MM-DD) |
| `end_date_max` | `string` | No | Maximum end date (RFC3339 or YYYY-MM-DD) |
| `tag_id` | `number[] \| null` | No | Tag IDs to filter by |
| `related_tags` | `string` | No | Include markets from related tags (true/false) |
| `tag_match` | `string` | No | Tag match mode |
| `cyom` | `string` | No | Filter by CYOM flag (true/false) |
| `rfq_enabled` | `string` | No | Filter by RFQ-enabled flag (true/false) |
| `combo_status` | `string` | No | Filter by combo status (pending/enabled/disabled) |
| `uma_resolution_status` | `string` | No | Filter by UMA resolution status |
| `resolution_status` | `inactive \| active \| resolved` | No | Filter by resolution status (inactive/active/resolved). v2 markets only — v1 markets carry no resolution\_status and use uma\_resolution\_status instead |
| `version` | `(v1 \| v2)[] \| null` | No | Protocol versions to return (v1 or v2). Repeat the parameter for several. Omitted means the server default on public lists (v1 while polymarket-v2 is in its builder integration period) |
| `game_id` | `string` | No | Filter by game ID |
| `sports_market_types` | `string[] \| null` | No | Filter by sports market types |
| `rewards_min_size` | `string` | No | Filter by minimum rewards size |
| `question_ids` | `string[] \| null` | No | Question IDs to return |
| `include_tag` | `string` | No | Include tag data (true/false) |
| `include_facets` | `string` | No | Include the facets assigned to each market (true/false). Facets are the assigned ones plus their ancestors. |
| `locale` | `string` | No | Locale used to localize returned content |
| `market_metadata_key` | `string` | No | Filter by market metadata key |
| `market_metadata_value` | `string` | No | Filter by market metadata value |
| `facets` | `string` | No | AIP-160 filter over facet slugs, e.g. politics AND (nba OR wnba) -united-states. AND, OR, NOT or -, a space for AND, and one level of parentheses; NOT binds tightest, then AND, then OR; at most 10 facets. A facet also matches its descendants; a market matches only its own facets, not its event's. Only markets that have facets match. |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `after_cursor` | `string` | No | Opaque keyset pagination cursor from a previous response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `markets` | `object[] \| null` | No | — |
| `next_cursor` | `string \| null` | No | — |

```ts theme={null}
{
  $schema?: string | null,
  acceptingOrders?: boolean | null,
  acceptingOrdersTimestamp?: string | null,
  acceptingOrdersUntil?: string | null,
  active?: boolean | null,
  ammType?: string | null,
  approved?: boolean | null,
  archived?: boolean | null,
  automaticallyActive?: boolean | null,
  automaticallyResolved?: boolean | null,
  bestAsk?: number | null,
  bestBid?: number | null,
  category?: string | null,
  categoryMailchimpTag?: string | null,
  chartColor?: string | null,
  clearBookOnStart?: boolean | null,
  clobRewards?: {
    assetAddress?: string | null,
    conditionId?: string | null,
    endDate?: string | null,
    id?: string | null,
    rewardsAmount?: number | null,
    rewardsDailyRate?: number | null,
    startDate?: string | null
  }[] | null | null,
  clobTokenIds?: string | null,
  closed?: boolean | null,
  closedTime?: string | null,
  comboStatus?: string | null,
  commentsEnabled?: boolean | null,
  competitive?: number | null,
  conditionId?: string | null,
  createdAt?: string | null,
  createdBy?: number | null,
  creator?: string | null,
  cryptoMarketConfig?: {
    $schema?: string | null,
    asset?: string | null,
    duration?: string | null,
    id?: string | null,
    twapEnabled?: boolean | null,
    twapLookbackSeconds?: number | null
  } | null,
  cryptoMarketConfigId?: string | null,
  curationOrder?: number | null,
  customLiveness?: number | null,
  cyom?: boolean | null,
  denominationToken?: string | null,
  deploying?: boolean | null,
  deployingTimestamp?: string | null,
  description?: string | null,
  disqusThread?: string | null,
  enableOrderBook?: boolean | null,
  endDate?: string | null,
  endDateIso?: string | null,
  eventStartTime?: string | null,
  events?: {
    $schema?: string | null,
    active?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestLines?: {
      id?: string | null,
      line?: number | null,
      lineType?: string | null
    }[] | null | null,
    cantEstimate?: boolean | null,
    carouselMap?: string | null,
    category?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    color?: string | null,
    commentCount?: number | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    countryName?: string | null,
    createdAt?: string | null,
    createdBy?: string | null,
    creationDate?: string | null,
    cumulativeMarkets?: boolean | null,
    cyom?: boolean | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    elapsed?: string | null,
    electionType?: string | null,
    enableNegRisk?: boolean | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    ended?: boolean | null,
    estimateValue?: boolean | null,
    estimatedValue?: string | null,
    eventCreators?: {
      $schema?: string | null,
      createdAt?: string | null,
      creatorHandle?: string | null,
      creatorImage?: string | null,
      creatorName?: string | null,
      creatorUrl?: string | null,
      id?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    eventDate?: string | null,
    eventMetadata?: Record<string, any> | null,
    eventWeek?: number | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      eventId?: number | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    featured?: boolean | null,
    featuredImage?: string | null,
    featuredOrder?: number | null,
    finishedTimestamp?: string | null,
    gameId?: number | null,
    gmpChartMode?: string | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    isTemplate?: boolean | null,
    lastHighlight?: string | null,
    lastHighlightAt?: string | null,
    lastHighlightType?: string | null,
    liquidity?: number | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    live?: boolean | null,
    markets?: {
      $schema?: string | null,
      acceptingOrders?: boolean | null,
      acceptingOrdersTimestamp?: string | null,
      acceptingOrdersUntil?: string | null,
      active?: boolean | null,
      ammType?: string | null,
      approved?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestAsk?: number | null,
      bestBid?: number | null,
      category?: string | null,
      categoryMailchimpTag?: string | null,
      chartColor?: string | null,
      clearBookOnStart?: boolean | null,
      clobRewards?: {
        assetAddress?: string | null,
        conditionId?: string | null,
        endDate?: string | null,
        id?: string | null,
        rewardsAmount?: number | null,
        rewardsDailyRate?: number | null,
        startDate?: string | null
      }[] | null | null,
      clobTokenIds?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      comboStatus?: string | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      conditionId?: string | null,
      createdAt?: string | null,
      createdBy?: number | null,
      creator?: string | null,
      cryptoMarketConfig?: {
        $schema?: string | null,
        asset?: string | null,
        duration?: string | null,
        id?: string | null,
        twapEnabled?: boolean | null,
        twapLookbackSeconds?: number | null
      } | null,
      cryptoMarketConfigId?: string | null,
      curationOrder?: number | null,
      customLiveness?: number | null,
      cyom?: boolean | null,
      denominationToken?: string | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      endDateIso?: string | null,
      eventStartTime?: string | null,
      events?: (recursive)[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      fallbackResolutionType?: string | null,
      featured?: boolean | null,
      fee?: string | null,
      feeExponent?: number | null,
      feeRate?: number | null,
      feeSchedule?: {
        exponent?: number | null,
        rate?: number | null,
        rebateRate?: number | null,
        takerOnly?: boolean | null
      } | null,
      feeType?: string | null | null,
      feesEnabled?: boolean | null,
      formatType?: string | null,
      fpmmLive?: boolean | null,
      funded?: boolean | null,
      fundedTimestamp?: string | null,
      gameId?: string | null,
      gameStartTime?: string | null,
      groupItemRange?: string | null,
      groupItemThreshold?: string | null,
      groupItemTitle?: string | null,
      hasReviewedDates?: boolean | null,
      holdingRewardsEnabled?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      instrumentIndex?: number | null,
      instrumentKind?: string | null,
      lastTradePrice?: number | null,
      line?: number | null,
      liquidity?: string | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      liquidityNum?: number | null,
      lowerBound?: string | null,
      lowerBoundDate?: string | null,
      mailchimpTag?: string | null,
      makerBaseFee?: number | null,
      makerRebatesFeeShareBps?: number | null,
      manualActivation?: boolean | null,
      marketGroup?: number | null,
      marketMakerAddress?: string | null,
      marketMetadata?: Record<string, any> | null,
      marketType?: string | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      negRisk?: boolean | null,
      negRiskMarketID?: string | null,
      negRiskOther?: boolean | null,
      negRiskRequestID?: string | null,
      new?: boolean | null,
      notificationsEnabled?: boolean | null,
      onchainEventId?: string | null,
      oneDayPriceChange?: number | null,
      oneHourPriceChange?: number | null,
      oneMonthPriceChange?: number | null,
      oneWeekPriceChange?: number | null,
      oneYearPriceChange?: number | null,
      orderMinSize?: number | null,
      orderPriceMinTickSize?: number | null,
      outcomePrices?: string | null,
      outcomes?: string | null,
      pastSlugs?: string | null,
      pendingDeployment?: boolean | null,
      positionIds?: string[] | null | null,
      question?: string | null,
      questionID?: string | null,
      ready?: boolean | null,
      readyForCron?: boolean | null,
      readyTimestamp?: string | null,
      requestId?: string | null,
      resolutionMechanism?: string | null | null,
      resolutionSource?: string | null,
      resolutionStatus?: string | null,
      resolvedBy?: string | null,
      restricted?: boolean | null,
      rewardsMaxSpread?: number | null,
      rewardsMinSize?: number | null,
      rfqEnabled?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: number | null,
      secondsDelay?: number | null,
      sentDiscord?: boolean | null,
      seriesColor?: string | null,
      shortOutcomes?: string | null,
      showGmpOutcome?: boolean | null,
      showGmpSeries?: boolean | null,
      slug?: string | null,
      sponsorImage?: string | null,
      sponsorName?: string | null,
      sportsMarketType?: string | null,
      spread?: number | null,
      startDate?: string | null,
      startDateIso?: string | null,
      subcategory?: string | null,
      submitted_by?: string | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      takerBaseFee?: number | null,
      teamAID?: string | null,
      teamBID?: string | null,
      tradingEligible?: boolean | null | null,
      twitterCardImage?: string | null,
      twitterCardLastRefreshed?: string | null,
      twitterCardLastValidated?: string | null,
      twitterCardLocation?: string | null,
      umaBond?: string | null,
      umaEndDate?: string | null,
      umaEndDateIso?: string | null,
      umaResolutionStatus?: string | null,
      umaResolutionStatuses?: string | null,
      umaReward?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null,
      upperBound?: string | null,
      upperBoundDate?: string | null,
      version?: string | null,
      volume?: string | null,
      volume1mo?: number | null,
      volume1moAmm?: number | null,
      volume1moClob?: number | null,
      volume1wk?: number | null,
      volume1wkAmm?: number | null,
      volume1wkClob?: number | null,
      volume1yr?: number | null,
      volume1yrAmm?: number | null,
      volume1yrClob?: number | null,
      volume24hr?: number | null,
      volume24hrAmm?: number | null,
      volume24hrClob?: number | null,
      volumeAmm?: number | null,
      volumeClob?: number | null,
      volumeNum?: number | null,
      wideFormat?: boolean | null,
      xAxisValue?: string | null,
      yAxisValue?: string | null
    }[] | null | null,
    maxMarketCount?: number | null,
    moduleType?: string | null,
    negRisk?: boolean | null,
    negRiskAugmented?: boolean | null,
    negRiskFeeBips?: number | null,
    negRiskMarketID?: string | null,
    new?: boolean | null,
    openInterest?: number | null,
    parentEventId?: number | null,
    pendingDeployment?: boolean | null,
    period?: string | null,
    published_at?: string | null,
    rescheduledFromGameId?: number | null,
    resolutionMode?: string | null,
    resolutionSource?: string | null,
    restricted?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: string | null,
    series?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      cgAssetName?: string | null,
      closed?: boolean | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      description?: string | null,
      events?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestLines?: {
          id?: string | null,
          line?: number | null,
          lineType?: string | null
        }[] | null | null,
        cantEstimate?: boolean | null,
        carouselMap?: string | null,
        category?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        color?: string | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        countryName?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        creationDate?: string | null,
        cumulativeMarkets?: boolean | null,
        cyom?: boolean | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        elapsed?: string | null,
        electionType?: string | null,
        enableNegRisk?: boolean | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        ended?: boolean | null,
        estimateValue?: boolean | null,
        estimatedValue?: string | null,
        eventCreators?: {
          $schema?: string | null,
          createdAt?: string | null,
          creatorHandle?: string | null,
          creatorImage?: string | null,
          creatorName?: string | null,
          creatorUrl?: string | null,
          id?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        eventDate?: string | null,
        eventMetadata?: Record<string, any> | null,
        eventWeek?: number | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          eventId?: number | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        featured?: boolean | null,
        featuredImage?: string | null,
        featuredOrder?: number | null,
        finishedTimestamp?: string | null,
        gameId?: number | null,
        gmpChartMode?: string | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        lastHighlight?: string | null,
        lastHighlightAt?: string | null,
        lastHighlightType?: string | null,
        liquidity?: number | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        live?: boolean | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: (recursive)[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        maxMarketCount?: number | null,
        moduleType?: string | null,
        negRisk?: boolean | null,
        negRiskAugmented?: boolean | null,
        negRiskFeeBips?: number | null,
        negRiskMarketID?: string | null,
        new?: boolean | null,
        openInterest?: number | null,
        parentEventId?: number | null,
        pendingDeployment?: boolean | null,
        period?: string | null,
        published_at?: string | null,
        rescheduledFromGameId?: number | null,
        resolutionMode?: string | null,
        resolutionSource?: string | null,
        restricted?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: string | null,
        series?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          cgAssetName?: string | null,
          closed?: boolean | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          description?: string | null,
          events?: (recursive)[] | null | null,
          featured?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          layout?: string | null,
          liquidity?: number | null,
          new?: boolean | null,
          publishedAt?: string | null,
          pythTokenID?: string | null,
          recurrence?: string | null,
          restricted?: boolean | null,
          score?: number | null,
          seriesType?: string | null,
          slug?: string | null,
          startDate?: string | null,
          subtitle?: string | null,
          templateVariables?: boolean | null,
          ticker?: string | null,
          title?: string | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          volume?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        seriesSlug?: string | null,
        showAllOutcomes?: boolean | null,
        showMarketImages?: boolean | null,
        slug?: string | null,
        sortBy?: string | null,
        sport?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            sportId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          image?: string | null,
          name?: string | null,
          ordering?: string | null,
          primaryTagId?: number | null,
          resolution?: string | null,
          series?: string | null,
          sport?: string | null,
          tags?: string | null,
          updatedAt?: string | null
        } | null,
        spreadsMainLine?: number | null,
        startDate?: string | null,
        startTime?: string | null,
        subEvents?: (string | null)[] | null | null,
        subcategory?: string | null,
        subtitle?: string | null,
        tag_labels?: string[] | null | null,
        tag_slugs?: string[] | null | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        teams?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        templateVariables?: string | null,
        ticker?: string | null,
        title?: string | null,
        totalsMainLine?: number | null,
        turnProviderId?: string | null,
        tweetCount?: number | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        usId?: string | null,
        version?: string | null,
        volume?: number | null,
        volume1mo?: number | null,
        volume1wk?: number | null,
        volume1yr?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      featured?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      layout?: string | null,
      liquidity?: number | null,
      new?: boolean | null,
      publishedAt?: string | null,
      pythTokenID?: string | null,
      recurrence?: string | null,
      restricted?: boolean | null,
      score?: number | null,
      seriesType?: string | null,
      slug?: string | null,
      startDate?: string | null,
      subtitle?: string | null,
      templateVariables?: boolean | null,
      ticker?: string | null,
      title?: string | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      volume?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    seriesSlug?: string | null,
    showAllOutcomes?: boolean | null,
    showMarketImages?: boolean | null,
    slug?: string | null,
    sortBy?: string | null,
    sport?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        sportId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      image?: string | null,
      name?: string | null,
      ordering?: string | null,
      primaryTagId?: number | null,
      resolution?: string | null,
      series?: string | null,
      sport?: string | null,
      tags?: string | null,
      updatedAt?: string | null
    } | null,
    spreadsMainLine?: number | null,
    startDate?: string | null,
    startTime?: string | null,
    subEvents?: (string | null)[] | null | null,
    subcategory?: string | null,
    subtitle?: string | null,
    tag_labels?: string[] | null | null,
    tag_slugs?: string[] | null | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    teams?: {
      $schema?: string | null,
      abbreviation?: string | null,
      alias?: string | null,
      color?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        source?: string | null,
        teamId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      league?: string | null,
      logo?: string | null,
      name?: string | null,
      ordering?: string | null,
      providerId?: number | null,
      record?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    templateVariables?: string | null,
    ticker?: string | null,
    title?: string | null,
    totalsMainLine?: number | null,
    turnProviderId?: string | null,
    tweetCount?: number | null,
    updatedAt?: string | null,
    updatedBy?: string | null,
    usId?: string | null,
    version?: string | null,
    volume?: number | null,
    volume1mo?: number | null,
    volume1wk?: number | null,
    volume1yr?: number | null,
    volume24hr?: number | null
  }[] | null | null,
  facets?: {
    abbreviation?: string | null,
    appliesTo?: string[] | null | null,
    label?: string | null,
    parents?: string[] | null | null,
    slug?: string | null
  }[] | null | null,
  fallbackResolutionType?: string | null,
  featured?: boolean | null,
  fee?: string | null,
  feeExponent?: number | null,
  feeRate?: number | null,
  feeSchedule?: {
    exponent?: number | null,
    rate?: number | null,
    rebateRate?: number | null,
    takerOnly?: boolean | null
  } | null,
  feeType?: string | null | null,
  feesEnabled?: boolean | null,
  formatType?: string | null,
  fpmmLive?: boolean | null,
  funded?: boolean | null,
  fundedTimestamp?: string | null,
  gameId?: string | null,
  gameStartTime?: string | null,
  groupItemRange?: string | null,
  groupItemThreshold?: string | null,
  groupItemTitle?: string | null,
  hasReviewedDates?: boolean | null,
  holdingRewardsEnabled?: boolean | null,
  icon?: string | null,
  id?: string | null,
  image?: string | null,
  instrumentIndex?: number | null,
  instrumentKind?: string | null,
  lastTradePrice?: number | null,
  line?: number | null,
  liquidity?: string | null,
  liquidityAmm?: number | null,
  liquidityClob?: number | null,
  liquidityNum?: number | null,
  lowerBound?: string | null,
  lowerBoundDate?: string | null,
  mailchimpTag?: string | null,
  makerBaseFee?: number | null,
  makerRebatesFeeShareBps?: number | null,
  manualActivation?: boolean | null,
  marketGroup?: number | null,
  marketMakerAddress?: string | null,
  marketMetadata?: Record<string, any> | null,
  marketType?: string | null,
  markets?: {
    $schema?: string | null,
    acceptingOrders?: boolean | null,
    acceptingOrdersTimestamp?: string | null,
    acceptingOrdersUntil?: string | null,
    active?: boolean | null,
    ammType?: string | null,
    approved?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestAsk?: number | null,
    bestBid?: number | null,
    category?: string | null,
    categoryMailchimpTag?: string | null,
    chartColor?: string | null,
    clearBookOnStart?: boolean | null,
    clobRewards?: {
      assetAddress?: string | null,
      conditionId?: string | null,
      endDate?: string | null,
      id?: string | null,
      rewardsAmount?: number | null,
      rewardsDailyRate?: number | null,
      startDate?: string | null
    }[] | null | null,
    clobTokenIds?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    comboStatus?: string | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    conditionId?: string | null,
    createdAt?: string | null,
    createdBy?: number | null,
    creator?: string | null,
    cryptoMarketConfig?: {
      $schema?: string | null,
      asset?: string | null,
      duration?: string | null,
      id?: string | null,
      twapEnabled?: boolean | null,
      twapLookbackSeconds?: number | null
    } | null,
    cryptoMarketConfigId?: string | null,
    curationOrder?: number | null,
    customLiveness?: number | null,
    cyom?: boolean | null,
    denominationToken?: string | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    endDateIso?: string | null,
    eventStartTime?: string | null,
    events?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestLines?: {
        id?: string | null,
        line?: number | null,
        lineType?: string | null
      }[] | null | null,
      cantEstimate?: boolean | null,
      carouselMap?: string | null,
      category?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      color?: string | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      countryName?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      creationDate?: string | null,
      cumulativeMarkets?: boolean | null,
      cyom?: boolean | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      elapsed?: string | null,
      electionType?: string | null,
      enableNegRisk?: boolean | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      ended?: boolean | null,
      estimateValue?: boolean | null,
      estimatedValue?: string | null,
      eventCreators?: {
        $schema?: string | null,
        createdAt?: string | null,
        creatorHandle?: string | null,
        creatorImage?: string | null,
        creatorName?: string | null,
        creatorUrl?: string | null,
        id?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      eventDate?: string | null,
      eventMetadata?: Record<string, any> | null,
      eventWeek?: number | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        eventId?: number | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      featured?: boolean | null,
      featuredImage?: string | null,
      featuredOrder?: number | null,
      finishedTimestamp?: string | null,
      gameId?: number | null,
      gmpChartMode?: string | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      lastHighlight?: string | null,
      lastHighlightAt?: string | null,
      lastHighlightType?: string | null,
      liquidity?: number | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      live?: boolean | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      maxMarketCount?: number | null,
      moduleType?: string | null,
      negRisk?: boolean | null,
      negRiskAugmented?: boolean | null,
      negRiskFeeBips?: number | null,
      negRiskMarketID?: string | null,
      new?: boolean | null,
      openInterest?: number | null,
      parentEventId?: number | null,
      pendingDeployment?: boolean | null,
      period?: string | null,
      published_at?: string | null,
      rescheduledFromGameId?: number | null,
      resolutionMode?: string | null,
      resolutionSource?: string | null,
      restricted?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: string | null,
      series?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        cgAssetName?: string | null,
        closed?: boolean | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        description?: string | null,
        events?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestLines?: {
            id?: string | null,
            line?: number | null,
            lineType?: string | null
          }[] | null | null,
          cantEstimate?: boolean | null,
          carouselMap?: string | null,
          category?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          color?: string | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          countryName?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          creationDate?: string | null,
          cumulativeMarkets?: boolean | null,
          cyom?: boolean | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          elapsed?: string | null,
          electionType?: string | null,
          enableNegRisk?: boolean | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          ended?: boolean | null,
          estimateValue?: boolean | null,
          estimatedValue?: string | null,
          eventCreators?: {
            $schema?: string | null,
            createdAt?: string | null,
            creatorHandle?: string | null,
            creatorImage?: string | null,
            creatorName?: string | null,
            creatorUrl?: string | null,
            id?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          eventDate?: string | null,
          eventMetadata?: Record<string, any> | null,
          eventWeek?: number | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            eventId?: number | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          featured?: boolean | null,
          featuredImage?: string | null,
          featuredOrder?: number | null,
          finishedTimestamp?: string | null,
          gameId?: number | null,
          gmpChartMode?: string | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          lastHighlight?: string | null,
          lastHighlightAt?: string | null,
          lastHighlightType?: string | null,
          liquidity?: number | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          live?: boolean | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          maxMarketCount?: number | null,
          moduleType?: string | null,
          negRisk?: boolean | null,
          negRiskAugmented?: boolean | null,
          negRiskFeeBips?: number | null,
          negRiskMarketID?: string | null,
          new?: boolean | null,
          openInterest?: number | null,
          parentEventId?: number | null,
          pendingDeployment?: boolean | null,
          period?: string | null,
          published_at?: string | null,
          rescheduledFromGameId?: number | null,
          resolutionMode?: string | null,
          resolutionSource?: string | null,
          restricted?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: string | null,
          series?: {
            $schema?: string | null,
            active?: boolean | null,
            archived?: boolean | null,
            cgAssetName?: string | null,
            closed?: boolean | null,
            commentCount?: number | null,
            commentsEnabled?: boolean | null,
            competitive?: string | null,
            createdAt?: string | null,
            createdBy?: string | null,
            description?: string | null,
            events?: (recursive)[] | null | null,
            featured?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            isTemplate?: boolean | null,
            layout?: string | null,
            liquidity?: number | null,
            new?: boolean | null,
            publishedAt?: string | null,
            pythTokenID?: string | null,
            recurrence?: string | null,
            restricted?: boolean | null,
            score?: number | null,
            seriesType?: string | null,
            slug?: string | null,
            startDate?: string | null,
            subtitle?: string | null,
            templateVariables?: boolean | null,
            ticker?: string | null,
            title?: string | null,
            updatedAt?: string | null,
            updatedBy?: string | null,
            volume?: number | null,
            volume24hr?: number | null
          }[] | null | null,
          seriesSlug?: string | null,
          showAllOutcomes?: boolean | null,
          showMarketImages?: boolean | null,
          slug?: string | null,
          sortBy?: string | null,
          sport?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              sportId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            image?: string | null,
            name?: string | null,
            ordering?: string | null,
            primaryTagId?: number | null,
            resolution?: string | null,
            series?: string | null,
            sport?: string | null,
            tags?: string | null,
            updatedAt?: string | null
          } | null,
          spreadsMainLine?: number | null,
          startDate?: string | null,
          startTime?: string | null,
          subEvents?: (string | null)[] | null | null,
          subcategory?: string | null,
          subtitle?: string | null,
          tag_labels?: string[] | null | null,
          tag_slugs?: string[] | null | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          teams?: {
            $schema?: string | null,
            abbreviation?: string | null,
            alias?: string | null,
            color?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              source?: string | null,
              teamId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            league?: string | null,
            logo?: string | null,
            name?: string | null,
            ordering?: string | null,
            providerId?: number | null,
            record?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          templateVariables?: string | null,
          ticker?: string | null,
          title?: string | null,
          totalsMainLine?: number | null,
          turnProviderId?: string | null,
          tweetCount?: number | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          usId?: string | null,
          version?: string | null,
          volume?: number | null,
          volume1mo?: number | null,
          volume1wk?: number | null,
          volume1yr?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        featured?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        layout?: string | null,
        liquidity?: number | null,
        new?: boolean | null,
        publishedAt?: string | null,
        pythTokenID?: string | null,
        recurrence?: string | null,
        restricted?: boolean | null,
        score?: number | null,
        seriesType?: string | null,
        slug?: string | null,
        startDate?: string | null,
        subtitle?: string | null,
        templateVariables?: boolean | null,
        ticker?: string | null,
        title?: string | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        volume?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      seriesSlug?: string | null,
      showAllOutcomes?: boolean | null,
      showMarketImages?: boolean | null,
      slug?: string | null,
      sortBy?: string | null,
      sport?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          sportId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        image?: string | null,
        name?: string | null,
        ordering?: string | null,
        primaryTagId?: number | null,
        resolution?: string | null,
        series?: string | null,
        sport?: string | null,
        tags?: string | null,
        updatedAt?: string | null
      } | null,
      spreadsMainLine?: number | null,
      startDate?: string | null,
      startTime?: string | null,
      subEvents?: (string | null)[] | null | null,
      subcategory?: string | null,
      subtitle?: string | null,
      tag_labels?: string[] | null | null,
      tag_slugs?: string[] | null | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      teams?: {
        $schema?: string | null,
        abbreviation?: string | null,
        alias?: string | null,
        color?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          source?: string | null,
          teamId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        league?: string | null,
        logo?: string | null,
        name?: string | null,
        ordering?: string | null,
        providerId?: number | null,
        record?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      templateVariables?: string | null,
      ticker?: string | null,
      title?: string | null,
      totalsMainLine?: number | null,
      turnProviderId?: string | null,
      tweetCount?: number | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      usId?: string | null,
      version?: string | null,
      volume?: number | null,
      volume1mo?: number | null,
      volume1wk?: number | null,
      volume1yr?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    fallbackResolutionType?: string | null,
    featured?: boolean | null,
    fee?: string | null,
    feeExponent?: number | null,
    feeRate?: number | null,
    feeSchedule?: {
      exponent?: number | null,
      rate?: number | null,
      rebateRate?: number | null,
      takerOnly?: boolean | null
    } | null,
    feeType?: string | null | null,
    feesEnabled?: boolean | null,
    formatType?: string | null,
    fpmmLive?: boolean | null,
    funded?: boolean | null,
    fundedTimestamp?: string | null,
    gameId?: string | null,
    gameStartTime?: string | null,
    groupItemRange?: string | null,
    groupItemThreshold?: string | null,
    groupItemTitle?: string | null,
    hasReviewedDates?: boolean | null,
    holdingRewardsEnabled?: boolean | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    instrumentIndex?: number | null,
    instrumentKind?: string | null,
    lastTradePrice?: number | null,
    line?: number | null,
    liquidity?: string | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    liquidityNum?: number | null,
    lowerBound?: string | null,
    lowerBoundDate?: string | null,
    mailchimpTag?: string | null,
    makerBaseFee?: number | null,
    makerRebatesFeeShareBps?: number | null,
    manualActivation?: boolean | null,
    marketGroup?: number | null,
    marketMakerAddress?: string | null,
    marketMetadata?: Record<string, any> | null,
    marketType?: string | null,
    markets?: (recursive)[] | null | null,
    negRisk?: boolean | null,
    negRiskMarketID?: string | null,
    negRiskOther?: boolean | null,
    negRiskRequestID?: string | null,
    new?: boolean | null,
    notificationsEnabled?: boolean | null,
    onchainEventId?: string | null,
    oneDayPriceChange?: number | null,
    oneHourPriceChange?: number | null,
    oneMonthPriceChange?: number | null,
    oneWeekPriceChange?: number | null,
    oneYearPriceChange?: number | null,
    orderMinSize?: number | null,
    orderPriceMinTickSize?: number | null,
    outcomePrices?: string | null,
    outcomes?: string | null,
    pastSlugs?: string | null,
    pendingDeployment?: boolean | null,
    positionIds?: string[] | null | null,
    question?: string | null,
    questionID?: string | null,
    ready?: boolean | null,
    readyForCron?: boolean | null,
    readyTimestamp?: string | null,
    requestId?: string | null,
    resolutionMechanism?: string | null | null,
    resolutionSource?: string | null,
    resolutionStatus?: string | null,
    resolvedBy?: string | null,
    restricted?: boolean | null,
    rewardsMaxSpread?: number | null,
    rewardsMinSize?: number | null,
    rfqEnabled?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: number | null,
    secondsDelay?: number | null,
    sentDiscord?: boolean | null,
    seriesColor?: string | null,
    shortOutcomes?: string | null,
    showGmpOutcome?: boolean | null,
    showGmpSeries?: boolean | null,
    slug?: string | null,
    sponsorImage?: string | null,
    sponsorName?: string | null,
    sportsMarketType?: string | null,
    spread?: number | null,
    startDate?: string | null,
    startDateIso?: string | null,
    subcategory?: string | null,
    submitted_by?: string | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    takerBaseFee?: number | null,
    teamAID?: string | null,
    teamBID?: string | null,
    tradingEligible?: boolean | null | null,
    twitterCardImage?: string | null,
    twitterCardLastRefreshed?: string | null,
    twitterCardLastValidated?: string | null,
    twitterCardLocation?: string | null,
    umaBond?: string | null,
    umaEndDate?: string | null,
    umaEndDateIso?: string | null,
    umaResolutionStatus?: string | null,
    umaResolutionStatuses?: string | null,
    umaReward?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null,
    upperBound?: string | null,
    upperBoundDate?: string | null,
    version?: string | null,
    volume?: string | null,
    volume1mo?: number | null,
    volume1moAmm?: number | null,
    volume1moClob?: number | null,
    volume1wk?: number | null,
    volume1wkAmm?: number | null,
    volume1wkClob?: number | null,
    volume1yr?: number | null,
    volume1yrAmm?: number | null,
    volume1yrClob?: number | null,
    volume24hr?: number | null,
    volume24hrAmm?: number | null,
    volume24hrClob?: number | null,
    volumeAmm?: number | null,
    volumeClob?: number | null,
    volumeNum?: number | null,
    wideFormat?: boolean | null,
    xAxisValue?: string | null,
    yAxisValue?: string | null
  }[] | null | null,
  negRisk?: boolean | null,
  negRiskMarketID?: string | null,
  negRiskOther?: boolean | null,
  negRiskRequestID?: string | null,
  new?: boolean | null,
  notificationsEnabled?: boolean | null,
  onchainEventId?: string | null,
  oneDayPriceChange?: number | null,
  oneHourPriceChange?: number | null,
  oneMonthPriceChange?: number | null,
  oneWeekPriceChange?: number | null,
  oneYearPriceChange?: number | null,
  orderMinSize?: number | null,
  orderPriceMinTickSize?: number | null,
  outcomePrices?: string | null,
  outcomes?: string | null,
  pastSlugs?: string | null,
  pendingDeployment?: boolean | null,
  positionIds?: string[] | null | null,
  question?: string | null,
  questionID?: string | null,
  ready?: boolean | null,
  readyForCron?: boolean | null,
  readyTimestamp?: string | null,
  requestId?: string | null,
  resolutionMechanism?: string | null | null,
  resolutionSource?: string | null,
  resolutionStatus?: string | null,
  resolvedBy?: string | null,
  restricted?: boolean | null,
  rewardsMaxSpread?: number | null,
  rewardsMinSize?: number | null,
  rfqEnabled?: boolean | null,
  scheduledDeploymentTimestamp?: string | null,
  score?: number | null,
  secondsDelay?: number | null,
  sentDiscord?: boolean | null,
  seriesColor?: string | null,
  shortOutcomes?: string | null,
  showGmpOutcome?: boolean | null,
  showGmpSeries?: boolean | null,
  slug?: string | null,
  sponsorImage?: string | null,
  sponsorName?: string | null,
  sportsMarketType?: string | null,
  spread?: number | null,
  startDate?: string | null,
  startDateIso?: string | null,
  subcategory?: string | null,
  submitted_by?: string | null,
  tags?: {
    $schema?: string | null,
    activeEventsCount?: number | null,
    createdAt?: string | null,
    createdBy?: number | null,
    forceHide?: boolean | null,
    forceShow?: boolean | null,
    id?: string | null,
    isCarousel?: boolean | null,
    label?: string | null,
    publishedAt?: string | null,
    slug?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null
  }[] | null | null,
  takerBaseFee?: number | null,
  teamAID?: string | null,
  teamBID?: string | null,
  tradingEligible?: boolean | null | null,
  twitterCardImage?: string | null,
  twitterCardLastRefreshed?: string | null,
  twitterCardLastValidated?: string | null,
  twitterCardLocation?: string | null,
  umaBond?: string | null,
  umaEndDate?: string | null,
  umaEndDateIso?: string | null,
  umaResolutionStatus?: string | null,
  umaResolutionStatuses?: string | null,
  umaReward?: string | null,
  updatedAt?: string | null,
  updatedBy?: number | null,
  upperBound?: string | null,
  upperBoundDate?: string | null,
  version?: string | null,
  volume?: string | null,
  volume1mo?: number | null,
  volume1moAmm?: number | null,
  volume1moClob?: number | null,
  volume1wk?: number | null,
  volume1wkAmm?: number | null,
  volume1wkClob?: number | null,
  volume1yr?: number | null,
  volume1yrAmm?: number | null,
  volume1yrClob?: number | null,
  volume24hr?: number | null,
  volume24hrAmm?: number | null,
  volume24hrClob?: number | null,
  volumeAmm?: number | null,
  volumeClob?: number | null,
  volumeNum?: number | null,
  wideFormat?: boolean | null,
  xAxisValue?: string | null,
  yAxisValue?: string | null
}[] | null | null
```

***

### markets.related

`gamma.markets.related`

Get related markets

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.markets.related({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Market ID |
| `closed` | `string` | No | Filter by closed flag (true/false) |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |
| `include_facets` | `string` | No | Include the facets assigned to each market (true/false). Facets are the assigned ones plus their ancestors. |

**Output:** `object[] \| null`

```ts theme={null}
{
  conditionId?: string | null,
  eventSlug?: string | null,
  facets?: {
    abbreviation?: string | null,
    appliesTo?: string[] | null | null,
    label?: string | null,
    parents?: string[] | null | null,
    slug?: string | null
  }[] | null | null,
  id?: string | null,
  image?: string | null,
  outcomePrices?: string | null,
  outcomes?: string | null,
  question?: string | null,
  slug?: string | null,
  startDate?: string | null,
  volume?: string | null
}[] | null
```

***

### markets.tags

`gamma.markets.tags`

Get tags for a market

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.markets.tags({ id: '12' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Market ID — numeric, validated by the application layer |

**Output:** `object[] \| null`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   $schema?: string | null,
>   activeEventsCount?: number | null,
>   createdAt?: string | null,
>   createdBy?: number | null,
>   forceHide?: boolean | null,
>   forceShow?: boolean | null,
>   id?: string | null,
>   isCarousel?: boolean | null,
>   label?: string | null,
>   publishedAt?: string | null,
>   slug?: string | null,
>   updatedAt?: string | null,
>   updatedBy?: number | null
> }[] | null
> ```

***

### moderators.list

`gamma.moderators.list`

Get moderators

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.moderators.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Resource id |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true |
| `limit` | `string` | No | Max results returned |
| `offset` | `string` | No | Number of results to skip |
| `address` | `string` | No | Filter by address |
| `tags` | `string` | No | Filter by tags |
| `date` | `string` | No | Filter by date |
| `include_deleted` | `string` | No | Include soft-deleted rows (true/false) |

**Output:** `string[] \| null`

***

### partners.get

`gamma.partners.get`

Get partner by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.partners.get({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Partner id |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `createdAt` | `string \| null` | No | — |
| `id` | `number \| null` | No | — |
| `name` | `string \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |

***

### partners.list

`gamma.partners.list`

Get partners

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.partners.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  id?: number | null,
  name?: string | null,
  slug?: string | null,
  updatedAt?: string | null
}[] | null
```

***

### profiles.get

`gamma.profiles.get`

Get public profile

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.profiles.get({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | No | Wallet address the profile belongs to |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `bio` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `discordUsername` | `string \| null` | No | — |
| `displayUsernamePublic` | `boolean \| null` | No | — |
| `name` | `string \| null` | No | — |
| `profileImage` | `string \| null` | No | — |
| `proxyWallet` | `string \| null` | No | — |
| `pseudonym` | `string \| null` | No | — |
| `takerTier` | `number \| null` | No | — |
| `takerTierName` | `string \| null` | No | — |
| `users` | `object[] \| null` | No | — |
| `verifiedBadge` | `boolean \| null` | No | — |
| `weightedVolume` | `number \| null` | No | — |
| `xUsername` | `string \| null` | No | — |

```ts theme={null}
{
  communityMod?: boolean | null,
  creator?: boolean | null,
  id?: string | null,
  mod?: boolean | null
}[] | null | null
```

***

### profiles.getByAddress

`gamma.profiles.getByAddress`

Get public profile by user address

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.profiles.getByAddress({ user_address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user_address` | `string` | Yes | Wallet address the profile belongs to |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `bio` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `name` | `string \| null` | No | — |
| `profileImage` | `string \| null` | No | — |
| `proxyWallet` | `string \| null` | No | — |
| `pseudonym` | `string \| null` | No | — |
| `takerTier` | `number \| null` | No | — |
| `takerTierName` | `string \| null` | No | — |
| `weightedVolume` | `number \| null` | No | — |

***

### profiles.list

`gamma.profiles.list`

Get public profiles for addresses

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.profiles.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string[] \| null` | No | Wallet addresses to resolve, case-insensitive |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `profiles` | `object[] \| null` | No | — |

```ts theme={null}
{
  address?: string | null,
  bio?: string | null,
  createdAt?: string | null,
  discordUsername?: string | null,
  displayUsernamePublic?: boolean | null,
  name?: string | null,
  profileImage?: string | null,
  proxyWallet?: string | null,
  pseudonym?: string | null,
  verifiedBadge?: boolean | null,
  xUsername?: string | null
}[] | null | null
```

***

### readyz

`gamma.readyz`

Readiness check

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.readyz({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `cache` | `string \| null` | No | Redis cache connectivity (informational, never gates readiness): ok\|degraded\|disabled |
| `db` | `string \| null` | No | Read-write database connectivity: ok\|error |
| `replica` | `string \| null` | No | Markets read-replica pool reachability (informational, never gates readiness): ok\|error |
| `schema` | `string \| null` | No | Database schema version against the migrations this image ships (behind and dirty gate readiness together with db; dirty\_ahead, error and skipped do not): ok\|behind\|dirty\|dirty\_ahead\|error\|skipped |

***

### referralLeaderboard

`gamma.referralLeaderboard`

Get referral leaderboard

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.referralLeaderboard({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `period` | `string` | No | Leaderboard window: week, month, year, or all. Defaults to month. |
| `sortBy` | `string` | No | Sort field: earnings or signups. Defaults to earnings. |
| `limit` | `number` | No | Max rows, 1-100. Out-of-range values fall back to 20. |
| `offset` | `number` | No | Rows to skip. Negative values fall back to 0. |
| `address` | `string` | No | Optional address whose own rank is included in the response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `grandTotalEarnings` | `number \| null` | No | — |
| `leaderboard` | `object[] \| null` | No | — |
| `total` | `number \| null` | No | — |
| `userEntry` | `object \| null` | No | — |

```ts theme={null}
{
  earningsPct?: number | null,
  name?: string | null,
  profileImage?: string | null,
  proxyWallet?: string | null,
  pseudonym?: string | null,
  rank?: number | null,
  totalEarnings?: number | null,
  totalSignups?: number | null
}[] | null | null
```

```ts theme={null}
{
  earningsPct?: number | null,
  name?: string | null,
  profileImage?: string | null,
  proxyWallet?: string | null,
  pseudonym?: string | null,
  rank?: number | null,
  totalEarnings?: number | null,
  totalSignups?: number | null
} | null
```

***

### search

`gamma.search`

Public search

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.search({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `q` | `string` | No | Search query. Only the first 128 characters are searched. |
| `cache` | `string` | No | Use the cached search backend (true/false) |
| `events_status` | `string` | No | Filter events by status |
| `events_tag` | `string[] \| null` | No | Filter by event tag |
| `keep_closed_markets` | `string` | No | Keep closed markets in the result |
| `limit_per_type` | `string` | No | Max results per result type |
| `page` | `string` | No | Page number |
| `sort` | `string` | No | Field to sort by |
| `ascending` | `string` | No | Sort ascending when true (true/false) |
| `recurrence` | `string` | No | Recurrence filter |
| `exclude_tag_id` | `number[] \| null` | No | Tag IDs to exclude |
| `presets` | `string[] \| null` | No | Preset filters. Each preset runs one Typesense search, so at most 10 are accepted. |
| `volume_min` | `string` | No | Minimum event volume |
| `search_tags` | `string` | No | Include tag results (true/false) |
| `search_profiles` | `string` | No | Include profile results (true/false) |
| `optimized` | `string` | No | Return the optimized response shape (true/false) |

**Output:** `any`

***

### searchV2

`gamma.searchV2`

Public search (v2)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.searchV2({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `q` | `string` | No | Search query. Only the first 128 characters are searched. |
| `cache` | `string` | No | Use the cached search backend (true/false) |
| `events_status` | `string` | No | Filter events by status |
| `events_tag` | `string[] \| null` | No | Filter by event tag |
| `keep_closed_markets` | `string` | No | Keep closed markets in the result |
| `limit_per_type` | `string` | No | Max results per result type |
| `page` | `string` | No | Page number |
| `sort` | `string` | No | Field to sort by |
| `ascending` | `string` | No | Sort ascending when true (true/false) |
| `recurrence` | `string` | No | Recurrence filter |
| `exclude_tag_id` | `number[] \| null` | No | Tag IDs to exclude |
| `presets` | `string[] \| null` | No | Preset filters. Each preset runs one Typesense search, so at most 10 are accepted. |
| `volume_min` | `string` | No | Minimum event volume |
| `search_tags` | `string` | No | Include tag results (true/false) |
| `search_profiles` | `string` | No | Include profile results (true/false) |
| `optimized` | `string` | No | Return the optimized response shape (true/false) |

**Output:** `any`

***

### series.commentCount

`gamma.series.commentCount`

Get series comment count

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.series.commentCount({ id: '12' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Entity ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `count` | `number \| null` | No | — |

***

### series.get

`gamma.series.get`

Get series by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.series.get({ id: '12' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Series ID |
| `locale` | `string` | No | Locale used to localize returned content |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `active` | `boolean \| null` | No | — |
| `archived` | `boolean \| null` | No | — |
| `cgAssetName` | `string \| null` | No | — |
| `closed` | `boolean \| null` | No | — |
| `commentCount` | `number \| null` | No | — |
| `commentsEnabled` | `boolean \| null` | No | — |
| `competitive` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `createdBy` | `string \| null` | No | — |
| `description` | `string \| null` | No | — |
| `events` | `object[] \| null` | No | — |
| `featured` | `boolean \| null` | No | — |
| `icon` | `string \| null` | No | — |
| `id` | `string \| null` | No | — |
| `image` | `string \| null` | No | — |
| `isTemplate` | `boolean \| null` | No | — |
| `layout` | `string \| null` | No | — |
| `liquidity` | `number \| null` | No | — |
| `new` | `boolean \| null` | No | — |
| `publishedAt` | `string \| null` | No | — |
| `pythTokenID` | `string \| null` | No | — |
| `recurrence` | `string \| null` | No | — |
| `restricted` | `boolean \| null` | No | — |
| `score` | `number \| null` | No | — |
| `seriesType` | `string \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `startDate` | `string \| null` | No | — |
| `subtitle` | `string \| null` | No | — |
| `templateVariables` | `boolean \| null` | No | — |
| `ticker` | `string \| null` | No | — |
| `title` | `string \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |
| `updatedBy` | `string \| null` | No | — |
| `volume` | `number \| null` | No | — |
| `volume24hr` | `number \| null` | No | — |

```ts theme={null}
{
  $schema?: string | null,
  active?: boolean | null,
  archived?: boolean | null,
  automaticallyActive?: boolean | null,
  automaticallyResolved?: boolean | null,
  bestLines?: {
    id?: string | null,
    line?: number | null,
    lineType?: string | null
  }[] | null | null,
  cantEstimate?: boolean | null,
  carouselMap?: string | null,
  category?: string | null,
  closed?: boolean | null,
  closedTime?: string | null,
  color?: string | null,
  commentCount?: number | null,
  commentsEnabled?: boolean | null,
  competitive?: number | null,
  countryName?: string | null,
  createdAt?: string | null,
  createdBy?: string | null,
  creationDate?: string | null,
  cumulativeMarkets?: boolean | null,
  cyom?: boolean | null,
  deploying?: boolean | null,
  deployingTimestamp?: string | null,
  description?: string | null,
  disqusThread?: string | null,
  elapsed?: string | null,
  electionType?: string | null,
  enableNegRisk?: boolean | null,
  enableOrderBook?: boolean | null,
  endDate?: string | null,
  ended?: boolean | null,
  estimateValue?: boolean | null,
  estimatedValue?: string | null,
  eventCreators?: {
    $schema?: string | null,
    createdAt?: string | null,
    creatorHandle?: string | null,
    creatorImage?: string | null,
    creatorName?: string | null,
    creatorUrl?: string | null,
    id?: string | null,
    updatedAt?: string | null
  }[] | null | null,
  eventDate?: string | null,
  eventMetadata?: Record<string, any> | null,
  eventWeek?: number | null,
  externalPartners?: {
    $schema?: string | null,
    createdAt?: string | null,
    eventId?: number | null,
    externalId?: string | null,
    id?: number | null,
    partner?: {
      $schema?: string | null,
      createdAt?: string | null,
      id?: number | null,
      name?: string | null,
      slug?: string | null,
      updatedAt?: string | null
    } | null,
    partnerId?: number | null,
    updatedAt?: string | null
  }[] | null | null,
  facets?: {
    abbreviation?: string | null,
    appliesTo?: string[] | null | null,
    label?: string | null,
    parents?: string[] | null | null,
    slug?: string | null
  }[] | null | null,
  featured?: boolean | null,
  featuredImage?: string | null,
  featuredOrder?: number | null,
  finishedTimestamp?: string | null,
  gameId?: number | null,
  gmpChartMode?: string | null,
  icon?: string | null,
  id?: string | null,
  image?: string | null,
  isTemplate?: boolean | null,
  lastHighlight?: string | null,
  lastHighlightAt?: string | null,
  lastHighlightType?: string | null,
  liquidity?: number | null,
  liquidityAmm?: number | null,
  liquidityClob?: number | null,
  live?: boolean | null,
  markets?: {
    $schema?: string | null,
    acceptingOrders?: boolean | null,
    acceptingOrdersTimestamp?: string | null,
    acceptingOrdersUntil?: string | null,
    active?: boolean | null,
    ammType?: string | null,
    approved?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestAsk?: number | null,
    bestBid?: number | null,
    category?: string | null,
    categoryMailchimpTag?: string | null,
    chartColor?: string | null,
    clearBookOnStart?: boolean | null,
    clobRewards?: {
      assetAddress?: string | null,
      conditionId?: string | null,
      endDate?: string | null,
      id?: string | null,
      rewardsAmount?: number | null,
      rewardsDailyRate?: number | null,
      startDate?: string | null
    }[] | null | null,
    clobTokenIds?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    comboStatus?: string | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    conditionId?: string | null,
    createdAt?: string | null,
    createdBy?: number | null,
    creator?: string | null,
    cryptoMarketConfig?: {
      $schema?: string | null,
      asset?: string | null,
      duration?: string | null,
      id?: string | null,
      twapEnabled?: boolean | null,
      twapLookbackSeconds?: number | null
    } | null,
    cryptoMarketConfigId?: string | null,
    curationOrder?: number | null,
    customLiveness?: number | null,
    cyom?: boolean | null,
    denominationToken?: string | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    endDateIso?: string | null,
    eventStartTime?: string | null,
    events?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestLines?: {
        id?: string | null,
        line?: number | null,
        lineType?: string | null
      }[] | null | null,
      cantEstimate?: boolean | null,
      carouselMap?: string | null,
      category?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      color?: string | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      countryName?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      creationDate?: string | null,
      cumulativeMarkets?: boolean | null,
      cyom?: boolean | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      elapsed?: string | null,
      electionType?: string | null,
      enableNegRisk?: boolean | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      ended?: boolean | null,
      estimateValue?: boolean | null,
      estimatedValue?: string | null,
      eventCreators?: {
        $schema?: string | null,
        createdAt?: string | null,
        creatorHandle?: string | null,
        creatorImage?: string | null,
        creatorName?: string | null,
        creatorUrl?: string | null,
        id?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      eventDate?: string | null,
      eventMetadata?: Record<string, any> | null,
      eventWeek?: number | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        eventId?: number | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      featured?: boolean | null,
      featuredImage?: string | null,
      featuredOrder?: number | null,
      finishedTimestamp?: string | null,
      gameId?: number | null,
      gmpChartMode?: string | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      lastHighlight?: string | null,
      lastHighlightAt?: string | null,
      lastHighlightType?: string | null,
      liquidity?: number | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      live?: boolean | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: (recursive)[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: (recursive)[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: (recursive)[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      maxMarketCount?: number | null,
      moduleType?: string | null,
      negRisk?: boolean | null,
      negRiskAugmented?: boolean | null,
      negRiskFeeBips?: number | null,
      negRiskMarketID?: string | null,
      new?: boolean | null,
      openInterest?: number | null,
      parentEventId?: number | null,
      pendingDeployment?: boolean | null,
      period?: string | null,
      published_at?: string | null,
      rescheduledFromGameId?: number | null,
      resolutionMode?: string | null,
      resolutionSource?: string | null,
      restricted?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: string | null,
      series?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        cgAssetName?: string | null,
        closed?: boolean | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        description?: string | null,
        events?: (recursive)[] | null | null,
        featured?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        layout?: string | null,
        liquidity?: number | null,
        new?: boolean | null,
        publishedAt?: string | null,
        pythTokenID?: string | null,
        recurrence?: string | null,
        restricted?: boolean | null,
        score?: number | null,
        seriesType?: string | null,
        slug?: string | null,
        startDate?: string | null,
        subtitle?: string | null,
        templateVariables?: boolean | null,
        ticker?: string | null,
        title?: string | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        volume?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      seriesSlug?: string | null,
      showAllOutcomes?: boolean | null,
      showMarketImages?: boolean | null,
      slug?: string | null,
      sortBy?: string | null,
      sport?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          sportId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        image?: string | null,
        name?: string | null,
        ordering?: string | null,
        primaryTagId?: number | null,
        resolution?: string | null,
        series?: string | null,
        sport?: string | null,
        tags?: string | null,
        updatedAt?: string | null
      } | null,
      spreadsMainLine?: number | null,
      startDate?: string | null,
      startTime?: string | null,
      subEvents?: (string | null)[] | null | null,
      subcategory?: string | null,
      subtitle?: string | null,
      tag_labels?: string[] | null | null,
      tag_slugs?: string[] | null | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      teams?: {
        $schema?: string | null,
        abbreviation?: string | null,
        alias?: string | null,
        color?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          source?: string | null,
          teamId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        league?: string | null,
        logo?: string | null,
        name?: string | null,
        ordering?: string | null,
        providerId?: number | null,
        record?: string | null,
        updatedAt?: string | null
      }[] | null | null,
      templateVariables?: string | null,
      ticker?: string | null,
      title?: string | null,
      totalsMainLine?: number | null,
      turnProviderId?: string | null,
      tweetCount?: number | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      usId?: string | null,
      version?: string | null,
      volume?: number | null,
      volume1mo?: number | null,
      volume1wk?: number | null,
      volume1yr?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    fallbackResolutionType?: string | null,
    featured?: boolean | null,
    fee?: string | null,
    feeExponent?: number | null,
    feeRate?: number | null,
    feeSchedule?: {
      exponent?: number | null,
      rate?: number | null,
      rebateRate?: number | null,
      takerOnly?: boolean | null
    } | null,
    feeType?: string | null | null,
    feesEnabled?: boolean | null,
    formatType?: string | null,
    fpmmLive?: boolean | null,
    funded?: boolean | null,
    fundedTimestamp?: string | null,
    gameId?: string | null,
    gameStartTime?: string | null,
    groupItemRange?: string | null,
    groupItemThreshold?: string | null,
    groupItemTitle?: string | null,
    hasReviewedDates?: boolean | null,
    holdingRewardsEnabled?: boolean | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    instrumentIndex?: number | null,
    instrumentKind?: string | null,
    lastTradePrice?: number | null,
    line?: number | null,
    liquidity?: string | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    liquidityNum?: number | null,
    lowerBound?: string | null,
    lowerBoundDate?: string | null,
    mailchimpTag?: string | null,
    makerBaseFee?: number | null,
    makerRebatesFeeShareBps?: number | null,
    manualActivation?: boolean | null,
    marketGroup?: number | null,
    marketMakerAddress?: string | null,
    marketMetadata?: Record<string, any> | null,
    marketType?: string | null,
    markets?: {
      $schema?: string | null,
      acceptingOrders?: boolean | null,
      acceptingOrdersTimestamp?: string | null,
      acceptingOrdersUntil?: string | null,
      active?: boolean | null,
      ammType?: string | null,
      approved?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestAsk?: number | null,
      bestBid?: number | null,
      category?: string | null,
      categoryMailchimpTag?: string | null,
      chartColor?: string | null,
      clearBookOnStart?: boolean | null,
      clobRewards?: {
        assetAddress?: string | null,
        conditionId?: string | null,
        endDate?: string | null,
        id?: string | null,
        rewardsAmount?: number | null,
        rewardsDailyRate?: number | null,
        startDate?: string | null
      }[] | null | null,
      clobTokenIds?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      comboStatus?: string | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      conditionId?: string | null,
      createdAt?: string | null,
      createdBy?: number | null,
      creator?: string | null,
      cryptoMarketConfig?: {
        $schema?: string | null,
        asset?: string | null,
        duration?: string | null,
        id?: string | null,
        twapEnabled?: boolean | null,
        twapLookbackSeconds?: number | null
      } | null,
      cryptoMarketConfigId?: string | null,
      curationOrder?: number | null,
      customLiveness?: number | null,
      cyom?: boolean | null,
      denominationToken?: string | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      endDateIso?: string | null,
      eventStartTime?: string | null,
      events?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestLines?: {
          id?: string | null,
          line?: number | null,
          lineType?: string | null
        }[] | null | null,
        cantEstimate?: boolean | null,
        carouselMap?: string | null,
        category?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        color?: string | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        countryName?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        creationDate?: string | null,
        cumulativeMarkets?: boolean | null,
        cyom?: boolean | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        elapsed?: string | null,
        electionType?: string | null,
        enableNegRisk?: boolean | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        ended?: boolean | null,
        estimateValue?: boolean | null,
        estimatedValue?: string | null,
        eventCreators?: {
          $schema?: string | null,
          createdAt?: string | null,
          creatorHandle?: string | null,
          creatorImage?: string | null,
          creatorName?: string | null,
          creatorUrl?: string | null,
          id?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        eventDate?: string | null,
        eventMetadata?: Record<string, any> | null,
        eventWeek?: number | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          eventId?: number | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        featured?: boolean | null,
        featuredImage?: string | null,
        featuredOrder?: number | null,
        finishedTimestamp?: string | null,
        gameId?: number | null,
        gmpChartMode?: string | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        lastHighlight?: string | null,
        lastHighlightAt?: string | null,
        lastHighlightType?: string | null,
        liquidity?: number | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        live?: boolean | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: (recursive)[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: (recursive)[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        maxMarketCount?: number | null,
        moduleType?: string | null,
        negRisk?: boolean | null,
        negRiskAugmented?: boolean | null,
        negRiskFeeBips?: number | null,
        negRiskMarketID?: string | null,
        new?: boolean | null,
        openInterest?: number | null,
        parentEventId?: number | null,
        pendingDeployment?: boolean | null,
        period?: string | null,
        published_at?: string | null,
        rescheduledFromGameId?: number | null,
        resolutionMode?: string | null,
        resolutionSource?: string | null,
        restricted?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: string | null,
        series?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          cgAssetName?: string | null,
          closed?: boolean | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          description?: string | null,
          events?: (recursive)[] | null | null,
          featured?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          layout?: string | null,
          liquidity?: number | null,
          new?: boolean | null,
          publishedAt?: string | null,
          pythTokenID?: string | null,
          recurrence?: string | null,
          restricted?: boolean | null,
          score?: number | null,
          seriesType?: string | null,
          slug?: string | null,
          startDate?: string | null,
          subtitle?: string | null,
          templateVariables?: boolean | null,
          ticker?: string | null,
          title?: string | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          volume?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        seriesSlug?: string | null,
        showAllOutcomes?: boolean | null,
        showMarketImages?: boolean | null,
        slug?: string | null,
        sortBy?: string | null,
        sport?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            sportId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          image?: string | null,
          name?: string | null,
          ordering?: string | null,
          primaryTagId?: number | null,
          resolution?: string | null,
          series?: string | null,
          sport?: string | null,
          tags?: string | null,
          updatedAt?: string | null
        } | null,
        spreadsMainLine?: number | null,
        startDate?: string | null,
        startTime?: string | null,
        subEvents?: (string | null)[] | null | null,
        subcategory?: string | null,
        subtitle?: string | null,
        tag_labels?: string[] | null | null,
        tag_slugs?: string[] | null | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        teams?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        templateVariables?: string | null,
        ticker?: string | null,
        title?: string | null,
        totalsMainLine?: number | null,
        turnProviderId?: string | null,
        tweetCount?: number | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        usId?: string | null,
        version?: string | null,
        volume?: number | null,
        volume1mo?: number | null,
        volume1wk?: number | null,
        volume1yr?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      fallbackResolutionType?: string | null,
      featured?: boolean | null,
      fee?: string | null,
      feeExponent?: number | null,
      feeRate?: number | null,
      feeSchedule?: {
        exponent?: number | null,
        rate?: number | null,
        rebateRate?: number | null,
        takerOnly?: boolean | null
      } | null,
      feeType?: string | null | null,
      feesEnabled?: boolean | null,
      formatType?: string | null,
      fpmmLive?: boolean | null,
      funded?: boolean | null,
      fundedTimestamp?: string | null,
      gameId?: string | null,
      gameStartTime?: string | null,
      groupItemRange?: string | null,
      groupItemThreshold?: string | null,
      groupItemTitle?: string | null,
      hasReviewedDates?: boolean | null,
      holdingRewardsEnabled?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      instrumentIndex?: number | null,
      instrumentKind?: string | null,
      lastTradePrice?: number | null,
      line?: number | null,
      liquidity?: string | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      liquidityNum?: number | null,
      lowerBound?: string | null,
      lowerBoundDate?: string | null,
      mailchimpTag?: string | null,
      makerBaseFee?: number | null,
      makerRebatesFeeShareBps?: number | null,
      manualActivation?: boolean | null,
      marketGroup?: number | null,
      marketMakerAddress?: string | null,
      marketMetadata?: Record<string, any> | null,
      marketType?: string | null,
      markets?: (recursive)[] | null | null,
      negRisk?: boolean | null,
      negRiskMarketID?: string | null,
      negRiskOther?: boolean | null,
      negRiskRequestID?: string | null,
      new?: boolean | null,
      notificationsEnabled?: boolean | null,
      onchainEventId?: string | null,
      oneDayPriceChange?: number | null,
      oneHourPriceChange?: number | null,
      oneMonthPriceChange?: number | null,
      oneWeekPriceChange?: number | null,
      oneYearPriceChange?: number | null,
      orderMinSize?: number | null,
      orderPriceMinTickSize?: number | null,
      outcomePrices?: string | null,
      outcomes?: string | null,
      pastSlugs?: string | null,
      pendingDeployment?: boolean | null,
      positionIds?: string[] | null | null,
      question?: string | null,
      questionID?: string | null,
      ready?: boolean | null,
      readyForCron?: boolean | null,
      readyTimestamp?: string | null,
      requestId?: string | null,
      resolutionMechanism?: string | null | null,
      resolutionSource?: string | null,
      resolutionStatus?: string | null,
      resolvedBy?: string | null,
      restricted?: boolean | null,
      rewardsMaxSpread?: number | null,
      rewardsMinSize?: number | null,
      rfqEnabled?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: number | null,
      secondsDelay?: number | null,
      sentDiscord?: boolean | null,
      seriesColor?: string | null,
      shortOutcomes?: string | null,
      showGmpOutcome?: boolean | null,
      showGmpSeries?: boolean | null,
      slug?: string | null,
      sponsorImage?: string | null,
      sponsorName?: string | null,
      sportsMarketType?: string | null,
      spread?: number | null,
      startDate?: string | null,
      startDateIso?: string | null,
      subcategory?: string | null,
      submitted_by?: string | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      takerBaseFee?: number | null,
      teamAID?: string | null,
      teamBID?: string | null,
      tradingEligible?: boolean | null | null,
      twitterCardImage?: string | null,
      twitterCardLastRefreshed?: string | null,
      twitterCardLastValidated?: string | null,
      twitterCardLocation?: string | null,
      umaBond?: string | null,
      umaEndDate?: string | null,
      umaEndDateIso?: string | null,
      umaResolutionStatus?: string | null,
      umaResolutionStatuses?: string | null,
      umaReward?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null,
      upperBound?: string | null,
      upperBoundDate?: string | null,
      version?: string | null,
      volume?: string | null,
      volume1mo?: number | null,
      volume1moAmm?: number | null,
      volume1moClob?: number | null,
      volume1wk?: number | null,
      volume1wkAmm?: number | null,
      volume1wkClob?: number | null,
      volume1yr?: number | null,
      volume1yrAmm?: number | null,
      volume1yrClob?: number | null,
      volume24hr?: number | null,
      volume24hrAmm?: number | null,
      volume24hrClob?: number | null,
      volumeAmm?: number | null,
      volumeClob?: number | null,
      volumeNum?: number | null,
      wideFormat?: boolean | null,
      xAxisValue?: string | null,
      yAxisValue?: string | null
    }[] | null | null,
    negRisk?: boolean | null,
    negRiskMarketID?: string | null,
    negRiskOther?: boolean | null,
    negRiskRequestID?: string | null,
    new?: boolean | null,
    notificationsEnabled?: boolean | null,
    onchainEventId?: string | null,
    oneDayPriceChange?: number | null,
    oneHourPriceChange?: number | null,
    oneMonthPriceChange?: number | null,
    oneWeekPriceChange?: number | null,
    oneYearPriceChange?: number | null,
    orderMinSize?: number | null,
    orderPriceMinTickSize?: number | null,
    outcomePrices?: string | null,
    outcomes?: string | null,
    pastSlugs?: string | null,
    pendingDeployment?: boolean | null,
    positionIds?: string[] | null | null,
    question?: string | null,
    questionID?: string | null,
    ready?: boolean | null,
    readyForCron?: boolean | null,
    readyTimestamp?: string | null,
    requestId?: string | null,
    resolutionMechanism?: string | null | null,
    resolutionSource?: string | null,
    resolutionStatus?: string | null,
    resolvedBy?: string | null,
    restricted?: boolean | null,
    rewardsMaxSpread?: number | null,
    rewardsMinSize?: number | null,
    rfqEnabled?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: number | null,
    secondsDelay?: number | null,
    sentDiscord?: boolean | null,
    seriesColor?: string | null,
    shortOutcomes?: string | null,
    showGmpOutcome?: boolean | null,
    showGmpSeries?: boolean | null,
    slug?: string | null,
    sponsorImage?: string | null,
    sponsorName?: string | null,
    sportsMarketType?: string | null,
    spread?: number | null,
    startDate?: string | null,
    startDateIso?: string | null,
    subcategory?: string | null,
    submitted_by?: string | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    takerBaseFee?: number | null,
    teamAID?: string | null,
    teamBID?: string | null,
    tradingEligible?: boolean | null | null,
    twitterCardImage?: string | null,
    twitterCardLastRefreshed?: string | null,
    twitterCardLastValidated?: string | null,
    twitterCardLocation?: string | null,
    umaBond?: string | null,
    umaEndDate?: string | null,
    umaEndDateIso?: string | null,
    umaResolutionStatus?: string | null,
    umaResolutionStatuses?: string | null,
    umaReward?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null,
    upperBound?: string | null,
    upperBoundDate?: string | null,
    version?: string | null,
    volume?: string | null,
    volume1mo?: number | null,
    volume1moAmm?: number | null,
    volume1moClob?: number | null,
    volume1wk?: number | null,
    volume1wkAmm?: number | null,
    volume1wkClob?: number | null,
    volume1yr?: number | null,
    volume1yrAmm?: number | null,
    volume1yrClob?: number | null,
    volume24hr?: number | null,
    volume24hrAmm?: number | null,
    volume24hrClob?: number | null,
    volumeAmm?: number | null,
    volumeClob?: number | null,
    volumeNum?: number | null,
    wideFormat?: boolean | null,
    xAxisValue?: string | null,
    yAxisValue?: string | null
  }[] | null | null,
  maxMarketCount?: number | null,
  moduleType?: string | null,
  negRisk?: boolean | null,
  negRiskAugmented?: boolean | null,
  negRiskFeeBips?: number | null,
  negRiskMarketID?: string | null,
  new?: boolean | null,
  openInterest?: number | null,
  parentEventId?: number | null,
  pendingDeployment?: boolean | null,
  period?: string | null,
  published_at?: string | null,
  rescheduledFromGameId?: number | null,
  resolutionMode?: string | null,
  resolutionSource?: string | null,
  restricted?: boolean | null,
  scheduledDeploymentTimestamp?: string | null,
  score?: string | null,
  series?: {
    $schema?: string | null,
    active?: boolean | null,
    archived?: boolean | null,
    cgAssetName?: string | null,
    closed?: boolean | null,
    commentCount?: number | null,
    commentsEnabled?: boolean | null,
    competitive?: string | null,
    createdAt?: string | null,
    createdBy?: string | null,
    description?: string | null,
    events?: (recursive)[] | null | null,
    featured?: boolean | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    isTemplate?: boolean | null,
    layout?: string | null,
    liquidity?: number | null,
    new?: boolean | null,
    publishedAt?: string | null,
    pythTokenID?: string | null,
    recurrence?: string | null,
    restricted?: boolean | null,
    score?: number | null,
    seriesType?: string | null,
    slug?: string | null,
    startDate?: string | null,
    subtitle?: string | null,
    templateVariables?: boolean | null,
    ticker?: string | null,
    title?: string | null,
    updatedAt?: string | null,
    updatedBy?: string | null,
    volume?: number | null,
    volume24hr?: number | null
  }[] | null | null,
  seriesSlug?: string | null,
  showAllOutcomes?: boolean | null,
  showMarketImages?: boolean | null,
  slug?: string | null,
  sortBy?: string | null,
  sport?: {
    $schema?: string | null,
    createdAt?: string | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      sportId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    id?: number | null,
    image?: string | null,
    name?: string | null,
    ordering?: string | null,
    primaryTagId?: number | null,
    resolution?: string | null,
    series?: string | null,
    sport?: string | null,
    tags?: string | null,
    updatedAt?: string | null
  } | null,
  spreadsMainLine?: number | null,
  startDate?: string | null,
  startTime?: string | null,
  subEvents?: (string | null)[] | null | null,
  subcategory?: string | null,
  subtitle?: string | null,
  tag_labels?: string[] | null | null,
  tag_slugs?: string[] | null | null,
  tags?: {
    $schema?: string | null,
    activeEventsCount?: number | null,
    createdAt?: string | null,
    createdBy?: number | null,
    forceHide?: boolean | null,
    forceShow?: boolean | null,
    id?: string | null,
    isCarousel?: boolean | null,
    label?: string | null,
    publishedAt?: string | null,
    slug?: string | null,
    updatedAt?: string | null,
    updatedBy?: number | null
  }[] | null | null,
  teams?: {
    $schema?: string | null,
    abbreviation?: string | null,
    alias?: string | null,
    color?: string | null,
    createdAt?: string | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      source?: string | null,
      teamId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    id?: number | null,
    league?: string | null,
    logo?: string | null,
    name?: string | null,
    ordering?: string | null,
    providerId?: number | null,
    record?: string | null,
    updatedAt?: string | null
  }[] | null | null,
  templateVariables?: string | null,
  ticker?: string | null,
  title?: string | null,
  totalsMainLine?: number | null,
  turnProviderId?: string | null,
  tweetCount?: number | null,
  updatedAt?: string | null,
  updatedBy?: string | null,
  usId?: string | null,
  version?: string | null,
  volume?: number | null,
  volume1mo?: number | null,
  volume1wk?: number | null,
  volume1yr?: number | null,
  volume24hr?: number | null
}[] | null | null
```

***

### series.list

`gamma.series.list`

Get series

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.series.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string[] \| null` | No | Series slugs to return |
| `closed` | `string` | No | Filter by closed flag (true/false). Defaults to false when omitted. |
| `recurrence` | `daily \| weekly \| monthly \| annual \| hourly` | No | Filter by recurrence: daily, weekly, monthly, annual, or hourly |
| `locale` | `string` | No | Locale used to localize returned content |
| `exclude_events` | `string` | No | Exclude embedded events when true (true/false) |
| `limit` | `string` | No | Max results returned |
| `offset` | `string` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `string` | No | Sort ascending when true. Defaults to true when order is supplied. |
| `after_cursor` | `string` | No | Opaque keyset pagination cursor from a previous response |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  active?: boolean | null,
  archived?: boolean | null,
  cgAssetName?: string | null,
  closed?: boolean | null,
  commentCount?: number | null,
  commentsEnabled?: boolean | null,
  competitive?: string | null,
  createdAt?: string | null,
  createdBy?: string | null,
  description?: string | null,
  events?: {
    $schema?: string | null,
    active?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestLines?: {
      id?: string | null,
      line?: number | null,
      lineType?: string | null
    }[] | null | null,
    cantEstimate?: boolean | null,
    carouselMap?: string | null,
    category?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    color?: string | null,
    commentCount?: number | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    countryName?: string | null,
    createdAt?: string | null,
    createdBy?: string | null,
    creationDate?: string | null,
    cumulativeMarkets?: boolean | null,
    cyom?: boolean | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    elapsed?: string | null,
    electionType?: string | null,
    enableNegRisk?: boolean | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    ended?: boolean | null,
    estimateValue?: boolean | null,
    estimatedValue?: string | null,
    eventCreators?: {
      $schema?: string | null,
      createdAt?: string | null,
      creatorHandle?: string | null,
      creatorImage?: string | null,
      creatorName?: string | null,
      creatorUrl?: string | null,
      id?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    eventDate?: string | null,
    eventMetadata?: Record<string, any> | null,
    eventWeek?: number | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      eventId?: number | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    featured?: boolean | null,
    featuredImage?: string | null,
    featuredOrder?: number | null,
    finishedTimestamp?: string | null,
    gameId?: number | null,
    gmpChartMode?: string | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    isTemplate?: boolean | null,
    lastHighlight?: string | null,
    lastHighlightAt?: string | null,
    lastHighlightType?: string | null,
    liquidity?: number | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    live?: boolean | null,
    markets?: {
      $schema?: string | null,
      acceptingOrders?: boolean | null,
      acceptingOrdersTimestamp?: string | null,
      acceptingOrdersUntil?: string | null,
      active?: boolean | null,
      ammType?: string | null,
      approved?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestAsk?: number | null,
      bestBid?: number | null,
      category?: string | null,
      categoryMailchimpTag?: string | null,
      chartColor?: string | null,
      clearBookOnStart?: boolean | null,
      clobRewards?: {
        assetAddress?: string | null,
        conditionId?: string | null,
        endDate?: string | null,
        id?: string | null,
        rewardsAmount?: number | null,
        rewardsDailyRate?: number | null,
        startDate?: string | null
      }[] | null | null,
      clobTokenIds?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      comboStatus?: string | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      conditionId?: string | null,
      createdAt?: string | null,
      createdBy?: number | null,
      creator?: string | null,
      cryptoMarketConfig?: {
        $schema?: string | null,
        asset?: string | null,
        duration?: string | null,
        id?: string | null,
        twapEnabled?: boolean | null,
        twapLookbackSeconds?: number | null
      } | null,
      cryptoMarketConfigId?: string | null,
      curationOrder?: number | null,
      customLiveness?: number | null,
      cyom?: boolean | null,
      denominationToken?: string | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      endDateIso?: string | null,
      eventStartTime?: string | null,
      events?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestLines?: {
          id?: string | null,
          line?: number | null,
          lineType?: string | null
        }[] | null | null,
        cantEstimate?: boolean | null,
        carouselMap?: string | null,
        category?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        color?: string | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        countryName?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        creationDate?: string | null,
        cumulativeMarkets?: boolean | null,
        cyom?: boolean | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        elapsed?: string | null,
        electionType?: string | null,
        enableNegRisk?: boolean | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        ended?: boolean | null,
        estimateValue?: boolean | null,
        estimatedValue?: string | null,
        eventCreators?: {
          $schema?: string | null,
          createdAt?: string | null,
          creatorHandle?: string | null,
          creatorImage?: string | null,
          creatorName?: string | null,
          creatorUrl?: string | null,
          id?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        eventDate?: string | null,
        eventMetadata?: Record<string, any> | null,
        eventWeek?: number | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          eventId?: number | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        featured?: boolean | null,
        featuredImage?: string | null,
        featuredOrder?: number | null,
        finishedTimestamp?: string | null,
        gameId?: number | null,
        gmpChartMode?: string | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        lastHighlight?: string | null,
        lastHighlightAt?: string | null,
        lastHighlightType?: string | null,
        liquidity?: number | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        live?: boolean | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: (recursive)[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        maxMarketCount?: number | null,
        moduleType?: string | null,
        negRisk?: boolean | null,
        negRiskAugmented?: boolean | null,
        negRiskFeeBips?: number | null,
        negRiskMarketID?: string | null,
        new?: boolean | null,
        openInterest?: number | null,
        parentEventId?: number | null,
        pendingDeployment?: boolean | null,
        period?: string | null,
        published_at?: string | null,
        rescheduledFromGameId?: number | null,
        resolutionMode?: string | null,
        resolutionSource?: string | null,
        restricted?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: string | null,
        series?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          cgAssetName?: string | null,
          closed?: boolean | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          description?: string | null,
          events?: (recursive)[] | null | null,
          featured?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          layout?: string | null,
          liquidity?: number | null,
          new?: boolean | null,
          publishedAt?: string | null,
          pythTokenID?: string | null,
          recurrence?: string | null,
          restricted?: boolean | null,
          score?: number | null,
          seriesType?: string | null,
          slug?: string | null,
          startDate?: string | null,
          subtitle?: string | null,
          templateVariables?: boolean | null,
          ticker?: string | null,
          title?: string | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          volume?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        seriesSlug?: string | null,
        showAllOutcomes?: boolean | null,
        showMarketImages?: boolean | null,
        slug?: string | null,
        sortBy?: string | null,
        sport?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            sportId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          image?: string | null,
          name?: string | null,
          ordering?: string | null,
          primaryTagId?: number | null,
          resolution?: string | null,
          series?: string | null,
          sport?: string | null,
          tags?: string | null,
          updatedAt?: string | null
        } | null,
        spreadsMainLine?: number | null,
        startDate?: string | null,
        startTime?: string | null,
        subEvents?: (string | null)[] | null | null,
        subcategory?: string | null,
        subtitle?: string | null,
        tag_labels?: string[] | null | null,
        tag_slugs?: string[] | null | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        teams?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        templateVariables?: string | null,
        ticker?: string | null,
        title?: string | null,
        totalsMainLine?: number | null,
        turnProviderId?: string | null,
        tweetCount?: number | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        usId?: string | null,
        version?: string | null,
        volume?: number | null,
        volume1mo?: number | null,
        volume1wk?: number | null,
        volume1yr?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      fallbackResolutionType?: string | null,
      featured?: boolean | null,
      fee?: string | null,
      feeExponent?: number | null,
      feeRate?: number | null,
      feeSchedule?: {
        exponent?: number | null,
        rate?: number | null,
        rebateRate?: number | null,
        takerOnly?: boolean | null
      } | null,
      feeType?: string | null | null,
      feesEnabled?: boolean | null,
      formatType?: string | null,
      fpmmLive?: boolean | null,
      funded?: boolean | null,
      fundedTimestamp?: string | null,
      gameId?: string | null,
      gameStartTime?: string | null,
      groupItemRange?: string | null,
      groupItemThreshold?: string | null,
      groupItemTitle?: string | null,
      hasReviewedDates?: boolean | null,
      holdingRewardsEnabled?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      instrumentIndex?: number | null,
      instrumentKind?: string | null,
      lastTradePrice?: number | null,
      line?: number | null,
      liquidity?: string | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      liquidityNum?: number | null,
      lowerBound?: string | null,
      lowerBoundDate?: string | null,
      mailchimpTag?: string | null,
      makerBaseFee?: number | null,
      makerRebatesFeeShareBps?: number | null,
      manualActivation?: boolean | null,
      marketGroup?: number | null,
      marketMakerAddress?: string | null,
      marketMetadata?: Record<string, any> | null,
      marketType?: string | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestLines?: {
            id?: string | null,
            line?: number | null,
            lineType?: string | null
          }[] | null | null,
          cantEstimate?: boolean | null,
          carouselMap?: string | null,
          category?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          color?: string | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          countryName?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          creationDate?: string | null,
          cumulativeMarkets?: boolean | null,
          cyom?: boolean | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          elapsed?: string | null,
          electionType?: string | null,
          enableNegRisk?: boolean | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          ended?: boolean | null,
          estimateValue?: boolean | null,
          estimatedValue?: string | null,
          eventCreators?: {
            $schema?: string | null,
            createdAt?: string | null,
            creatorHandle?: string | null,
            creatorImage?: string | null,
            creatorName?: string | null,
            creatorUrl?: string | null,
            id?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          eventDate?: string | null,
          eventMetadata?: Record<string, any> | null,
          eventWeek?: number | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            eventId?: number | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          featured?: boolean | null,
          featuredImage?: string | null,
          featuredOrder?: number | null,
          finishedTimestamp?: string | null,
          gameId?: number | null,
          gmpChartMode?: string | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          lastHighlight?: string | null,
          lastHighlightAt?: string | null,
          lastHighlightType?: string | null,
          liquidity?: number | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          live?: boolean | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          maxMarketCount?: number | null,
          moduleType?: string | null,
          negRisk?: boolean | null,
          negRiskAugmented?: boolean | null,
          negRiskFeeBips?: number | null,
          negRiskMarketID?: string | null,
          new?: boolean | null,
          openInterest?: number | null,
          parentEventId?: number | null,
          pendingDeployment?: boolean | null,
          period?: string | null,
          published_at?: string | null,
          rescheduledFromGameId?: number | null,
          resolutionMode?: string | null,
          resolutionSource?: string | null,
          restricted?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: string | null,
          series?: {
            $schema?: string | null,
            active?: boolean | null,
            archived?: boolean | null,
            cgAssetName?: string | null,
            closed?: boolean | null,
            commentCount?: number | null,
            commentsEnabled?: boolean | null,
            competitive?: string | null,
            createdAt?: string | null,
            createdBy?: string | null,
            description?: string | null,
            events?: (recursive)[] | null | null,
            featured?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            isTemplate?: boolean | null,
            layout?: string | null,
            liquidity?: number | null,
            new?: boolean | null,
            publishedAt?: string | null,
            pythTokenID?: string | null,
            recurrence?: string | null,
            restricted?: boolean | null,
            score?: number | null,
            seriesType?: string | null,
            slug?: string | null,
            startDate?: string | null,
            subtitle?: string | null,
            templateVariables?: boolean | null,
            ticker?: string | null,
            title?: string | null,
            updatedAt?: string | null,
            updatedBy?: string | null,
            volume?: number | null,
            volume24hr?: number | null
          }[] | null | null,
          seriesSlug?: string | null,
          showAllOutcomes?: boolean | null,
          showMarketImages?: boolean | null,
          slug?: string | null,
          sortBy?: string | null,
          sport?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              sportId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            image?: string | null,
            name?: string | null,
            ordering?: string | null,
            primaryTagId?: number | null,
            resolution?: string | null,
            series?: string | null,
            sport?: string | null,
            tags?: string | null,
            updatedAt?: string | null
          } | null,
          spreadsMainLine?: number | null,
          startDate?: string | null,
          startTime?: string | null,
          subEvents?: (string | null)[] | null | null,
          subcategory?: string | null,
          subtitle?: string | null,
          tag_labels?: string[] | null | null,
          tag_slugs?: string[] | null | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          teams?: {
            $schema?: string | null,
            abbreviation?: string | null,
            alias?: string | null,
            color?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              source?: string | null,
              teamId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            league?: string | null,
            logo?: string | null,
            name?: string | null,
            ordering?: string | null,
            providerId?: number | null,
            record?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          templateVariables?: string | null,
          ticker?: string | null,
          title?: string | null,
          totalsMainLine?: number | null,
          turnProviderId?: string | null,
          tweetCount?: number | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          usId?: string | null,
          version?: string | null,
          volume?: number | null,
          volume1mo?: number | null,
          volume1wk?: number | null,
          volume1yr?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      negRisk?: boolean | null,
      negRiskMarketID?: string | null,
      negRiskOther?: boolean | null,
      negRiskRequestID?: string | null,
      new?: boolean | null,
      notificationsEnabled?: boolean | null,
      onchainEventId?: string | null,
      oneDayPriceChange?: number | null,
      oneHourPriceChange?: number | null,
      oneMonthPriceChange?: number | null,
      oneWeekPriceChange?: number | null,
      oneYearPriceChange?: number | null,
      orderMinSize?: number | null,
      orderPriceMinTickSize?: number | null,
      outcomePrices?: string | null,
      outcomes?: string | null,
      pastSlugs?: string | null,
      pendingDeployment?: boolean | null,
      positionIds?: string[] | null | null,
      question?: string | null,
      questionID?: string | null,
      ready?: boolean | null,
      readyForCron?: boolean | null,
      readyTimestamp?: string | null,
      requestId?: string | null,
      resolutionMechanism?: string | null | null,
      resolutionSource?: string | null,
      resolutionStatus?: string | null,
      resolvedBy?: string | null,
      restricted?: boolean | null,
      rewardsMaxSpread?: number | null,
      rewardsMinSize?: number | null,
      rfqEnabled?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: number | null,
      secondsDelay?: number | null,
      sentDiscord?: boolean | null,
      seriesColor?: string | null,
      shortOutcomes?: string | null,
      showGmpOutcome?: boolean | null,
      showGmpSeries?: boolean | null,
      slug?: string | null,
      sponsorImage?: string | null,
      sponsorName?: string | null,
      sportsMarketType?: string | null,
      spread?: number | null,
      startDate?: string | null,
      startDateIso?: string | null,
      subcategory?: string | null,
      submitted_by?: string | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      takerBaseFee?: number | null,
      teamAID?: string | null,
      teamBID?: string | null,
      tradingEligible?: boolean | null | null,
      twitterCardImage?: string | null,
      twitterCardLastRefreshed?: string | null,
      twitterCardLastValidated?: string | null,
      twitterCardLocation?: string | null,
      umaBond?: string | null,
      umaEndDate?: string | null,
      umaEndDateIso?: string | null,
      umaResolutionStatus?: string | null,
      umaResolutionStatuses?: string | null,
      umaReward?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null,
      upperBound?: string | null,
      upperBoundDate?: string | null,
      version?: string | null,
      volume?: string | null,
      volume1mo?: number | null,
      volume1moAmm?: number | null,
      volume1moClob?: number | null,
      volume1wk?: number | null,
      volume1wkAmm?: number | null,
      volume1wkClob?: number | null,
      volume1yr?: number | null,
      volume1yrAmm?: number | null,
      volume1yrClob?: number | null,
      volume24hr?: number | null,
      volume24hrAmm?: number | null,
      volume24hrClob?: number | null,
      volumeAmm?: number | null,
      volumeClob?: number | null,
      volumeNum?: number | null,
      wideFormat?: boolean | null,
      xAxisValue?: string | null,
      yAxisValue?: string | null
    }[] | null | null,
    maxMarketCount?: number | null,
    moduleType?: string | null,
    negRisk?: boolean | null,
    negRiskAugmented?: boolean | null,
    negRiskFeeBips?: number | null,
    negRiskMarketID?: string | null,
    new?: boolean | null,
    openInterest?: number | null,
    parentEventId?: number | null,
    pendingDeployment?: boolean | null,
    period?: string | null,
    published_at?: string | null,
    rescheduledFromGameId?: number | null,
    resolutionMode?: string | null,
    resolutionSource?: string | null,
    restricted?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: string | null,
    series?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      cgAssetName?: string | null,
      closed?: boolean | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      description?: string | null,
      events?: (recursive)[] | null | null,
      featured?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      layout?: string | null,
      liquidity?: number | null,
      new?: boolean | null,
      publishedAt?: string | null,
      pythTokenID?: string | null,
      recurrence?: string | null,
      restricted?: boolean | null,
      score?: number | null,
      seriesType?: string | null,
      slug?: string | null,
      startDate?: string | null,
      subtitle?: string | null,
      templateVariables?: boolean | null,
      ticker?: string | null,
      title?: string | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      volume?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    seriesSlug?: string | null,
    showAllOutcomes?: boolean | null,
    showMarketImages?: boolean | null,
    slug?: string | null,
    sortBy?: string | null,
    sport?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        sportId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      image?: string | null,
      name?: string | null,
      ordering?: string | null,
      primaryTagId?: number | null,
      resolution?: string | null,
      series?: string | null,
      sport?: string | null,
      tags?: string | null,
      updatedAt?: string | null
    } | null,
    spreadsMainLine?: number | null,
    startDate?: string | null,
    startTime?: string | null,
    subEvents?: (string | null)[] | null | null,
    subcategory?: string | null,
    subtitle?: string | null,
    tag_labels?: string[] | null | null,
    tag_slugs?: string[] | null | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    teams?: {
      $schema?: string | null,
      abbreviation?: string | null,
      alias?: string | null,
      color?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        source?: string | null,
        teamId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      league?: string | null,
      logo?: string | null,
      name?: string | null,
      ordering?: string | null,
      providerId?: number | null,
      record?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    templateVariables?: string | null,
    ticker?: string | null,
    title?: string | null,
    totalsMainLine?: number | null,
    turnProviderId?: string | null,
    tweetCount?: number | null,
    updatedAt?: string | null,
    updatedBy?: string | null,
    usId?: string | null,
    version?: string | null,
    volume?: number | null,
    volume1mo?: number | null,
    volume1wk?: number | null,
    volume1yr?: number | null,
    volume24hr?: number | null
  }[] | null | null,
  featured?: boolean | null,
  icon?: string | null,
  id?: string | null,
  image?: string | null,
  isTemplate?: boolean | null,
  layout?: string | null,
  liquidity?: number | null,
  new?: boolean | null,
  publishedAt?: string | null,
  pythTokenID?: string | null,
  recurrence?: string | null,
  restricted?: boolean | null,
  score?: number | null,
  seriesType?: string | null,
  slug?: string | null,
  startDate?: string | null,
  subtitle?: string | null,
  templateVariables?: boolean | null,
  ticker?: string | null,
  title?: string | null,
  updatedAt?: string | null,
  updatedBy?: string | null,
  volume?: number | null,
  volume24hr?: number | null
}[] | null
```

***

### series.listKeyset

`gamma.series.listKeyset`

Get series (keyset)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.series.listKeyset({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string[] \| null` | No | Series slugs to return |
| `closed` | `string` | No | Filter by closed flag (true/false). Defaults to false when omitted. |
| `recurrence` | `daily \| weekly \| monthly \| annual \| hourly` | No | Filter by recurrence: daily, weekly, monthly, annual, or hourly |
| `locale` | `string` | No | Locale used to localize returned content |
| `exclude_events` | `string` | No | Exclude embedded events when true (true/false) |
| `limit` | `string` | No | Max results returned |
| `offset` | `string` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `string` | No | Sort ascending when true. Defaults to true when order is supplied. |
| `after_cursor` | `string` | No | Opaque keyset pagination cursor from a previous response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `next_cursor` | `string \| null` | No | Opaque cursor to pass as after\_cursor when requesting the next page. Absent on the last page. |
| `series` | `object[] \| null` | No | Series returned for the current page. |

```ts theme={null}
{
  $schema?: string | null,
  active?: boolean | null,
  archived?: boolean | null,
  cgAssetName?: string | null,
  closed?: boolean | null,
  commentCount?: number | null,
  commentsEnabled?: boolean | null,
  competitive?: string | null,
  createdAt?: string | null,
  createdBy?: string | null,
  description?: string | null,
  events?: {
    $schema?: string | null,
    active?: boolean | null,
    archived?: boolean | null,
    automaticallyActive?: boolean | null,
    automaticallyResolved?: boolean | null,
    bestLines?: {
      id?: string | null,
      line?: number | null,
      lineType?: string | null
    }[] | null | null,
    cantEstimate?: boolean | null,
    carouselMap?: string | null,
    category?: string | null,
    closed?: boolean | null,
    closedTime?: string | null,
    color?: string | null,
    commentCount?: number | null,
    commentsEnabled?: boolean | null,
    competitive?: number | null,
    countryName?: string | null,
    createdAt?: string | null,
    createdBy?: string | null,
    creationDate?: string | null,
    cumulativeMarkets?: boolean | null,
    cyom?: boolean | null,
    deploying?: boolean | null,
    deployingTimestamp?: string | null,
    description?: string | null,
    disqusThread?: string | null,
    elapsed?: string | null,
    electionType?: string | null,
    enableNegRisk?: boolean | null,
    enableOrderBook?: boolean | null,
    endDate?: string | null,
    ended?: boolean | null,
    estimateValue?: boolean | null,
    estimatedValue?: string | null,
    eventCreators?: {
      $schema?: string | null,
      createdAt?: string | null,
      creatorHandle?: string | null,
      creatorImage?: string | null,
      creatorName?: string | null,
      creatorUrl?: string | null,
      id?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    eventDate?: string | null,
    eventMetadata?: Record<string, any> | null,
    eventWeek?: number | null,
    externalPartners?: {
      $schema?: string | null,
      createdAt?: string | null,
      eventId?: number | null,
      externalId?: string | null,
      id?: number | null,
      partner?: {
        $schema?: string | null,
        createdAt?: string | null,
        id?: number | null,
        name?: string | null,
        slug?: string | null,
        updatedAt?: string | null
      } | null,
      partnerId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    facets?: {
      abbreviation?: string | null,
      appliesTo?: string[] | null | null,
      label?: string | null,
      parents?: string[] | null | null,
      slug?: string | null
    }[] | null | null,
    featured?: boolean | null,
    featuredImage?: string | null,
    featuredOrder?: number | null,
    finishedTimestamp?: string | null,
    gameId?: number | null,
    gmpChartMode?: string | null,
    icon?: string | null,
    id?: string | null,
    image?: string | null,
    isTemplate?: boolean | null,
    lastHighlight?: string | null,
    lastHighlightAt?: string | null,
    lastHighlightType?: string | null,
    liquidity?: number | null,
    liquidityAmm?: number | null,
    liquidityClob?: number | null,
    live?: boolean | null,
    markets?: {
      $schema?: string | null,
      acceptingOrders?: boolean | null,
      acceptingOrdersTimestamp?: string | null,
      acceptingOrdersUntil?: string | null,
      active?: boolean | null,
      ammType?: string | null,
      approved?: boolean | null,
      archived?: boolean | null,
      automaticallyActive?: boolean | null,
      automaticallyResolved?: boolean | null,
      bestAsk?: number | null,
      bestBid?: number | null,
      category?: string | null,
      categoryMailchimpTag?: string | null,
      chartColor?: string | null,
      clearBookOnStart?: boolean | null,
      clobRewards?: {
        assetAddress?: string | null,
        conditionId?: string | null,
        endDate?: string | null,
        id?: string | null,
        rewardsAmount?: number | null,
        rewardsDailyRate?: number | null,
        startDate?: string | null
      }[] | null | null,
      clobTokenIds?: string | null,
      closed?: boolean | null,
      closedTime?: string | null,
      comboStatus?: string | null,
      commentsEnabled?: boolean | null,
      competitive?: number | null,
      conditionId?: string | null,
      createdAt?: string | null,
      createdBy?: number | null,
      creator?: string | null,
      cryptoMarketConfig?: {
        $schema?: string | null,
        asset?: string | null,
        duration?: string | null,
        id?: string | null,
        twapEnabled?: boolean | null,
        twapLookbackSeconds?: number | null
      } | null,
      cryptoMarketConfigId?: string | null,
      curationOrder?: number | null,
      customLiveness?: number | null,
      cyom?: boolean | null,
      denominationToken?: string | null,
      deploying?: boolean | null,
      deployingTimestamp?: string | null,
      description?: string | null,
      disqusThread?: string | null,
      enableOrderBook?: boolean | null,
      endDate?: string | null,
      endDateIso?: string | null,
      eventStartTime?: string | null,
      events?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestLines?: {
          id?: string | null,
          line?: number | null,
          lineType?: string | null
        }[] | null | null,
        cantEstimate?: boolean | null,
        carouselMap?: string | null,
        category?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        color?: string | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        countryName?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        creationDate?: string | null,
        cumulativeMarkets?: boolean | null,
        cyom?: boolean | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        elapsed?: string | null,
        electionType?: string | null,
        enableNegRisk?: boolean | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        ended?: boolean | null,
        estimateValue?: boolean | null,
        estimatedValue?: string | null,
        eventCreators?: {
          $schema?: string | null,
          createdAt?: string | null,
          creatorHandle?: string | null,
          creatorImage?: string | null,
          creatorName?: string | null,
          creatorUrl?: string | null,
          id?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        eventDate?: string | null,
        eventMetadata?: Record<string, any> | null,
        eventWeek?: number | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          eventId?: number | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        featured?: boolean | null,
        featuredImage?: string | null,
        featuredOrder?: number | null,
        finishedTimestamp?: string | null,
        gameId?: number | null,
        gmpChartMode?: string | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        lastHighlight?: string | null,
        lastHighlightAt?: string | null,
        lastHighlightType?: string | null,
        liquidity?: number | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        live?: boolean | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: (recursive)[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        maxMarketCount?: number | null,
        moduleType?: string | null,
        negRisk?: boolean | null,
        negRiskAugmented?: boolean | null,
        negRiskFeeBips?: number | null,
        negRiskMarketID?: string | null,
        new?: boolean | null,
        openInterest?: number | null,
        parentEventId?: number | null,
        pendingDeployment?: boolean | null,
        period?: string | null,
        published_at?: string | null,
        rescheduledFromGameId?: number | null,
        resolutionMode?: string | null,
        resolutionSource?: string | null,
        restricted?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: string | null,
        series?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          cgAssetName?: string | null,
          closed?: boolean | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          description?: string | null,
          events?: (recursive)[] | null | null,
          featured?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          layout?: string | null,
          liquidity?: number | null,
          new?: boolean | null,
          publishedAt?: string | null,
          pythTokenID?: string | null,
          recurrence?: string | null,
          restricted?: boolean | null,
          score?: number | null,
          seriesType?: string | null,
          slug?: string | null,
          startDate?: string | null,
          subtitle?: string | null,
          templateVariables?: boolean | null,
          ticker?: string | null,
          title?: string | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          volume?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        seriesSlug?: string | null,
        showAllOutcomes?: boolean | null,
        showMarketImages?: boolean | null,
        slug?: string | null,
        sortBy?: string | null,
        sport?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            sportId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          image?: string | null,
          name?: string | null,
          ordering?: string | null,
          primaryTagId?: number | null,
          resolution?: string | null,
          series?: string | null,
          sport?: string | null,
          tags?: string | null,
          updatedAt?: string | null
        } | null,
        spreadsMainLine?: number | null,
        startDate?: string | null,
        startTime?: string | null,
        subEvents?: (string | null)[] | null | null,
        subcategory?: string | null,
        subtitle?: string | null,
        tag_labels?: string[] | null | null,
        tag_slugs?: string[] | null | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        teams?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        templateVariables?: string | null,
        ticker?: string | null,
        title?: string | null,
        totalsMainLine?: number | null,
        turnProviderId?: string | null,
        tweetCount?: number | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        usId?: string | null,
        version?: string | null,
        volume?: number | null,
        volume1mo?: number | null,
        volume1wk?: number | null,
        volume1yr?: number | null,
        volume24hr?: number | null
      }[] | null | null,
      facets?: {
        abbreviation?: string | null,
        appliesTo?: string[] | null | null,
        label?: string | null,
        parents?: string[] | null | null,
        slug?: string | null
      }[] | null | null,
      fallbackResolutionType?: string | null,
      featured?: boolean | null,
      fee?: string | null,
      feeExponent?: number | null,
      feeRate?: number | null,
      feeSchedule?: {
        exponent?: number | null,
        rate?: number | null,
        rebateRate?: number | null,
        takerOnly?: boolean | null
      } | null,
      feeType?: string | null | null,
      feesEnabled?: boolean | null,
      formatType?: string | null,
      fpmmLive?: boolean | null,
      funded?: boolean | null,
      fundedTimestamp?: string | null,
      gameId?: string | null,
      gameStartTime?: string | null,
      groupItemRange?: string | null,
      groupItemThreshold?: string | null,
      groupItemTitle?: string | null,
      hasReviewedDates?: boolean | null,
      holdingRewardsEnabled?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      instrumentIndex?: number | null,
      instrumentKind?: string | null,
      lastTradePrice?: number | null,
      line?: number | null,
      liquidity?: string | null,
      liquidityAmm?: number | null,
      liquidityClob?: number | null,
      liquidityNum?: number | null,
      lowerBound?: string | null,
      lowerBoundDate?: string | null,
      mailchimpTag?: string | null,
      makerBaseFee?: number | null,
      makerRebatesFeeShareBps?: number | null,
      manualActivation?: boolean | null,
      marketGroup?: number | null,
      marketMakerAddress?: string | null,
      marketMetadata?: Record<string, any> | null,
      marketType?: string | null,
      markets?: {
        $schema?: string | null,
        acceptingOrders?: boolean | null,
        acceptingOrdersTimestamp?: string | null,
        acceptingOrdersUntil?: string | null,
        active?: boolean | null,
        ammType?: string | null,
        approved?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestAsk?: number | null,
        bestBid?: number | null,
        category?: string | null,
        categoryMailchimpTag?: string | null,
        chartColor?: string | null,
        clearBookOnStart?: boolean | null,
        clobRewards?: {
          assetAddress?: string | null,
          conditionId?: string | null,
          endDate?: string | null,
          id?: string | null,
          rewardsAmount?: number | null,
          rewardsDailyRate?: number | null,
          startDate?: string | null
        }[] | null | null,
        clobTokenIds?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        comboStatus?: string | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        conditionId?: string | null,
        createdAt?: string | null,
        createdBy?: number | null,
        creator?: string | null,
        cryptoMarketConfig?: {
          $schema?: string | null,
          asset?: string | null,
          duration?: string | null,
          id?: string | null,
          twapEnabled?: boolean | null,
          twapLookbackSeconds?: number | null
        } | null,
        cryptoMarketConfigId?: string | null,
        curationOrder?: number | null,
        customLiveness?: number | null,
        cyom?: boolean | null,
        denominationToken?: string | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        endDateIso?: string | null,
        eventStartTime?: string | null,
        events?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestLines?: {
            id?: string | null,
            line?: number | null,
            lineType?: string | null
          }[] | null | null,
          cantEstimate?: boolean | null,
          carouselMap?: string | null,
          category?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          color?: string | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          countryName?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          creationDate?: string | null,
          cumulativeMarkets?: boolean | null,
          cyom?: boolean | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          elapsed?: string | null,
          electionType?: string | null,
          enableNegRisk?: boolean | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          ended?: boolean | null,
          estimateValue?: boolean | null,
          estimatedValue?: string | null,
          eventCreators?: {
            $schema?: string | null,
            createdAt?: string | null,
            creatorHandle?: string | null,
            creatorImage?: string | null,
            creatorName?: string | null,
            creatorUrl?: string | null,
            id?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          eventDate?: string | null,
          eventMetadata?: Record<string, any> | null,
          eventWeek?: number | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            eventId?: number | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          featured?: boolean | null,
          featuredImage?: string | null,
          featuredOrder?: number | null,
          finishedTimestamp?: string | null,
          gameId?: number | null,
          gmpChartMode?: string | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          lastHighlight?: string | null,
          lastHighlightAt?: string | null,
          lastHighlightType?: string | null,
          liquidity?: number | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          live?: boolean | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: (recursive)[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          maxMarketCount?: number | null,
          moduleType?: string | null,
          negRisk?: boolean | null,
          negRiskAugmented?: boolean | null,
          negRiskFeeBips?: number | null,
          negRiskMarketID?: string | null,
          new?: boolean | null,
          openInterest?: number | null,
          parentEventId?: number | null,
          pendingDeployment?: boolean | null,
          period?: string | null,
          published_at?: string | null,
          rescheduledFromGameId?: number | null,
          resolutionMode?: string | null,
          resolutionSource?: string | null,
          restricted?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: string | null,
          series?: {
            $schema?: string | null,
            active?: boolean | null,
            archived?: boolean | null,
            cgAssetName?: string | null,
            closed?: boolean | null,
            commentCount?: number | null,
            commentsEnabled?: boolean | null,
            competitive?: string | null,
            createdAt?: string | null,
            createdBy?: string | null,
            description?: string | null,
            events?: (recursive)[] | null | null,
            featured?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            isTemplate?: boolean | null,
            layout?: string | null,
            liquidity?: number | null,
            new?: boolean | null,
            publishedAt?: string | null,
            pythTokenID?: string | null,
            recurrence?: string | null,
            restricted?: boolean | null,
            score?: number | null,
            seriesType?: string | null,
            slug?: string | null,
            startDate?: string | null,
            subtitle?: string | null,
            templateVariables?: boolean | null,
            ticker?: string | null,
            title?: string | null,
            updatedAt?: string | null,
            updatedBy?: string | null,
            volume?: number | null,
            volume24hr?: number | null
          }[] | null | null,
          seriesSlug?: string | null,
          showAllOutcomes?: boolean | null,
          showMarketImages?: boolean | null,
          slug?: string | null,
          sortBy?: string | null,
          sport?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              sportId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            image?: string | null,
            name?: string | null,
            ordering?: string | null,
            primaryTagId?: number | null,
            resolution?: string | null,
            series?: string | null,
            sport?: string | null,
            tags?: string | null,
            updatedAt?: string | null
          } | null,
          spreadsMainLine?: number | null,
          startDate?: string | null,
          startTime?: string | null,
          subEvents?: (string | null)[] | null | null,
          subcategory?: string | null,
          subtitle?: string | null,
          tag_labels?: string[] | null | null,
          tag_slugs?: string[] | null | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          teams?: {
            $schema?: string | null,
            abbreviation?: string | null,
            alias?: string | null,
            color?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              source?: string | null,
              teamId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            league?: string | null,
            logo?: string | null,
            name?: string | null,
            ordering?: string | null,
            providerId?: number | null,
            record?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          templateVariables?: string | null,
          ticker?: string | null,
          title?: string | null,
          totalsMainLine?: number | null,
          turnProviderId?: string | null,
          tweetCount?: number | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          usId?: string | null,
          version?: string | null,
          volume?: number | null,
          volume1mo?: number | null,
          volume1wk?: number | null,
          volume1yr?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        fallbackResolutionType?: string | null,
        featured?: boolean | null,
        fee?: string | null,
        feeExponent?: number | null,
        feeRate?: number | null,
        feeSchedule?: {
          exponent?: number | null,
          rate?: number | null,
          rebateRate?: number | null,
          takerOnly?: boolean | null
        } | null,
        feeType?: string | null | null,
        feesEnabled?: boolean | null,
        formatType?: string | null,
        fpmmLive?: boolean | null,
        funded?: boolean | null,
        fundedTimestamp?: string | null,
        gameId?: string | null,
        gameStartTime?: string | null,
        groupItemRange?: string | null,
        groupItemThreshold?: string | null,
        groupItemTitle?: string | null,
        hasReviewedDates?: boolean | null,
        holdingRewardsEnabled?: boolean | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        instrumentIndex?: number | null,
        instrumentKind?: string | null,
        lastTradePrice?: number | null,
        line?: number | null,
        liquidity?: string | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        liquidityNum?: number | null,
        lowerBound?: string | null,
        lowerBoundDate?: string | null,
        mailchimpTag?: string | null,
        makerBaseFee?: number | null,
        makerRebatesFeeShareBps?: number | null,
        manualActivation?: boolean | null,
        marketGroup?: number | null,
        marketMakerAddress?: string | null,
        marketMetadata?: Record<string, any> | null,
        marketType?: string | null,
        markets?: (recursive)[] | null | null,
        negRisk?: boolean | null,
        negRiskMarketID?: string | null,
        negRiskOther?: boolean | null,
        negRiskRequestID?: string | null,
        new?: boolean | null,
        notificationsEnabled?: boolean | null,
        onchainEventId?: string | null,
        oneDayPriceChange?: number | null,
        oneHourPriceChange?: number | null,
        oneMonthPriceChange?: number | null,
        oneWeekPriceChange?: number | null,
        oneYearPriceChange?: number | null,
        orderMinSize?: number | null,
        orderPriceMinTickSize?: number | null,
        outcomePrices?: string | null,
        outcomes?: string | null,
        pastSlugs?: string | null,
        pendingDeployment?: boolean | null,
        positionIds?: string[] | null | null,
        question?: string | null,
        questionID?: string | null,
        ready?: boolean | null,
        readyForCron?: boolean | null,
        readyTimestamp?: string | null,
        requestId?: string | null,
        resolutionMechanism?: string | null | null,
        resolutionSource?: string | null,
        resolutionStatus?: string | null,
        resolvedBy?: string | null,
        restricted?: boolean | null,
        rewardsMaxSpread?: number | null,
        rewardsMinSize?: number | null,
        rfqEnabled?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: number | null,
        secondsDelay?: number | null,
        sentDiscord?: boolean | null,
        seriesColor?: string | null,
        shortOutcomes?: string | null,
        showGmpOutcome?: boolean | null,
        showGmpSeries?: boolean | null,
        slug?: string | null,
        sponsorImage?: string | null,
        sponsorName?: string | null,
        sportsMarketType?: string | null,
        spread?: number | null,
        startDate?: string | null,
        startDateIso?: string | null,
        subcategory?: string | null,
        submitted_by?: string | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        takerBaseFee?: number | null,
        teamAID?: string | null,
        teamBID?: string | null,
        tradingEligible?: boolean | null | null,
        twitterCardImage?: string | null,
        twitterCardLastRefreshed?: string | null,
        twitterCardLastValidated?: string | null,
        twitterCardLocation?: string | null,
        umaBond?: string | null,
        umaEndDate?: string | null,
        umaEndDateIso?: string | null,
        umaResolutionStatus?: string | null,
        umaResolutionStatuses?: string | null,
        umaReward?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null,
        upperBound?: string | null,
        upperBoundDate?: string | null,
        version?: string | null,
        volume?: string | null,
        volume1mo?: number | null,
        volume1moAmm?: number | null,
        volume1moClob?: number | null,
        volume1wk?: number | null,
        volume1wkAmm?: number | null,
        volume1wkClob?: number | null,
        volume1yr?: number | null,
        volume1yrAmm?: number | null,
        volume1yrClob?: number | null,
        volume24hr?: number | null,
        volume24hrAmm?: number | null,
        volume24hrClob?: number | null,
        volumeAmm?: number | null,
        volumeClob?: number | null,
        volumeNum?: number | null,
        wideFormat?: boolean | null,
        xAxisValue?: string | null,
        yAxisValue?: string | null
      }[] | null | null,
      negRisk?: boolean | null,
      negRiskMarketID?: string | null,
      negRiskOther?: boolean | null,
      negRiskRequestID?: string | null,
      new?: boolean | null,
      notificationsEnabled?: boolean | null,
      onchainEventId?: string | null,
      oneDayPriceChange?: number | null,
      oneHourPriceChange?: number | null,
      oneMonthPriceChange?: number | null,
      oneWeekPriceChange?: number | null,
      oneYearPriceChange?: number | null,
      orderMinSize?: number | null,
      orderPriceMinTickSize?: number | null,
      outcomePrices?: string | null,
      outcomes?: string | null,
      pastSlugs?: string | null,
      pendingDeployment?: boolean | null,
      positionIds?: string[] | null | null,
      question?: string | null,
      questionID?: string | null,
      ready?: boolean | null,
      readyForCron?: boolean | null,
      readyTimestamp?: string | null,
      requestId?: string | null,
      resolutionMechanism?: string | null | null,
      resolutionSource?: string | null,
      resolutionStatus?: string | null,
      resolvedBy?: string | null,
      restricted?: boolean | null,
      rewardsMaxSpread?: number | null,
      rewardsMinSize?: number | null,
      rfqEnabled?: boolean | null,
      scheduledDeploymentTimestamp?: string | null,
      score?: number | null,
      secondsDelay?: number | null,
      sentDiscord?: boolean | null,
      seriesColor?: string | null,
      shortOutcomes?: string | null,
      showGmpOutcome?: boolean | null,
      showGmpSeries?: boolean | null,
      slug?: string | null,
      sponsorImage?: string | null,
      sponsorName?: string | null,
      sportsMarketType?: string | null,
      spread?: number | null,
      startDate?: string | null,
      startDateIso?: string | null,
      subcategory?: string | null,
      submitted_by?: string | null,
      tags?: {
        $schema?: string | null,
        activeEventsCount?: number | null,
        createdAt?: string | null,
        createdBy?: number | null,
        forceHide?: boolean | null,
        forceShow?: boolean | null,
        id?: string | null,
        isCarousel?: boolean | null,
        label?: string | null,
        publishedAt?: string | null,
        slug?: string | null,
        updatedAt?: string | null,
        updatedBy?: number | null
      }[] | null | null,
      takerBaseFee?: number | null,
      teamAID?: string | null,
      teamBID?: string | null,
      tradingEligible?: boolean | null | null,
      twitterCardImage?: string | null,
      twitterCardLastRefreshed?: string | null,
      twitterCardLastValidated?: string | null,
      twitterCardLocation?: string | null,
      umaBond?: string | null,
      umaEndDate?: string | null,
      umaEndDateIso?: string | null,
      umaResolutionStatus?: string | null,
      umaResolutionStatuses?: string | null,
      umaReward?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null,
      upperBound?: string | null,
      upperBoundDate?: string | null,
      version?: string | null,
      volume?: string | null,
      volume1mo?: number | null,
      volume1moAmm?: number | null,
      volume1moClob?: number | null,
      volume1wk?: number | null,
      volume1wkAmm?: number | null,
      volume1wkClob?: number | null,
      volume1yr?: number | null,
      volume1yrAmm?: number | null,
      volume1yrClob?: number | null,
      volume24hr?: number | null,
      volume24hrAmm?: number | null,
      volume24hrClob?: number | null,
      volumeAmm?: number | null,
      volumeClob?: number | null,
      volumeNum?: number | null,
      wideFormat?: boolean | null,
      xAxisValue?: string | null,
      yAxisValue?: string | null
    }[] | null | null,
    maxMarketCount?: number | null,
    moduleType?: string | null,
    negRisk?: boolean | null,
    negRiskAugmented?: boolean | null,
    negRiskFeeBips?: number | null,
    negRiskMarketID?: string | null,
    new?: boolean | null,
    openInterest?: number | null,
    parentEventId?: number | null,
    pendingDeployment?: boolean | null,
    period?: string | null,
    published_at?: string | null,
    rescheduledFromGameId?: number | null,
    resolutionMode?: string | null,
    resolutionSource?: string | null,
    restricted?: boolean | null,
    scheduledDeploymentTimestamp?: string | null,
    score?: string | null,
    series?: {
      $schema?: string | null,
      active?: boolean | null,
      archived?: boolean | null,
      cgAssetName?: string | null,
      closed?: boolean | null,
      commentCount?: number | null,
      commentsEnabled?: boolean | null,
      competitive?: string | null,
      createdAt?: string | null,
      createdBy?: string | null,
      description?: string | null,
      events?: (recursive)[] | null | null,
      featured?: boolean | null,
      icon?: string | null,
      id?: string | null,
      image?: string | null,
      isTemplate?: boolean | null,
      layout?: string | null,
      liquidity?: number | null,
      new?: boolean | null,
      publishedAt?: string | null,
      pythTokenID?: string | null,
      recurrence?: string | null,
      restricted?: boolean | null,
      score?: number | null,
      seriesType?: string | null,
      slug?: string | null,
      startDate?: string | null,
      subtitle?: string | null,
      templateVariables?: boolean | null,
      ticker?: string | null,
      title?: string | null,
      updatedAt?: string | null,
      updatedBy?: string | null,
      volume?: number | null,
      volume24hr?: number | null
    }[] | null | null,
    seriesSlug?: string | null,
    showAllOutcomes?: boolean | null,
    showMarketImages?: boolean | null,
    slug?: string | null,
    sortBy?: string | null,
    sport?: {
      $schema?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        sportId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      image?: string | null,
      name?: string | null,
      ordering?: string | null,
      primaryTagId?: number | null,
      resolution?: string | null,
      series?: string | null,
      sport?: string | null,
      tags?: string | null,
      updatedAt?: string | null
    } | null,
    spreadsMainLine?: number | null,
    startDate?: string | null,
    startTime?: string | null,
    subEvents?: (string | null)[] | null | null,
    subcategory?: string | null,
    subtitle?: string | null,
    tag_labels?: string[] | null | null,
    tag_slugs?: string[] | null | null,
    tags?: {
      $schema?: string | null,
      activeEventsCount?: number | null,
      createdAt?: string | null,
      createdBy?: number | null,
      forceHide?: boolean | null,
      forceShow?: boolean | null,
      id?: string | null,
      isCarousel?: boolean | null,
      label?: string | null,
      publishedAt?: string | null,
      slug?: string | null,
      updatedAt?: string | null,
      updatedBy?: number | null
    }[] | null | null,
    teams?: {
      $schema?: string | null,
      abbreviation?: string | null,
      alias?: string | null,
      color?: string | null,
      createdAt?: string | null,
      externalPartners?: {
        $schema?: string | null,
        createdAt?: string | null,
        externalId?: string | null,
        id?: number | null,
        partner?: {
          $schema?: string | null,
          createdAt?: string | null,
          id?: number | null,
          name?: string | null,
          slug?: string | null,
          updatedAt?: string | null
        } | null,
        partnerId?: number | null,
        source?: string | null,
        teamId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      id?: number | null,
      league?: string | null,
      logo?: string | null,
      name?: string | null,
      ordering?: string | null,
      providerId?: number | null,
      record?: string | null,
      updatedAt?: string | null
    }[] | null | null,
    templateVariables?: string | null,
    ticker?: string | null,
    title?: string | null,
    totalsMainLine?: number | null,
    turnProviderId?: string | null,
    tweetCount?: number | null,
    updatedAt?: string | null,
    updatedBy?: string | null,
    usId?: string | null,
    version?: string | null,
    volume?: number | null,
    volume1mo?: number | null,
    volume1wk?: number | null,
    volume1yr?: number | null,
    volume24hr?: number | null
  }[] | null | null,
  featured?: boolean | null,
  icon?: string | null,
  id?: string | null,
  image?: string | null,
  isTemplate?: boolean | null,
  layout?: string | null,
  liquidity?: number | null,
  new?: boolean | null,
  publishedAt?: string | null,
  pythTokenID?: string | null,
  recurrence?: string | null,
  restricted?: boolean | null,
  score?: number | null,
  seriesType?: string | null,
  slug?: string | null,
  startDate?: string | null,
  subtitle?: string | null,
  templateVariables?: boolean | null,
  ticker?: string | null,
  title?: string | null,
  updatedAt?: string | null,
  updatedBy?: string | null,
  volume?: number | null,
  volume24hr?: number | null
}[] | null | null
```

***

### series.summary

`gamma.series.summary`

Get series summary by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.series.summary({ id: '12' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Series ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `earliest_open_date` | `string \| null` | No | — |
| `earliest_open_week` | `number \| null` | No | — |
| `eventDates` | `string[] \| null \| null` | No | — |
| `eventWeeks` | `number[] \| null \| null` | No | — |
| `id` | `string \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `title` | `string \| null` | No | — |
| `volume` | `number \| null` | No | — |
| `volume24hr` | `number \| null` | No | — |

***

### series.summaryBySlug

`gamma.series.summaryBySlug`

Get series summary by slug

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.series.summaryBySlug({ slug: 'will-bitcoin-hit-100k-in-2026' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string` | Yes | Series slug |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `earliest_open_date` | `string \| null` | No | — |
| `earliest_open_week` | `number \| null` | No | — |
| `eventDates` | `string[] \| null \| null` | No | — |
| `eventWeeks` | `number[] \| null \| null` | No | — |
| `id` | `string \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `title` | `string \| null` | No | — |
| `volume` | `number \| null` | No | — |
| `volume24hr` | `number \| null` | No | — |

***

### sports.externalPartners.get

`gamma.sports.externalPartners.get`

Get sport external partner by slug

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.sports.externalPartners.get({ id: 1, partnerRef: 'espn' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Sport metadata ID |
| `partnerRef` | `string` | Yes | External partner slug |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `createdAt` | `string \| null` | No | — |
| `externalId` | `string \| null` | No | — |
| `id` | `number \| null` | No | — |
| `partner` | `object \| null` | No | — |
| `partnerId` | `number \| null` | No | — |
| `sportId` | `number \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  id?: number | null,
  name?: string | null,
  slug?: string | null,
  updatedAt?: string | null
} | null
```

***

### sports.externalPartners.list

`gamma.sports.externalPartners.list`

Get sport external partners

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.sports.externalPartners.list({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Sport metadata ID |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  externalId?: string | null,
  id?: number | null,
  partner?: {
    $schema?: string | null,
    createdAt?: string | null,
    id?: number | null,
    name?: string | null,
    slug?: string | null,
    updatedAt?: string | null
  } | null,
  partnerId?: number | null,
  sportId?: number | null,
  updatedAt?: string | null
}[] | null
```

***

### sports.get

`gamma.sports.get`

Get sport metadata by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.sports.get({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Sport metadata ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `createdAt` | `string \| null` | No | Time when the sports metadata was created. |
| `externalPartners` | `object[] \| null` | No | External partner mappings for this sport. |
| `id` | `number \| null` | No | Unique sports metadata ID. |
| `image` | `string \| null` | No | Image URL for the sport. |
| `name` | `string \| null` | No | Display name for the sport or league. |
| `ordering` | `string \| null` | No | Ordering configuration used for sport display. |
| `primaryTagId` | `number \| null` | No | ID of the league's own tag, as opposed to the shared base tags in the tags CSV. |
| `resolution` | `string \| null` | No | Default resolution source or display text for the sport. |
| `series` | `string \| null` | No | Comma-separated series identifiers associated with the sport. |
| `sport` | `string \| null` | No | Sport slug this metadata applies to. |
| `tags` | `string \| null` | No | Comma-separated tag identifiers associated with the sport. |
| `updatedAt` | `string \| null` | No | Time when the sports metadata was last updated. |

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  externalId?: string | null,
  id?: number | null,
  partner?: {
    $schema?: string | null,
    createdAt?: string | null,
    id?: number | null,
    name?: string | null,
    slug?: string | null,
    updatedAt?: string | null
  } | null,
  partnerId?: number | null,
  sportId?: number | null,
  updatedAt?: string | null
}[] | null | null
```

***

### sports.getByPartner

`gamma.sports.getByPartner`

Get sport by external partner

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.sports.getByPartner({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `partner` | `string` | No | External partner slug |
| `external_id` | `string` | No | Partner-specific external sport ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `createdAt` | `string \| null` | No | Time when the sports metadata was created. |
| `externalPartners` | `object[] \| null` | No | External partner mappings for this sport. |
| `id` | `number \| null` | No | Unique sports metadata ID. |
| `image` | `string \| null` | No | Image URL for the sport. |
| `name` | `string \| null` | No | Display name for the sport or league. |
| `ordering` | `string \| null` | No | Ordering configuration used for sport display. |
| `primaryTagId` | `number \| null` | No | ID of the league's own tag, as opposed to the shared base tags in the tags CSV. |
| `resolution` | `string \| null` | No | Default resolution source or display text for the sport. |
| `series` | `string \| null` | No | Comma-separated series identifiers associated with the sport. |
| `sport` | `string \| null` | No | Sport slug this metadata applies to. |
| `tags` | `string \| null` | No | Comma-separated tag identifiers associated with the sport. |
| `updatedAt` | `string \| null` | No | Time when the sports metadata was last updated. |

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  externalId?: string | null,
  id?: number | null,
  partner?: {
    $schema?: string | null,
    createdAt?: string | null,
    id?: number | null,
    name?: string | null,
    slug?: string | null,
    updatedAt?: string | null
  } | null,
  partnerId?: number | null,
  sportId?: number | null,
  updatedAt?: string | null
}[] | null | null
```

***

### sports.list

`gamma.sports.list`

Get sports

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.sports.list({});
```

**Input:** *empty object*

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  externalPartners?: {
    $schema?: string | null,
    createdAt?: string | null,
    externalId?: string | null,
    id?: number | null,
    partner?: {
      $schema?: string | null,
      createdAt?: string | null,
      id?: number | null,
      name?: string | null,
      slug?: string | null,
      updatedAt?: string | null
    } | null,
    partnerId?: number | null,
    sportId?: number | null,
    updatedAt?: string | null
  }[] | null | null,
  id?: number | null,
  image?: string | null,
  name?: string | null,
  ordering?: string | null,
  primaryTagId?: number | null,
  resolution?: string | null,
  series?: string | null,
  sport?: string | null,
  tags?: string | null,
  updatedAt?: string | null
}[] | null
```

***

### sports.marketTypes

`gamma.sports.marketTypes`

Get sports market types

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.sports.marketTypes({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `marketTypes` | `string[] \| null \| null` | No | Supported sports market type names. |

***

### sports.premadeCombos

`gamma.sports.premadeCombos`

Get league premade combos

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.sports.premadeCombos({ slug: 'will-bitcoin-hit-100k-in-2026' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string` | Yes | League or sport slug |
| `placement` | `string` | No | Page placement. Defaults to league\_top. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `scope` | `object \| null` | No | — |
| `shelves` | `object[] \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |

```ts theme={null}
{
  slug?: string | null,
  type?: string | null
} | null
```

```ts theme={null}
{
  combos?: {
    comboType?: string | null,
    eventId?: string | null,
    eventSlug?: string | null,
    eventTitle?: string | null,
    id?: number | null,
    leagueSlug?: string | null,
    legs?: {
      conditionId?: string | null,
      display?: {
        eventTitle?: string | null,
        iconUrl?: string | null,
        line?: number | null,
        marketLabel?: string | null,
        marketTitle?: string | null,
        pickLabel?: string | null,
        teamAbbreviation?: string | null
      } | null,
      eventId?: string | null,
      eventSlug?: string | null,
      marketId?: string | null,
      marketSlug?: string | null,
      ordinal?: number | null,
      positionIds?: string[] | null | null,
      prices?: {
        no?: number | null,
        selected?: number | null,
        yes?: number | null
      } | null,
      selectedPositionId?: string | null,
      side?: string | null,
      sportsMarketType?: string | null
    }[] | null | null,
    slug?: string | null,
    sortOrder?: number | null,
    stats?: {
      indicativeMultiplier?: number | null,
      traderCount?: number | null,
      wagered?: number | null
    } | null,
    subtitle?: string | null,
    title?: string | null
  }[] | null | null,
  id?: string | null,
  placement?: string | null,
  title?: string | null
}[] | null | null
```

***

### sports.summary

`gamma.sports.summary`

Get sports summary

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.sports.summary({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `leagues` | `object \| null` | No | Summary data keyed by league or sport slug. |

```ts theme={null}
Record<string, {
  activeEventCount?: number | null,
  activeGameCount?: number | null,
  activeTagEventCount?: number | null,
  comboEventsCount?: number | null,
  currentWeek?: number | null,
  earliestOpenDate?: string | null,
  eventDates?: string[] | null | null,
  eventWeeks?: number[] | null | null,
  hasLive?: boolean | null,
  image?: string | null,
  name?: string | null,
  volume?: number | null
}> | null
```

***

### status

`gamma.status`

Get status

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.status({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `text` | `string` | Yes | The body Polymarket answered with. |

***

### tags.get

`gamma.tags.get`

Get tag by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.tags.get({ id: '12' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Tag ID |
| `locale` | `string` | No | Locale code for translatable fields |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `activeEventsCount` | `number \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `createdBy` | `number \| null` | No | — |
| `forceHide` | `boolean \| null` | No | — |
| `forceShow` | `boolean \| null` | No | — |
| `id` | `string \| null` | No | — |
| `isCarousel` | `boolean \| null` | No | — |
| `label` | `string \| null` | No | — |
| `publishedAt` | `string \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |
| `updatedBy` | `number \| null` | No | — |

***

### tags.getBySlug

`gamma.tags.getBySlug`

Get tag by slug

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.tags.getBySlug({ slug: 'will-bitcoin-hit-100k-in-2026' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string` | Yes | Tag slug |
| `locale` | `string` | No | Locale code for translatable fields |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `activeEventsCount` | `number \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `createdBy` | `number \| null` | No | — |
| `forceHide` | `boolean \| null` | No | — |
| `forceShow` | `boolean \| null` | No | — |
| `id` | `string \| null` | No | — |
| `isCarousel` | `boolean \| null` | No | — |
| `label` | `string \| null` | No | — |
| `publishedAt` | `string \| null` | No | — |
| `slug` | `string \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |
| `updatedBy` | `number \| null` | No | — |

***

### tags.list

`gamma.tags.list`

List tags

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.tags.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `is_carousel` | `string` | No | Filter by isCarousel — pass "true" or "false". Omit for no filter. |
| `locale` | `string` | No | Locale code for translatable fields (e.g. en, fr, de) |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `string` | No | Sort ascending when true (default true) |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  activeEventsCount?: number | null,
  createdAt?: string | null,
  createdBy?: number | null,
  forceHide?: boolean | null,
  forceShow?: boolean | null,
  id?: string | null,
  isCarousel?: boolean | null,
  label?: string | null,
  publishedAt?: string | null,
  slug?: string | null,
  updatedAt?: string | null,
  updatedBy?: number | null
}[] | null
```

***

### tags.related

`gamma.tags.related`

Get tags related to a tag

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.tags.related({ id: '12' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Tag ID |
| `omit_empty` | `string` | No | When "true", omits related tags with no active events. Omit for no filter. |
| `status` | `string` | No | Filter related tags by event status (active\|closed\|all) |
| `locale` | `string` | No | Locale code for translatable fields |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  activeEventsCount?: number | null,
  createdAt?: string | null,
  createdBy?: number | null,
  forceHide?: boolean | null,
  forceShow?: boolean | null,
  id?: string | null,
  isCarousel?: boolean | null,
  label?: string | null,
  publishedAt?: string | null,
  slug?: string | null,
  updatedAt?: string | null,
  updatedBy?: number | null
}[] | null
```

***

### tags.relatedBySlug

`gamma.tags.relatedBySlug`

Get tags related to a tag by slug

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.tags.relatedBySlug({ slug: 'will-bitcoin-hit-100k-in-2026' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string` | Yes | Tag slug |
| `omit_empty` | `string` | No | When "true", omits related tags with no active events. Omit for no filter. |
| `status` | `string` | No | Filter related tags by event status (active\|closed\|all) |
| `locale` | `string` | No | Locale code for translatable fields |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  activeEventsCount?: number | null,
  createdAt?: string | null,
  createdBy?: number | null,
  forceHide?: boolean | null,
  forceShow?: boolean | null,
  id?: string | null,
  isCarousel?: boolean | null,
  label?: string | null,
  publishedAt?: string | null,
  slug?: string | null,
  updatedAt?: string | null,
  updatedBy?: number | null
}[] | null
```

***

### tags.relations

`gamma.tags.relations`

Get related tags (raw relation rows)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.tags.relations({ id: '12' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Tag ID |
| `omit_empty` | `string` | No | When "true", omits related tags with no active events. Omit for no filter. |
| `status` | `string` | No | Filter related tags by event status (active\|closed\|all) |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  id?: string | null,
  rank?: number | null,
  relatedTagID?: number | null,
  tagID?: number | null
}[] | null
```

***

### tags.relationsBySlug

`gamma.tags.relationsBySlug`

Get related tags by slug (raw relation rows)

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.tags.relationsBySlug({ slug: 'will-bitcoin-hit-100k-in-2026' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `slug` | `string` | Yes | Tag slug |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  id?: string | null,
  rank?: number | null,
  relatedTagID?: number | null,
  tagID?: number | null
}[] | null
```

***

### takerTiers.get

`gamma.takerTiers.get`

Get taker tiers for addresses

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.takerTiers.get({
	addresses: ['example'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `addresses` | `string[] \| null` | Yes | Proxy-wallet (or EOA) addresses to resolve, case-insensitive |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `tiers` | `object[] \| null` | No | — |

```ts theme={null}
{
  address?: string | null,
  tier?: number | null,
  tier_name?: string | null,
  wv_30d?: number | null
}[] | null | null
```

***

### takerTiers.ladder

`gamma.takerTiers.ladder`

Get the taker tier ladder

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.takerTiers.ladder({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `tiers` | `object[] \| null` | No | Active tiers by ascending tier |

```ts theme={null}
{
  min_wv_30d?: number | null,
  name?: string | null,
  rebate_bps?: number | null,
  tier?: number | null
}[] | null | null
```

***

### teams.externalPartners.get

`gamma.teams.externalPartners.get`

Get team external partner by slug

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.teams.externalPartners.get({ id: 1, partnerRef: 'espn' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Team ID |
| `partnerRef` | `string` | Yes | External partner slug |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `createdAt` | `string \| null` | No | — |
| `externalId` | `string \| null` | No | — |
| `id` | `number \| null` | No | — |
| `partner` | `object \| null` | No | — |
| `partnerId` | `number \| null` | No | — |
| `source` | `string \| null` | No | Process that wrote the mapping, for example data-load, job-exact-name, slack-confirm or mission-control. Null on rows written before this field existed or when the caller did not set it. |
| `teamId` | `number \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  id?: number | null,
  name?: string | null,
  slug?: string | null,
  updatedAt?: string | null
} | null
```

***

### teams.externalPartners.list

`gamma.teams.externalPartners.list`

Get team external partners

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.teams.externalPartners.list({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Team ID |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  externalId?: string | null,
  id?: number | null,
  partner?: {
    $schema?: string | null,
    createdAt?: string | null,
    id?: number | null,
    name?: string | null,
    slug?: string | null,
    updatedAt?: string | null
  } | null,
  partnerId?: number | null,
  source?: string | null,
  teamId?: number | null,
  updatedAt?: string | null
}[] | null
```

***

### teams.get

`gamma.teams.get`

Get team by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.teams.get({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Team ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `abbreviation` | `string \| null` | No | — |
| `alias` | `string \| null` | No | — |
| `color` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `externalPartners` | `object[] \| null` | No | — |
| `id` | `number \| null` | No | — |
| `league` | `string \| null` | No | — |
| `logo` | `string \| null` | No | — |
| `name` | `string \| null` | No | — |
| `ordering` | `string \| null` | No | — |
| `providerId` | `number \| null` | No | — |
| `record` | `string \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  externalId?: string | null,
  id?: number | null,
  partner?: {
    $schema?: string | null,
    createdAt?: string | null,
    id?: number | null,
    name?: string | null,
    slug?: string | null,
    updatedAt?: string | null
  } | null,
  partnerId?: number | null,
  source?: string | null,
  teamId?: number | null,
  updatedAt?: string | null
}[] | null | null
```

***

### teams.getByPartner

`gamma.teams.getByPartner`

Get team by external partner

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.teams.getByPartner({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `partner` | `string` | No | External partner slug |
| `external_id` | `string` | No | Partner-specific team ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `abbreviation` | `string \| null` | No | — |
| `alias` | `string \| null` | No | — |
| `color` | `string \| null` | No | — |
| `createdAt` | `string \| null` | No | — |
| `externalPartners` | `object[] \| null` | No | — |
| `id` | `number \| null` | No | — |
| `league` | `string \| null` | No | — |
| `logo` | `string \| null` | No | — |
| `name` | `string \| null` | No | — |
| `ordering` | `string \| null` | No | — |
| `providerId` | `number \| null` | No | — |
| `record` | `string \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  externalId?: string | null,
  id?: number | null,
  partner?: {
    $schema?: string | null,
    createdAt?: string | null,
    id?: number | null,
    name?: string | null,
    slug?: string | null,
    updatedAt?: string | null
  } | null,
  partnerId?: number | null,
  source?: string | null,
  teamId?: number | null,
  updatedAt?: string | null
}[] | null | null
```

***

### teams.list

`gamma.teams.list`

Get teams

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.teams.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `league` | `string[] \| null` | No | — |
| `name` | `string[] \| null` | No | — |
| `abbreviation` | `string[] \| null` | No | — |
| `provider_id` | `number[] \| null` | No | — |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  abbreviation?: string | null,
  alias?: string | null,
  color?: string | null,
  createdAt?: string | null,
  externalPartners?: {
    $schema?: string | null,
    createdAt?: string | null,
    externalId?: string | null,
    id?: number | null,
    partner?: {
      $schema?: string | null,
      createdAt?: string | null,
      id?: number | null,
      name?: string | null,
      slug?: string | null,
      updatedAt?: string | null
    } | null,
    partnerId?: number | null,
    source?: string | null,
    teamId?: number | null,
    updatedAt?: string | null
  }[] | null | null,
  id?: number | null,
  league?: string | null,
  logo?: string | null,
  name?: string | null,
  ordering?: string | null,
  providerId?: number | null,
  record?: string | null,
  updatedAt?: string | null
}[] | null
```

***

### terms.current

`gamma.terms.current`

Get the current ToS

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.terms.current({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `content` | `string \| null` | No | — |
| `contentHash` | `string \| null` | No | — |
| `documentUrl` | `string \| null` | No | — |
| `publishedAt` | `string \| null` | No | — |
| `version` | `string \| null` | No | — |

***

### tournaments.get

`gamma.tournaments.get`

Get tournament by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.tournaments.get({ id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `number` | Yes | Tournament ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `createdAt` | `string \| null` | No | — |
| `divisions` | `object[] \| null` | No | — |
| `fallbackIcon` | `string \| null` | No | — |
| `id` | `number \| null` | No | — |
| `league` | `string \| null` | No | — |
| `name` | `string \| null` | No | — |
| `numEntrants` | `number \| null` | No | — |
| `phases` | `object[] \| null` | No | — |
| `updatedAt` | `string \| null` | No | — |

```ts theme={null}
{
  createdAt?: string | null,
  id?: number | null,
  sortOrder?: number | null,
  title?: string | null,
  tournamentId?: number | null,
  updatedAt?: string | null
}[] | null | null
```

```ts theme={null}
{
  createdAt?: string | null,
  displayName?: string | null,
  id?: number | null,
  phaseType?: string | null,
  placementRank?: number | null,
  roundSize?: number | null,
  sections?: {
    games?: {
      createdAt?: string | null,
      divisionId?: number | null,
      event?: {
        $schema?: string | null,
        active?: boolean | null,
        archived?: boolean | null,
        automaticallyActive?: boolean | null,
        automaticallyResolved?: boolean | null,
        bestLines?: {
          id?: string | null,
          line?: number | null,
          lineType?: string | null
        }[] | null | null,
        cantEstimate?: boolean | null,
        carouselMap?: string | null,
        category?: string | null,
        closed?: boolean | null,
        closedTime?: string | null,
        color?: string | null,
        commentCount?: number | null,
        commentsEnabled?: boolean | null,
        competitive?: number | null,
        countryName?: string | null,
        createdAt?: string | null,
        createdBy?: string | null,
        creationDate?: string | null,
        cumulativeMarkets?: boolean | null,
        cyom?: boolean | null,
        deploying?: boolean | null,
        deployingTimestamp?: string | null,
        description?: string | null,
        disqusThread?: string | null,
        elapsed?: string | null,
        electionType?: string | null,
        enableNegRisk?: boolean | null,
        enableOrderBook?: boolean | null,
        endDate?: string | null,
        ended?: boolean | null,
        estimateValue?: boolean | null,
        estimatedValue?: string | null,
        eventCreators?: {
          $schema?: string | null,
          createdAt?: string | null,
          creatorHandle?: string | null,
          creatorImage?: string | null,
          creatorName?: string | null,
          creatorUrl?: string | null,
          id?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        eventDate?: string | null,
        eventMetadata?: Record<string, any> | null,
        eventWeek?: number | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          eventId?: number | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        facets?: {
          abbreviation?: string | null,
          appliesTo?: string[] | null | null,
          label?: string | null,
          parents?: string[] | null | null,
          slug?: string | null
        }[] | null | null,
        featured?: boolean | null,
        featuredImage?: string | null,
        featuredOrder?: number | null,
        finishedTimestamp?: string | null,
        gameId?: number | null,
        gmpChartMode?: string | null,
        icon?: string | null,
        id?: string | null,
        image?: string | null,
        isTemplate?: boolean | null,
        lastHighlight?: string | null,
        lastHighlightAt?: string | null,
        lastHighlightType?: string | null,
        liquidity?: number | null,
        liquidityAmm?: number | null,
        liquidityClob?: number | null,
        live?: boolean | null,
        markets?: {
          $schema?: string | null,
          acceptingOrders?: boolean | null,
          acceptingOrdersTimestamp?: string | null,
          acceptingOrdersUntil?: string | null,
          active?: boolean | null,
          ammType?: string | null,
          approved?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestAsk?: number | null,
          bestBid?: number | null,
          category?: string | null,
          categoryMailchimpTag?: string | null,
          chartColor?: string | null,
          clearBookOnStart?: boolean | null,
          clobRewards?: {
            assetAddress?: string | null,
            conditionId?: string | null,
            endDate?: string | null,
            id?: string | null,
            rewardsAmount?: number | null,
            rewardsDailyRate?: number | null,
            startDate?: string | null
          }[] | null | null,
          clobTokenIds?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          comboStatus?: string | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          conditionId?: string | null,
          createdAt?: string | null,
          createdBy?: number | null,
          creator?: string | null,
          cryptoMarketConfig?: {
            $schema?: string | null,
            asset?: string | null,
            duration?: string | null,
            id?: string | null,
            twapEnabled?: boolean | null,
            twapLookbackSeconds?: number | null
          } | null,
          cryptoMarketConfigId?: string | null,
          curationOrder?: number | null,
          customLiveness?: number | null,
          cyom?: boolean | null,
          denominationToken?: string | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          endDateIso?: string | null,
          eventStartTime?: string | null,
          events?: {
            $schema?: string | null,
            active?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestLines?: {
              id?: string | null,
              line?: number | null,
              lineType?: string | null
            }[] | null | null,
            cantEstimate?: boolean | null,
            carouselMap?: string | null,
            category?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            color?: string | null,
            commentCount?: number | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            countryName?: string | null,
            createdAt?: string | null,
            createdBy?: string | null,
            creationDate?: string | null,
            cumulativeMarkets?: boolean | null,
            cyom?: boolean | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            elapsed?: string | null,
            electionType?: string | null,
            enableNegRisk?: boolean | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            ended?: boolean | null,
            estimateValue?: boolean | null,
            estimatedValue?: string | null,
            eventCreators?: {
              $schema?: string | null,
              createdAt?: string | null,
              creatorHandle?: string | null,
              creatorImage?: string | null,
              creatorName?: string | null,
              creatorUrl?: string | null,
              id?: string | null,
              updatedAt?: string | null
            }[] | null | null,
            eventDate?: string | null,
            eventMetadata?: Record<string, any> | null,
            eventWeek?: number | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              eventId?: number | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            featured?: boolean | null,
            featuredImage?: string | null,
            featuredOrder?: number | null,
            finishedTimestamp?: string | null,
            gameId?: number | null,
            gmpChartMode?: string | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            isTemplate?: boolean | null,
            lastHighlight?: string | null,
            lastHighlightAt?: string | null,
            lastHighlightType?: string | null,
            liquidity?: number | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            live?: boolean | null,
            markets?: {
              $schema?: string | null,
              acceptingOrders?: boolean | null,
              acceptingOrdersTimestamp?: string | null,
              acceptingOrdersUntil?: string | null,
              active?: boolean | null,
              ammType?: string | null,
              approved?: boolean | null,
              archived?: boolean | null,
              automaticallyActive?: boolean | null,
              automaticallyResolved?: boolean | null,
              bestAsk?: number | null,
              bestBid?: number | null,
              category?: string | null,
              categoryMailchimpTag?: string | null,
              chartColor?: string | null,
              clearBookOnStart?: boolean | null,
              clobRewards?: {
                assetAddress?: string | null,
                conditionId?: string | null,
                endDate?: string | null,
                id?: string | null,
                rewardsAmount?: number | null,
                rewardsDailyRate?: number | null,
                startDate?: string | null
              }[] | null | null,
              clobTokenIds?: string | null,
              closed?: boolean | null,
              closedTime?: string | null,
              comboStatus?: string | null,
              commentsEnabled?: boolean | null,
              competitive?: number | null,
              conditionId?: string | null,
              createdAt?: string | null,
              createdBy?: number | null,
              creator?: string | null,
              cryptoMarketConfig?: {
                $schema?: string | null,
                asset?: string | null,
                duration?: string | null,
                id?: string | null,
                twapEnabled?: boolean | null,
                twapLookbackSeconds?: number | null
              } | null,
              cryptoMarketConfigId?: string | null,
              curationOrder?: number | null,
              customLiveness?: number | null,
              cyom?: boolean | null,
              denominationToken?: string | null,
              deploying?: boolean | null,
              deployingTimestamp?: string | null,
              description?: string | null,
              disqusThread?: string | null,
              enableOrderBook?: boolean | null,
              endDate?: string | null,
              endDateIso?: string | null,
              eventStartTime?: string | null,
              events?: (recursive)[] | null | null,
              facets?: {
                abbreviation?: string | null,
                appliesTo?: string[] | null | null,
                label?: string | null,
                parents?: string[] | null | null,
                slug?: string | null
              }[] | null | null,
              fallbackResolutionType?: string | null,
              featured?: boolean | null,
              fee?: string | null,
              feeExponent?: number | null,
              feeRate?: number | null,
              feeSchedule?: {
                exponent?: number | null,
                rate?: number | null,
                rebateRate?: number | null,
                takerOnly?: boolean | null
              } | null,
              feeType?: string | null | null,
              feesEnabled?: boolean | null,
              formatType?: string | null,
              fpmmLive?: boolean | null,
              funded?: boolean | null,
              fundedTimestamp?: string | null,
              gameId?: string | null,
              gameStartTime?: string | null,
              groupItemRange?: string | null,
              groupItemThreshold?: string | null,
              groupItemTitle?: string | null,
              hasReviewedDates?: boolean | null,
              holdingRewardsEnabled?: boolean | null,
              icon?: string | null,
              id?: string | null,
              image?: string | null,
              instrumentIndex?: number | null,
              instrumentKind?: string | null,
              lastTradePrice?: number | null,
              line?: number | null,
              liquidity?: string | null,
              liquidityAmm?: number | null,
              liquidityClob?: number | null,
              liquidityNum?: number | null,
              lowerBound?: string | null,
              lowerBoundDate?: string | null,
              mailchimpTag?: string | null,
              makerBaseFee?: number | null,
              makerRebatesFeeShareBps?: number | null,
              manualActivation?: boolean | null,
              marketGroup?: number | null,
              marketMakerAddress?: string | null,
              marketMetadata?: Record<string, any> | null,
              marketType?: string | null,
              markets?: {
                $schema?: string | null,
                acceptingOrders?: boolean | null,
                acceptingOrdersTimestamp?: string | null,
                acceptingOrdersUntil?: string | null,
                active?: boolean | null,
                ammType?: string | null,
                approved?: boolean | null,
                archived?: boolean | null,
                automaticallyActive?: boolean | null,
                automaticallyResolved?: boolean | null,
                bestAsk?: number | null,
                bestBid?: number | null,
                category?: string | null,
                categoryMailchimpTag?: string | null,
                chartColor?: string | null,
                clearBookOnStart?: boolean | null,
                clobRewards?: {
                  assetAddress?: string | null,
                  conditionId?: string | null,
                  endDate?: string | null,
                  id?: string | null,
                  rewardsAmount?: number | null,
                  rewardsDailyRate?: number | null,
                  startDate?: string | null
                }[] | null | null,
                clobTokenIds?: string | null,
                closed?: boolean | null,
                closedTime?: string | null,
                comboStatus?: string | null,
                commentsEnabled?: boolean | null,
                competitive?: number | null,
                conditionId?: string | null,
                createdAt?: string | null,
                createdBy?: number | null,
                creator?: string | null,
                cryptoMarketConfig?: {
                  $schema?: string | null,
                  asset?: string | null,
                  duration?: string | null,
                  id?: string | null,
                  twapEnabled?: boolean | null,
                  twapLookbackSeconds?: number | null
                } | null,
                cryptoMarketConfigId?: string | null,
                curationOrder?: number | null,
                customLiveness?: number | null,
                cyom?: boolean | null,
                denominationToken?: string | null,
                deploying?: boolean | null,
                deployingTimestamp?: string | null,
                description?: string | null,
                disqusThread?: string | null,
                enableOrderBook?: boolean | null,
                endDate?: string | null,
                endDateIso?: string | null,
                eventStartTime?: string | null,
                events?: (recursive)[] | null | null,
                facets?: {
                  abbreviation?: string | null,
                  appliesTo?: string[] | null | null,
                  label?: string | null,
                  parents?: string[] | null | null,
                  slug?: string | null
                }[] | null | null,
                fallbackResolutionType?: string | null,
                featured?: boolean | null,
                fee?: string | null,
                feeExponent?: number | null,
                feeRate?: number | null,
                feeSchedule?: {
                  exponent?: number | null,
                  rate?: number | null,
                  rebateRate?: number | null,
                  takerOnly?: boolean | null
                } | null,
                feeType?: string | null | null,
                feesEnabled?: boolean | null,
                formatType?: string | null,
                fpmmLive?: boolean | null,
                funded?: boolean | null,
                fundedTimestamp?: string | null,
                gameId?: string | null,
                gameStartTime?: string | null,
                groupItemRange?: string | null,
                groupItemThreshold?: string | null,
                groupItemTitle?: string | null,
                hasReviewedDates?: boolean | null,
                holdingRewardsEnabled?: boolean | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                instrumentIndex?: number | null,
                instrumentKind?: string | null,
                lastTradePrice?: number | null,
                line?: number | null,
                liquidity?: string | null,
                liquidityAmm?: number | null,
                liquidityClob?: number | null,
                liquidityNum?: number | null,
                lowerBound?: string | null,
                lowerBoundDate?: string | null,
                mailchimpTag?: string | null,
                makerBaseFee?: number | null,
                makerRebatesFeeShareBps?: number | null,
                manualActivation?: boolean | null,
                marketGroup?: number | null,
                marketMakerAddress?: string | null,
                marketMetadata?: Record<string, any> | null,
                marketType?: string | null,
                markets?: (recursive)[] | null | null,
                negRisk?: boolean | null,
                negRiskMarketID?: string | null,
                negRiskOther?: boolean | null,
                negRiskRequestID?: string | null,
                new?: boolean | null,
                notificationsEnabled?: boolean | null,
                onchainEventId?: string | null,
                oneDayPriceChange?: number | null,
                oneHourPriceChange?: number | null,
                oneMonthPriceChange?: number | null,
                oneWeekPriceChange?: number | null,
                oneYearPriceChange?: number | null,
                orderMinSize?: number | null,
                orderPriceMinTickSize?: number | null,
                outcomePrices?: string | null,
                outcomes?: string | null,
                pastSlugs?: string | null,
                pendingDeployment?: boolean | null,
                positionIds?: string[] | null | null,
                question?: string | null,
                questionID?: string | null,
                ready?: boolean | null,
                readyForCron?: boolean | null,
                readyTimestamp?: string | null,
                requestId?: string | null,
                resolutionMechanism?: string | null | null,
                resolutionSource?: string | null,
                resolutionStatus?: string | null,
                resolvedBy?: string | null,
                restricted?: boolean | null,
                rewardsMaxSpread?: number | null,
                rewardsMinSize?: number | null,
                rfqEnabled?: boolean | null,
                scheduledDeploymentTimestamp?: string | null,
                score?: number | null,
                secondsDelay?: number | null,
                sentDiscord?: boolean | null,
                seriesColor?: string | null,
                shortOutcomes?: string | null,
                showGmpOutcome?: boolean | null,
                showGmpSeries?: boolean | null,
                slug?: string | null,
                sponsorImage?: string | null,
                sponsorName?: string | null,
                sportsMarketType?: string | null,
                spread?: number | null,
                startDate?: string | null,
                startDateIso?: string | null,
                subcategory?: string | null,
                submitted_by?: string | null,
                tags?: {
                  $schema?: string | null,
                  activeEventsCount?: number | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  forceHide?: boolean | null,
                  forceShow?: boolean | null,
                  id?: string | null,
                  isCarousel?: boolean | null,
                  label?: string | null,
                  publishedAt?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null
                }[] | null | null,
                takerBaseFee?: number | null,
                teamAID?: string | null,
                teamBID?: string | null,
                tradingEligible?: boolean | null | null,
                twitterCardImage?: string | null,
                twitterCardLastRefreshed?: string | null,
                twitterCardLastValidated?: string | null,
                twitterCardLocation?: string | null,
                umaBond?: string | null,
                umaEndDate?: string | null,
                umaEndDateIso?: string | null,
                umaResolutionStatus?: string | null,
                umaResolutionStatuses?: string | null,
                umaReward?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null,
                upperBound?: string | null,
                upperBoundDate?: string | null,
                version?: string | null,
                volume?: string | null,
                volume1mo?: number | null,
                volume1moAmm?: number | null,
                volume1moClob?: number | null,
                volume1wk?: number | null,
                volume1wkAmm?: number | null,
                volume1wkClob?: number | null,
                volume1yr?: number | null,
                volume1yrAmm?: number | null,
                volume1yrClob?: number | null,
                volume24hr?: number | null,
                volume24hrAmm?: number | null,
                volume24hrClob?: number | null,
                volumeAmm?: number | null,
                volumeClob?: number | null,
                volumeNum?: number | null,
                wideFormat?: boolean | null,
                xAxisValue?: string | null,
                yAxisValue?: string | null
              }[] | null | null,
              negRisk?: boolean | null,
              negRiskMarketID?: string | null,
              negRiskOther?: boolean | null,
              negRiskRequestID?: string | null,
              new?: boolean | null,
              notificationsEnabled?: boolean | null,
              onchainEventId?: string | null,
              oneDayPriceChange?: number | null,
              oneHourPriceChange?: number | null,
              oneMonthPriceChange?: number | null,
              oneWeekPriceChange?: number | null,
              oneYearPriceChange?: number | null,
              orderMinSize?: number | null,
              orderPriceMinTickSize?: number | null,
              outcomePrices?: string | null,
              outcomes?: string | null,
              pastSlugs?: string | null,
              pendingDeployment?: boolean | null,
              positionIds?: string[] | null | null,
              question?: string | null,
              questionID?: string | null,
              ready?: boolean | null,
              readyForCron?: boolean | null,
              readyTimestamp?: string | null,
              requestId?: string | null,
              resolutionMechanism?: string | null | null,
              resolutionSource?: string | null,
              resolutionStatus?: string | null,
              resolvedBy?: string | null,
              restricted?: boolean | null,
              rewardsMaxSpread?: number | null,
              rewardsMinSize?: number | null,
              rfqEnabled?: boolean | null,
              scheduledDeploymentTimestamp?: string | null,
              score?: number | null,
              secondsDelay?: number | null,
              sentDiscord?: boolean | null,
              seriesColor?: string | null,
              shortOutcomes?: string | null,
              showGmpOutcome?: boolean | null,
              showGmpSeries?: boolean | null,
              slug?: string | null,
              sponsorImage?: string | null,
              sponsorName?: string | null,
              sportsMarketType?: string | null,
              spread?: number | null,
              startDate?: string | null,
              startDateIso?: string | null,
              subcategory?: string | null,
              submitted_by?: string | null,
              tags?: {
                $schema?: string | null,
                activeEventsCount?: number | null,
                createdAt?: string | null,
                createdBy?: number | null,
                forceHide?: boolean | null,
                forceShow?: boolean | null,
                id?: string | null,
                isCarousel?: boolean | null,
                label?: string | null,
                publishedAt?: string | null,
                slug?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null
              }[] | null | null,
              takerBaseFee?: number | null,
              teamAID?: string | null,
              teamBID?: string | null,
              tradingEligible?: boolean | null | null,
              twitterCardImage?: string | null,
              twitterCardLastRefreshed?: string | null,
              twitterCardLastValidated?: string | null,
              twitterCardLocation?: string | null,
              umaBond?: string | null,
              umaEndDate?: string | null,
              umaEndDateIso?: string | null,
              umaResolutionStatus?: string | null,
              umaResolutionStatuses?: string | null,
              umaReward?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null,
              upperBound?: string | null,
              upperBoundDate?: string | null,
              version?: string | null,
              volume?: string | null,
              volume1mo?: number | null,
              volume1moAmm?: number | null,
              volume1moClob?: number | null,
              volume1wk?: number | null,
              volume1wkAmm?: number | null,
              volume1wkClob?: number | null,
              volume1yr?: number | null,
              volume1yrAmm?: number | null,
              volume1yrClob?: number | null,
              volume24hr?: number | null,
              volume24hrAmm?: number | null,
              volume24hrClob?: number | null,
              volumeAmm?: number | null,
              volumeClob?: number | null,
              volumeNum?: number | null,
              wideFormat?: boolean | null,
              xAxisValue?: string | null,
              yAxisValue?: string | null
            }[] | null | null,
            maxMarketCount?: number | null,
            moduleType?: string | null,
            negRisk?: boolean | null,
            negRiskAugmented?: boolean | null,
            negRiskFeeBips?: number | null,
            negRiskMarketID?: string | null,
            new?: boolean | null,
            openInterest?: number | null,
            parentEventId?: number | null,
            pendingDeployment?: boolean | null,
            period?: string | null,
            published_at?: string | null,
            rescheduledFromGameId?: number | null,
            resolutionMode?: string | null,
            resolutionSource?: string | null,
            restricted?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: string | null,
            series?: {
              $schema?: string | null,
              active?: boolean | null,
              archived?: boolean | null,
              cgAssetName?: string | null,
              closed?: boolean | null,
              commentCount?: number | null,
              commentsEnabled?: boolean | null,
              competitive?: string | null,
              createdAt?: string | null,
              createdBy?: string | null,
              description?: string | null,
              events?: {
                $schema?: string | null,
                active?: boolean | null,
                archived?: boolean | null,
                automaticallyActive?: boolean | null,
                automaticallyResolved?: boolean | null,
                bestLines?: {
                  id?: string | null,
                  line?: number | null,
                  lineType?: string | null
                }[] | null | null,
                cantEstimate?: boolean | null,
                carouselMap?: string | null,
                category?: string | null,
                closed?: boolean | null,
                closedTime?: string | null,
                color?: string | null,
                commentCount?: number | null,
                commentsEnabled?: boolean | null,
                competitive?: number | null,
                countryName?: string | null,
                createdAt?: string | null,
                createdBy?: string | null,
                creationDate?: string | null,
                cumulativeMarkets?: boolean | null,
                cyom?: boolean | null,
                deploying?: boolean | null,
                deployingTimestamp?: string | null,
                description?: string | null,
                disqusThread?: string | null,
                elapsed?: string | null,
                electionType?: string | null,
                enableNegRisk?: boolean | null,
                enableOrderBook?: boolean | null,
                endDate?: string | null,
                ended?: boolean | null,
                estimateValue?: boolean | null,
                estimatedValue?: string | null,
                eventCreators?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  creatorHandle?: string | null,
                  creatorImage?: string | null,
                  creatorName?: string | null,
                  creatorUrl?: string | null,
                  id?: string | null,
                  updatedAt?: string | null
                }[] | null | null,
                eventDate?: string | null,
                eventMetadata?: Record<string, any> | null,
                eventWeek?: number | null,
                externalPartners?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  eventId?: number | null,
                  externalId?: string | null,
                  id?: number | null,
                  partner?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    id?: number | null,
                    name?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null
                  } | null,
                  partnerId?: number | null,
                  updatedAt?: string | null
                }[] | null | null,
                facets?: {
                  abbreviation?: string | null,
                  appliesTo?: string[] | null | null,
                  label?: string | null,
                  parents?: string[] | null | null,
                  slug?: string | null
                }[] | null | null,
                featured?: boolean | null,
                featuredImage?: string | null,
                featuredOrder?: number | null,
                finishedTimestamp?: string | null,
                gameId?: number | null,
                gmpChartMode?: string | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                isTemplate?: boolean | null,
                lastHighlight?: string | null,
                lastHighlightAt?: string | null,
                lastHighlightType?: string | null,
                liquidity?: number | null,
                liquidityAmm?: number | null,
                liquidityClob?: number | null,
                live?: boolean | null,
                markets?: {
                  $schema?: string | null,
                  acceptingOrders?: boolean | null,
                  acceptingOrdersTimestamp?: string | null,
                  acceptingOrdersUntil?: string | null,
                  active?: boolean | null,
                  ammType?: string | null,
                  approved?: boolean | null,
                  archived?: boolean | null,
                  automaticallyActive?: boolean | null,
                  automaticallyResolved?: boolean | null,
                  bestAsk?: number | null,
                  bestBid?: number | null,
                  category?: string | null,
                  categoryMailchimpTag?: string | null,
                  chartColor?: string | null,
                  clearBookOnStart?: boolean | null,
                  clobRewards?: {
                    assetAddress?: string | null,
                    conditionId?: string | null,
                    endDate?: string | null,
                    id?: string | null,
                    rewardsAmount?: number | null,
                    rewardsDailyRate?: number | null,
                    startDate?: string | null
                  }[] | null | null,
                  clobTokenIds?: string | null,
                  closed?: boolean | null,
                  closedTime?: string | null,
                  comboStatus?: string | null,
                  commentsEnabled?: boolean | null,
                  competitive?: number | null,
                  conditionId?: string | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  creator?: string | null,
                  cryptoMarketConfig?: {
                    $schema?: string | null,
                    asset?: string | null,
                    duration?: string | null,
                    id?: string | null,
                    twapEnabled?: boolean | null,
                    twapLookbackSeconds?: number | null
                  } | null,
                  cryptoMarketConfigId?: string | null,
                  curationOrder?: number | null,
                  customLiveness?: number | null,
                  cyom?: boolean | null,
                  denominationToken?: string | null,
                  deploying?: boolean | null,
                  deployingTimestamp?: string | null,
                  description?: string | null,
                  disqusThread?: string | null,
                  enableOrderBook?: boolean | null,
                  endDate?: string | null,
                  endDateIso?: string | null,
                  eventStartTime?: string | null,
                  events?: (recursive)[] | null | null,
                  facets?: {
                    abbreviation?: string | null,
                    appliesTo?: string[] | null | null,
                    label?: string | null,
                    parents?: string[] | null | null,
                    slug?: string | null
                  }[] | null | null,
                  fallbackResolutionType?: string | null,
                  featured?: boolean | null,
                  fee?: string | null,
                  feeExponent?: number | null,
                  feeRate?: number | null,
                  feeSchedule?: {
                    exponent?: number | null,
                    rate?: number | null,
                    rebateRate?: number | null,
                    takerOnly?: boolean | null
                  } | null,
                  feeType?: string | null | null,
                  feesEnabled?: boolean | null,
                  formatType?: string | null,
                  fpmmLive?: boolean | null,
                  funded?: boolean | null,
                  fundedTimestamp?: string | null,
                  gameId?: string | null,
                  gameStartTime?: string | null,
                  groupItemRange?: string | null,
                  groupItemThreshold?: string | null,
                  groupItemTitle?: string | null,
                  hasReviewedDates?: boolean | null,
                  holdingRewardsEnabled?: boolean | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  instrumentIndex?: number | null,
                  instrumentKind?: string | null,
                  lastTradePrice?: number | null,
                  line?: number | null,
                  liquidity?: string | null,
                  liquidityAmm?: number | null,
                  liquidityClob?: number | null,
                  liquidityNum?: number | null,
                  lowerBound?: string | null,
                  lowerBoundDate?: string | null,
                  mailchimpTag?: string | null,
                  makerBaseFee?: number | null,
                  makerRebatesFeeShareBps?: number | null,
                  manualActivation?: boolean | null,
                  marketGroup?: number | null,
                  marketMakerAddress?: string | null,
                  marketMetadata?: Record<string, any> | null,
                  marketType?: string | null,
                  markets?: {
                    $schema?: string | null,
                    acceptingOrders?: boolean | null,
                    acceptingOrdersTimestamp?: string | null,
                    acceptingOrdersUntil?: string | null,
                    active?: boolean | null,
                    ammType?: string | null,
                    approved?: boolean | null,
                    archived?: boolean | null,
                    automaticallyActive?: boolean | null,
                    automaticallyResolved?: boolean | null,
                    bestAsk?: number | null,
                    bestBid?: number | null,
                    category?: string | null,
                    categoryMailchimpTag?: string | null,
                    chartColor?: string | null,
                    clearBookOnStart?: boolean | null,
                    clobRewards?: {
                      assetAddress?: string | null,
                      conditionId?: string | null,
                      endDate?: string | null,
                      id?: string | null,
                      rewardsAmount?: number | null,
                      rewardsDailyRate?: number | null,
                      startDate?: string | null
                    }[] | null | null,
                    clobTokenIds?: string | null,
                    closed?: boolean | null,
                    closedTime?: string | null,
                    comboStatus?: string | null,
                    commentsEnabled?: boolean | null,
                    competitive?: number | null,
                    conditionId?: string | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    creator?: string | null,
                    cryptoMarketConfig?: {
                      $schema?: string | null,
                      asset?: string | null,
                      duration?: string | null,
                      id?: string | null,
                      twapEnabled?: boolean | null,
                      twapLookbackSeconds?: number | null
                    } | null,
                    cryptoMarketConfigId?: string | null,
                    curationOrder?: number | null,
                    customLiveness?: number | null,
                    cyom?: boolean | null,
                    denominationToken?: string | null,
                    deploying?: boolean | null,
                    deployingTimestamp?: string | null,
                    description?: string | null,
                    disqusThread?: string | null,
                    enableOrderBook?: boolean | null,
                    endDate?: string | null,
                    endDateIso?: string | null,
                    eventStartTime?: string | null,
                    events?: (recursive)[] | null | null,
                    facets?: {
                      abbreviation?: string | null,
                      appliesTo?: string[] | null | null,
                      label?: string | null,
                      parents?: string[] | null | null,
                      slug?: string | null
                    }[] | null | null,
                    fallbackResolutionType?: string | null,
                    featured?: boolean | null,
                    fee?: string | null,
                    feeExponent?: number | null,
                    feeRate?: number | null,
                    feeSchedule?: {
                      exponent?: number | null,
                      rate?: number | null,
                      rebateRate?: number | null,
                      takerOnly?: boolean | null
                    } | null,
                    feeType?: string | null | null,
                    feesEnabled?: boolean | null,
                    formatType?: string | null,
                    fpmmLive?: boolean | null,
                    funded?: boolean | null,
                    fundedTimestamp?: string | null,
                    gameId?: string | null,
                    gameStartTime?: string | null,
                    groupItemRange?: string | null,
                    groupItemThreshold?: string | null,
                    groupItemTitle?: string | null,
                    hasReviewedDates?: boolean | null,
                    holdingRewardsEnabled?: boolean | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    instrumentIndex?: number | null,
                    instrumentKind?: string | null,
                    lastTradePrice?: number | null,
                    line?: number | null,
                    liquidity?: string | null,
                    liquidityAmm?: number | null,
                    liquidityClob?: number | null,
                    liquidityNum?: number | null,
                    lowerBound?: string | null,
                    lowerBoundDate?: string | null,
                    mailchimpTag?: string | null,
                    makerBaseFee?: number | null,
                    makerRebatesFeeShareBps?: number | null,
                    manualActivation?: boolean | null,
                    marketGroup?: number | null,
                    marketMakerAddress?: string | null,
                    marketMetadata?: Record<string, any> | null,
                    marketType?: string | null,
                    markets?: (recursive)[] | null | null,
                    negRisk?: boolean | null,
                    negRiskMarketID?: string | null,
                    negRiskOther?: boolean | null,
                    negRiskRequestID?: string | null,
                    new?: boolean | null,
                    notificationsEnabled?: boolean | null,
                    onchainEventId?: string | null,
                    oneDayPriceChange?: number | null,
                    oneHourPriceChange?: number | null,
                    oneMonthPriceChange?: number | null,
                    oneWeekPriceChange?: number | null,
                    oneYearPriceChange?: number | null,
                    orderMinSize?: number | null,
                    orderPriceMinTickSize?: number | null,
                    outcomePrices?: string | null,
                    outcomes?: string | null,
                    pastSlugs?: string | null,
                    pendingDeployment?: boolean | null,
                    positionIds?: string[] | null | null,
                    question?: string | null,
                    questionID?: string | null,
                    ready?: boolean | null,
                    readyForCron?: boolean | null,
                    readyTimestamp?: string | null,
                    requestId?: string | null,
                    resolutionMechanism?: string | null | null,
                    resolutionSource?: string | null,
                    resolutionStatus?: string | null,
                    resolvedBy?: string | null,
                    restricted?: boolean | null,
                    rewardsMaxSpread?: number | null,
                    rewardsMinSize?: number | null,
                    rfqEnabled?: boolean | null,
                    scheduledDeploymentTimestamp?: string | null,
                    score?: number | null,
                    secondsDelay?: number | null,
                    sentDiscord?: boolean | null,
                    seriesColor?: string | null,
                    shortOutcomes?: string | null,
                    showGmpOutcome?: boolean | null,
                    showGmpSeries?: boolean | null,
                    slug?: string | null,
                    sponsorImage?: string | null,
                    sponsorName?: string | null,
                    sportsMarketType?: string | null,
                    spread?: number | null,
                    startDate?: string | null,
                    startDateIso?: string | null,
                    subcategory?: string | null,
                    submitted_by?: string | null,
                    tags?: {
                      $schema?: string | null,
                      activeEventsCount?: number | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      forceHide?: boolean | null,
                      forceShow?: boolean | null,
                      id?: string | null,
                      isCarousel?: boolean | null,
                      label?: string | null,
                      publishedAt?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null
                    }[] | null | null,
                    takerBaseFee?: number | null,
                    teamAID?: string | null,
                    teamBID?: string | null,
                    tradingEligible?: boolean | null | null,
                    twitterCardImage?: string | null,
                    twitterCardLastRefreshed?: string | null,
                    twitterCardLastValidated?: string | null,
                    twitterCardLocation?: string | null,
                    umaBond?: string | null,
                    umaEndDate?: string | null,
                    umaEndDateIso?: string | null,
                    umaResolutionStatus?: string | null,
                    umaResolutionStatuses?: string | null,
                    umaReward?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null,
                    upperBound?: string | null,
                    upperBoundDate?: string | null,
                    version?: string | null,
                    volume?: string | null,
                    volume1mo?: number | null,
                    volume1moAmm?: number | null,
                    volume1moClob?: number | null,
                    volume1wk?: number | null,
                    volume1wkAmm?: number | null,
                    volume1wkClob?: number | null,
                    volume1yr?: number | null,
                    volume1yrAmm?: number | null,
                    volume1yrClob?: number | null,
                    volume24hr?: number | null,
                    volume24hrAmm?: number | null,
                    volume24hrClob?: number | null,
                    volumeAmm?: number | null,
                    volumeClob?: number | null,
                    volumeNum?: number | null,
                    wideFormat?: boolean | null,
                    xAxisValue?: string | null,
                    yAxisValue?: string | null
                  }[] | null | null,
                  negRisk?: boolean | null,
                  negRiskMarketID?: string | null,
                  negRiskOther?: boolean | null,
                  negRiskRequestID?: string | null,
                  new?: boolean | null,
                  notificationsEnabled?: boolean | null,
                  onchainEventId?: string | null,
                  oneDayPriceChange?: number | null,
                  oneHourPriceChange?: number | null,
                  oneMonthPriceChange?: number | null,
                  oneWeekPriceChange?: number | null,
                  oneYearPriceChange?: number | null,
                  orderMinSize?: number | null,
                  orderPriceMinTickSize?: number | null,
                  outcomePrices?: string | null,
                  outcomes?: string | null,
                  pastSlugs?: string | null,
                  pendingDeployment?: boolean | null,
                  positionIds?: string[] | null | null,
                  question?: string | null,
                  questionID?: string | null,
                  ready?: boolean | null,
                  readyForCron?: boolean | null,
                  readyTimestamp?: string | null,
                  requestId?: string | null,
                  resolutionMechanism?: string | null | null,
                  resolutionSource?: string | null,
                  resolutionStatus?: string | null,
                  resolvedBy?: string | null,
                  restricted?: boolean | null,
                  rewardsMaxSpread?: number | null,
                  rewardsMinSize?: number | null,
                  rfqEnabled?: boolean | null,
                  scheduledDeploymentTimestamp?: string | null,
                  score?: number | null,
                  secondsDelay?: number | null,
                  sentDiscord?: boolean | null,
                  seriesColor?: string | null,
                  shortOutcomes?: string | null,
                  showGmpOutcome?: boolean | null,
                  showGmpSeries?: boolean | null,
                  slug?: string | null,
                  sponsorImage?: string | null,
                  sponsorName?: string | null,
                  sportsMarketType?: string | null,
                  spread?: number | null,
                  startDate?: string | null,
                  startDateIso?: string | null,
                  subcategory?: string | null,
                  submitted_by?: string | null,
                  tags?: {
                    $schema?: string | null,
                    activeEventsCount?: number | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    forceHide?: boolean | null,
                    forceShow?: boolean | null,
                    id?: string | null,
                    isCarousel?: boolean | null,
                    label?: string | null,
                    publishedAt?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null
                  }[] | null | null,
                  takerBaseFee?: number | null,
                  teamAID?: string | null,
                  teamBID?: string | null,
                  tradingEligible?: boolean | null | null,
                  twitterCardImage?: string | null,
                  twitterCardLastRefreshed?: string | null,
                  twitterCardLastValidated?: string | null,
                  twitterCardLocation?: string | null,
                  umaBond?: string | null,
                  umaEndDate?: string | null,
                  umaEndDateIso?: string | null,
                  umaResolutionStatus?: string | null,
                  umaResolutionStatuses?: string | null,
                  umaReward?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null,
                  upperBound?: string | null,
                  upperBoundDate?: string | null,
                  version?: string | null,
                  volume?: string | null,
                  volume1mo?: number | null,
                  volume1moAmm?: number | null,
                  volume1moClob?: number | null,
                  volume1wk?: number | null,
                  volume1wkAmm?: number | null,
                  volume1wkClob?: number | null,
                  volume1yr?: number | null,
                  volume1yrAmm?: number | null,
                  volume1yrClob?: number | null,
                  volume24hr?: number | null,
                  volume24hrAmm?: number | null,
                  volume24hrClob?: number | null,
                  volumeAmm?: number | null,
                  volumeClob?: number | null,
                  volumeNum?: number | null,
                  wideFormat?: boolean | null,
                  xAxisValue?: string | null,
                  yAxisValue?: string | null
                }[] | null | null,
                maxMarketCount?: number | null,
                moduleType?: string | null,
                negRisk?: boolean | null,
                negRiskAugmented?: boolean | null,
                negRiskFeeBips?: number | null,
                negRiskMarketID?: string | null,
                new?: boolean | null,
                openInterest?: number | null,
                parentEventId?: number | null,
                pendingDeployment?: boolean | null,
                period?: string | null,
                published_at?: string | null,
                rescheduledFromGameId?: number | null,
                resolutionMode?: string | null,
                resolutionSource?: string | null,
                restricted?: boolean | null,
                scheduledDeploymentTimestamp?: string | null,
                score?: string | null,
                series?: {
                  $schema?: string | null,
                  active?: boolean | null,
                  archived?: boolean | null,
                  cgAssetName?: string | null,
                  closed?: boolean | null,
                  commentCount?: number | null,
                  commentsEnabled?: boolean | null,
                  competitive?: string | null,
                  createdAt?: string | null,
                  createdBy?: string | null,
                  description?: string | null,
                  events?: (recursive)[] | null | null,
                  featured?: boolean | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  isTemplate?: boolean | null,
                  layout?: string | null,
                  liquidity?: number | null,
                  new?: boolean | null,
                  publishedAt?: string | null,
                  pythTokenID?: string | null,
                  recurrence?: string | null,
                  restricted?: boolean | null,
                  score?: number | null,
                  seriesType?: string | null,
                  slug?: string | null,
                  startDate?: string | null,
                  subtitle?: string | null,
                  templateVariables?: boolean | null,
                  ticker?: string | null,
                  title?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: string | null,
                  volume?: number | null,
                  volume24hr?: number | null
                }[] | null | null,
                seriesSlug?: string | null,
                showAllOutcomes?: boolean | null,
                showMarketImages?: boolean | null,
                slug?: string | null,
                sortBy?: string | null,
                sport?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  externalPartners?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    externalId?: string | null,
                    id?: number | null,
                    partner?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      id?: number | null,
                      name?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null
                    } | null,
                    partnerId?: number | null,
                    sportId?: number | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  id?: number | null,
                  image?: string | null,
                  name?: string | null,
                  ordering?: string | null,
                  primaryTagId?: number | null,
                  resolution?: string | null,
                  series?: string | null,
                  sport?: string | null,
                  tags?: string | null,
                  updatedAt?: string | null
                } | null,
                spreadsMainLine?: number | null,
                startDate?: string | null,
                startTime?: string | null,
                subEvents?: (string | null)[] | null | null,
                subcategory?: string | null,
                subtitle?: string | null,
                tag_labels?: string[] | null | null,
                tag_slugs?: string[] | null | null,
                tags?: {
                  $schema?: string | null,
                  activeEventsCount?: number | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  forceHide?: boolean | null,
                  forceShow?: boolean | null,
                  id?: string | null,
                  isCarousel?: boolean | null,
                  label?: string | null,
                  publishedAt?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null
                }[] | null | null,
                teams?: {
                  $schema?: string | null,
                  abbreviation?: string | null,
                  alias?: string | null,
                  color?: string | null,
                  createdAt?: string | null,
                  externalPartners?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    externalId?: string | null,
                    id?: number | null,
                    partner?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      id?: number | null,
                      name?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null
                    } | null,
                    partnerId?: number | null,
                    source?: string | null,
                    teamId?: number | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  id?: number | null,
                  league?: string | null,
                  logo?: string | null,
                  name?: string | null,
                  ordering?: string | null,
                  providerId?: number | null,
                  record?: string | null,
                  updatedAt?: string | null
                }[] | null | null,
                templateVariables?: string | null,
                ticker?: string | null,
                title?: string | null,
                totalsMainLine?: number | null,
                turnProviderId?: string | null,
                tweetCount?: number | null,
                updatedAt?: string | null,
                updatedBy?: string | null,
                usId?: string | null,
                version?: string | null,
                volume?: number | null,
                volume1mo?: number | null,
                volume1wk?: number | null,
                volume1yr?: number | null,
                volume24hr?: number | null
              }[] | null | null,
              featured?: boolean | null,
              icon?: string | null,
              id?: string | null,
              image?: string | null,
              isTemplate?: boolean | null,
              layout?: string | null,
              liquidity?: number | null,
              new?: boolean | null,
              publishedAt?: string | null,
              pythTokenID?: string | null,
              recurrence?: string | null,
              restricted?: boolean | null,
              score?: number | null,
              seriesType?: string | null,
              slug?: string | null,
              startDate?: string | null,
              subtitle?: string | null,
              templateVariables?: boolean | null,
              ticker?: string | null,
              title?: string | null,
              updatedAt?: string | null,
              updatedBy?: string | null,
              volume?: number | null,
              volume24hr?: number | null
            }[] | null | null,
            seriesSlug?: string | null,
            showAllOutcomes?: boolean | null,
            showMarketImages?: boolean | null,
            slug?: string | null,
            sortBy?: string | null,
            sport?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalPartners?: {
                $schema?: string | null,
                createdAt?: string | null,
                externalId?: string | null,
                id?: number | null,
                partner?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  id?: number | null,
                  name?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null
                } | null,
                partnerId?: number | null,
                sportId?: number | null,
                updatedAt?: string | null
              }[] | null | null,
              id?: number | null,
              image?: string | null,
              name?: string | null,
              ordering?: string | null,
              primaryTagId?: number | null,
              resolution?: string | null,
              series?: string | null,
              sport?: string | null,
              tags?: string | null,
              updatedAt?: string | null
            } | null,
            spreadsMainLine?: number | null,
            startDate?: string | null,
            startTime?: string | null,
            subEvents?: (string | null)[] | null | null,
            subcategory?: string | null,
            subtitle?: string | null,
            tag_labels?: string[] | null | null,
            tag_slugs?: string[] | null | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            teams?: {
              $schema?: string | null,
              abbreviation?: string | null,
              alias?: string | null,
              color?: string | null,
              createdAt?: string | null,
              externalPartners?: {
                $schema?: string | null,
                createdAt?: string | null,
                externalId?: string | null,
                id?: number | null,
                partner?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  id?: number | null,
                  name?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null
                } | null,
                partnerId?: number | null,
                source?: string | null,
                teamId?: number | null,
                updatedAt?: string | null
              }[] | null | null,
              id?: number | null,
              league?: string | null,
              logo?: string | null,
              name?: string | null,
              ordering?: string | null,
              providerId?: number | null,
              record?: string | null,
              updatedAt?: string | null
            }[] | null | null,
            templateVariables?: string | null,
            ticker?: string | null,
            title?: string | null,
            totalsMainLine?: number | null,
            turnProviderId?: string | null,
            tweetCount?: number | null,
            updatedAt?: string | null,
            updatedBy?: string | null,
            usId?: string | null,
            version?: string | null,
            volume?: number | null,
            volume1mo?: number | null,
            volume1wk?: number | null,
            volume1yr?: number | null,
            volume24hr?: number | null
          }[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          fallbackResolutionType?: string | null,
          featured?: boolean | null,
          fee?: string | null,
          feeExponent?: number | null,
          feeRate?: number | null,
          feeSchedule?: {
            exponent?: number | null,
            rate?: number | null,
            rebateRate?: number | null,
            takerOnly?: boolean | null
          } | null,
          feeType?: string | null | null,
          feesEnabled?: boolean | null,
          formatType?: string | null,
          fpmmLive?: boolean | null,
          funded?: boolean | null,
          fundedTimestamp?: string | null,
          gameId?: string | null,
          gameStartTime?: string | null,
          groupItemRange?: string | null,
          groupItemThreshold?: string | null,
          groupItemTitle?: string | null,
          hasReviewedDates?: boolean | null,
          holdingRewardsEnabled?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          instrumentIndex?: number | null,
          instrumentKind?: string | null,
          lastTradePrice?: number | null,
          line?: number | null,
          liquidity?: string | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          liquidityNum?: number | null,
          lowerBound?: string | null,
          lowerBoundDate?: string | null,
          mailchimpTag?: string | null,
          makerBaseFee?: number | null,
          makerRebatesFeeShareBps?: number | null,
          manualActivation?: boolean | null,
          marketGroup?: number | null,
          marketMakerAddress?: string | null,
          marketMetadata?: Record<string, any> | null,
          marketType?: string | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: {
              $schema?: string | null,
              active?: boolean | null,
              archived?: boolean | null,
              automaticallyActive?: boolean | null,
              automaticallyResolved?: boolean | null,
              bestLines?: {
                id?: string | null,
                line?: number | null,
                lineType?: string | null
              }[] | null | null,
              cantEstimate?: boolean | null,
              carouselMap?: string | null,
              category?: string | null,
              closed?: boolean | null,
              closedTime?: string | null,
              color?: string | null,
              commentCount?: number | null,
              commentsEnabled?: boolean | null,
              competitive?: number | null,
              countryName?: string | null,
              createdAt?: string | null,
              createdBy?: string | null,
              creationDate?: string | null,
              cumulativeMarkets?: boolean | null,
              cyom?: boolean | null,
              deploying?: boolean | null,
              deployingTimestamp?: string | null,
              description?: string | null,
              disqusThread?: string | null,
              elapsed?: string | null,
              electionType?: string | null,
              enableNegRisk?: boolean | null,
              enableOrderBook?: boolean | null,
              endDate?: string | null,
              ended?: boolean | null,
              estimateValue?: boolean | null,
              estimatedValue?: string | null,
              eventCreators?: {
                $schema?: string | null,
                createdAt?: string | null,
                creatorHandle?: string | null,
                creatorImage?: string | null,
                creatorName?: string | null,
                creatorUrl?: string | null,
                id?: string | null,
                updatedAt?: string | null
              }[] | null | null,
              eventDate?: string | null,
              eventMetadata?: Record<string, any> | null,
              eventWeek?: number | null,
              externalPartners?: {
                $schema?: string | null,
                createdAt?: string | null,
                eventId?: number | null,
                externalId?: string | null,
                id?: number | null,
                partner?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  id?: number | null,
                  name?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null
                } | null,
                partnerId?: number | null,
                updatedAt?: string | null
              }[] | null | null,
              facets?: {
                abbreviation?: string | null,
                appliesTo?: string[] | null | null,
                label?: string | null,
                parents?: string[] | null | null,
                slug?: string | null
              }[] | null | null,
              featured?: boolean | null,
              featuredImage?: string | null,
              featuredOrder?: number | null,
              finishedTimestamp?: string | null,
              gameId?: number | null,
              gmpChartMode?: string | null,
              icon?: string | null,
              id?: string | null,
              image?: string | null,
              isTemplate?: boolean | null,
              lastHighlight?: string | null,
              lastHighlightAt?: string | null,
              lastHighlightType?: string | null,
              liquidity?: number | null,
              liquidityAmm?: number | null,
              liquidityClob?: number | null,
              live?: boolean | null,
              markets?: {
                $schema?: string | null,
                acceptingOrders?: boolean | null,
                acceptingOrdersTimestamp?: string | null,
                acceptingOrdersUntil?: string | null,
                active?: boolean | null,
                ammType?: string | null,
                approved?: boolean | null,
                archived?: boolean | null,
                automaticallyActive?: boolean | null,
                automaticallyResolved?: boolean | null,
                bestAsk?: number | null,
                bestBid?: number | null,
                category?: string | null,
                categoryMailchimpTag?: string | null,
                chartColor?: string | null,
                clearBookOnStart?: boolean | null,
                clobRewards?: {
                  assetAddress?: string | null,
                  conditionId?: string | null,
                  endDate?: string | null,
                  id?: string | null,
                  rewardsAmount?: number | null,
                  rewardsDailyRate?: number | null,
                  startDate?: string | null
                }[] | null | null,
                clobTokenIds?: string | null,
                closed?: boolean | null,
                closedTime?: string | null,
                comboStatus?: string | null,
                commentsEnabled?: boolean | null,
                competitive?: number | null,
                conditionId?: string | null,
                createdAt?: string | null,
                createdBy?: number | null,
                creator?: string | null,
                cryptoMarketConfig?: {
                  $schema?: string | null,
                  asset?: string | null,
                  duration?: string | null,
                  id?: string | null,
                  twapEnabled?: boolean | null,
                  twapLookbackSeconds?: number | null
                } | null,
                cryptoMarketConfigId?: string | null,
                curationOrder?: number | null,
                customLiveness?: number | null,
                cyom?: boolean | null,
                denominationToken?: string | null,
                deploying?: boolean | null,
                deployingTimestamp?: string | null,
                description?: string | null,
                disqusThread?: string | null,
                enableOrderBook?: boolean | null,
                endDate?: string | null,
                endDateIso?: string | null,
                eventStartTime?: string | null,
                events?: (recursive)[] | null | null,
                facets?: {
                  abbreviation?: string | null,
                  appliesTo?: string[] | null | null,
                  label?: string | null,
                  parents?: string[] | null | null,
                  slug?: string | null
                }[] | null | null,
                fallbackResolutionType?: string | null,
                featured?: boolean | null,
                fee?: string | null,
                feeExponent?: number | null,
                feeRate?: number | null,
                feeSchedule?: {
                  exponent?: number | null,
                  rate?: number | null,
                  rebateRate?: number | null,
                  takerOnly?: boolean | null
                } | null,
                feeType?: string | null | null,
                feesEnabled?: boolean | null,
                formatType?: string | null,
                fpmmLive?: boolean | null,
                funded?: boolean | null,
                fundedTimestamp?: string | null,
                gameId?: string | null,
                gameStartTime?: string | null,
                groupItemRange?: string | null,
                groupItemThreshold?: string | null,
                groupItemTitle?: string | null,
                hasReviewedDates?: boolean | null,
                holdingRewardsEnabled?: boolean | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                instrumentIndex?: number | null,
                instrumentKind?: string | null,
                lastTradePrice?: number | null,
                line?: number | null,
                liquidity?: string | null,
                liquidityAmm?: number | null,
                liquidityClob?: number | null,
                liquidityNum?: number | null,
                lowerBound?: string | null,
                lowerBoundDate?: string | null,
                mailchimpTag?: string | null,
                makerBaseFee?: number | null,
                makerRebatesFeeShareBps?: number | null,
                manualActivation?: boolean | null,
                marketGroup?: number | null,
                marketMakerAddress?: string | null,
                marketMetadata?: Record<string, any> | null,
                marketType?: string | null,
                markets?: (recursive)[] | null | null,
                negRisk?: boolean | null,
                negRiskMarketID?: string | null,
                negRiskOther?: boolean | null,
                negRiskRequestID?: string | null,
                new?: boolean | null,
                notificationsEnabled?: boolean | null,
                onchainEventId?: string | null,
                oneDayPriceChange?: number | null,
                oneHourPriceChange?: number | null,
                oneMonthPriceChange?: number | null,
                oneWeekPriceChange?: number | null,
                oneYearPriceChange?: number | null,
                orderMinSize?: number | null,
                orderPriceMinTickSize?: number | null,
                outcomePrices?: string | null,
                outcomes?: string | null,
                pastSlugs?: string | null,
                pendingDeployment?: boolean | null,
                positionIds?: string[] | null | null,
                question?: string | null,
                questionID?: string | null,
                ready?: boolean | null,
                readyForCron?: boolean | null,
                readyTimestamp?: string | null,
                requestId?: string | null,
                resolutionMechanism?: string | null | null,
                resolutionSource?: string | null,
                resolutionStatus?: string | null,
                resolvedBy?: string | null,
                restricted?: boolean | null,
                rewardsMaxSpread?: number | null,
                rewardsMinSize?: number | null,
                rfqEnabled?: boolean | null,
                scheduledDeploymentTimestamp?: string | null,
                score?: number | null,
                secondsDelay?: number | null,
                sentDiscord?: boolean | null,
                seriesColor?: string | null,
                shortOutcomes?: string | null,
                showGmpOutcome?: boolean | null,
                showGmpSeries?: boolean | null,
                slug?: string | null,
                sponsorImage?: string | null,
                sponsorName?: string | null,
                sportsMarketType?: string | null,
                spread?: number | null,
                startDate?: string | null,
                startDateIso?: string | null,
                subcategory?: string | null,
                submitted_by?: string | null,
                tags?: {
                  $schema?: string | null,
                  activeEventsCount?: number | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  forceHide?: boolean | null,
                  forceShow?: boolean | null,
                  id?: string | null,
                  isCarousel?: boolean | null,
                  label?: string | null,
                  publishedAt?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null
                }[] | null | null,
                takerBaseFee?: number | null,
                teamAID?: string | null,
                teamBID?: string | null,
                tradingEligible?: boolean | null | null,
                twitterCardImage?: string | null,
                twitterCardLastRefreshed?: string | null,
                twitterCardLastValidated?: string | null,
                twitterCardLocation?: string | null,
                umaBond?: string | null,
                umaEndDate?: string | null,
                umaEndDateIso?: string | null,
                umaResolutionStatus?: string | null,
                umaResolutionStatuses?: string | null,
                umaReward?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null,
                upperBound?: string | null,
                upperBoundDate?: string | null,
                version?: string | null,
                volume?: string | null,
                volume1mo?: number | null,
                volume1moAmm?: number | null,
                volume1moClob?: number | null,
                volume1wk?: number | null,
                volume1wkAmm?: number | null,
                volume1wkClob?: number | null,
                volume1yr?: number | null,
                volume1yrAmm?: number | null,
                volume1yrClob?: number | null,
                volume24hr?: number | null,
                volume24hrAmm?: number | null,
                volume24hrClob?: number | null,
                volumeAmm?: number | null,
                volumeClob?: number | null,
                volumeNum?: number | null,
                wideFormat?: boolean | null,
                xAxisValue?: string | null,
                yAxisValue?: string | null
              }[] | null | null,
              maxMarketCount?: number | null,
              moduleType?: string | null,
              negRisk?: boolean | null,
              negRiskAugmented?: boolean | null,
              negRiskFeeBips?: number | null,
              negRiskMarketID?: string | null,
              new?: boolean | null,
              openInterest?: number | null,
              parentEventId?: number | null,
              pendingDeployment?: boolean | null,
              period?: string | null,
              published_at?: string | null,
              rescheduledFromGameId?: number | null,
              resolutionMode?: string | null,
              resolutionSource?: string | null,
              restricted?: boolean | null,
              scheduledDeploymentTimestamp?: string | null,
              score?: string | null,
              series?: {
                $schema?: string | null,
                active?: boolean | null,
                archived?: boolean | null,
                cgAssetName?: string | null,
                closed?: boolean | null,
                commentCount?: number | null,
                commentsEnabled?: boolean | null,
                competitive?: string | null,
                createdAt?: string | null,
                createdBy?: string | null,
                description?: string | null,
                events?: {
                  $schema?: string | null,
                  active?: boolean | null,
                  archived?: boolean | null,
                  automaticallyActive?: boolean | null,
                  automaticallyResolved?: boolean | null,
                  bestLines?: {
                    id?: string | null,
                    line?: number | null,
                    lineType?: string | null
                  }[] | null | null,
                  cantEstimate?: boolean | null,
                  carouselMap?: string | null,
                  category?: string | null,
                  closed?: boolean | null,
                  closedTime?: string | null,
                  color?: string | null,
                  commentCount?: number | null,
                  commentsEnabled?: boolean | null,
                  competitive?: number | null,
                  countryName?: string | null,
                  createdAt?: string | null,
                  createdBy?: string | null,
                  creationDate?: string | null,
                  cumulativeMarkets?: boolean | null,
                  cyom?: boolean | null,
                  deploying?: boolean | null,
                  deployingTimestamp?: string | null,
                  description?: string | null,
                  disqusThread?: string | null,
                  elapsed?: string | null,
                  electionType?: string | null,
                  enableNegRisk?: boolean | null,
                  enableOrderBook?: boolean | null,
                  endDate?: string | null,
                  ended?: boolean | null,
                  estimateValue?: boolean | null,
                  estimatedValue?: string | null,
                  eventCreators?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    creatorHandle?: string | null,
                    creatorImage?: string | null,
                    creatorName?: string | null,
                    creatorUrl?: string | null,
                    id?: string | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  eventDate?: string | null,
                  eventMetadata?: Record<string, any> | null,
                  eventWeek?: number | null,
                  externalPartners?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    eventId?: number | null,
                    externalId?: string | null,
                    id?: number | null,
                    partner?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      id?: number | null,
                      name?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null
                    } | null,
                    partnerId?: number | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  facets?: {
                    abbreviation?: string | null,
                    appliesTo?: string[] | null | null,
                    label?: string | null,
                    parents?: string[] | null | null,
                    slug?: string | null
                  }[] | null | null,
                  featured?: boolean | null,
                  featuredImage?: string | null,
                  featuredOrder?: number | null,
                  finishedTimestamp?: string | null,
                  gameId?: number | null,
                  gmpChartMode?: string | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  isTemplate?: boolean | null,
                  lastHighlight?: string | null,
                  lastHighlightAt?: string | null,
                  lastHighlightType?: string | null,
                  liquidity?: number | null,
                  liquidityAmm?: number | null,
                  liquidityClob?: number | null,
                  live?: boolean | null,
                  markets?: {
                    $schema?: string | null,
                    acceptingOrders?: boolean | null,
                    acceptingOrdersTimestamp?: string | null,
                    acceptingOrdersUntil?: string | null,
                    active?: boolean | null,
                    ammType?: string | null,
                    approved?: boolean | null,
                    archived?: boolean | null,
                    automaticallyActive?: boolean | null,
                    automaticallyResolved?: boolean | null,
                    bestAsk?: number | null,
                    bestBid?: number | null,
                    category?: string | null,
                    categoryMailchimpTag?: string | null,
                    chartColor?: string | null,
                    clearBookOnStart?: boolean | null,
                    clobRewards?: {
                      assetAddress?: string | null,
                      conditionId?: string | null,
                      endDate?: string | null,
                      id?: string | null,
                      rewardsAmount?: number | null,
                      rewardsDailyRate?: number | null,
                      startDate?: string | null
                    }[] | null | null,
                    clobTokenIds?: string | null,
                    closed?: boolean | null,
                    closedTime?: string | null,
                    comboStatus?: string | null,
                    commentsEnabled?: boolean | null,
                    competitive?: number | null,
                    conditionId?: string | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    creator?: string | null,
                    cryptoMarketConfig?: {
                      $schema?: string | null,
                      asset?: string | null,
                      duration?: string | null,
                      id?: string | null,
                      twapEnabled?: boolean | null,
                      twapLookbackSeconds?: number | null
                    } | null,
                    cryptoMarketConfigId?: string | null,
                    curationOrder?: number | null,
                    customLiveness?: number | null,
                    cyom?: boolean | null,
                    denominationToken?: string | null,
                    deploying?: boolean | null,
                    deployingTimestamp?: string | null,
                    description?: string | null,
                    disqusThread?: string | null,
                    enableOrderBook?: boolean | null,
                    endDate?: string | null,
                    endDateIso?: string | null,
                    eventStartTime?: string | null,
                    events?: (recursive)[] | null | null,
                    facets?: {
                      abbreviation?: string | null,
                      appliesTo?: string[] | null | null,
                      label?: string | null,
                      parents?: string[] | null | null,
                      slug?: string | null
                    }[] | null | null,
                    fallbackResolutionType?: string | null,
                    featured?: boolean | null,
                    fee?: string | null,
                    feeExponent?: number | null,
                    feeRate?: number | null,
                    feeSchedule?: {
                      exponent?: number | null,
                      rate?: number | null,
                      rebateRate?: number | null,
                      takerOnly?: boolean | null
                    } | null,
                    feeType?: string | null | null,
                    feesEnabled?: boolean | null,
                    formatType?: string | null,
                    fpmmLive?: boolean | null,
                    funded?: boolean | null,
                    fundedTimestamp?: string | null,
                    gameId?: string | null,
                    gameStartTime?: string | null,
                    groupItemRange?: string | null,
                    groupItemThreshold?: string | null,
                    groupItemTitle?: string | null,
                    hasReviewedDates?: boolean | null,
                    holdingRewardsEnabled?: boolean | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    instrumentIndex?: number | null,
                    instrumentKind?: string | null,
                    lastTradePrice?: number | null,
                    line?: number | null,
                    liquidity?: string | null,
                    liquidityAmm?: number | null,
                    liquidityClob?: number | null,
                    liquidityNum?: number | null,
                    lowerBound?: string | null,
                    lowerBoundDate?: string | null,
                    mailchimpTag?: string | null,
                    makerBaseFee?: number | null,
                    makerRebatesFeeShareBps?: number | null,
                    manualActivation?: boolean | null,
                    marketGroup?: number | null,
                    marketMakerAddress?: string | null,
                    marketMetadata?: Record<string, any> | null,
                    marketType?: string | null,
                    markets?: (recursive)[] | null | null,
                    negRisk?: boolean | null,
                    negRiskMarketID?: string | null,
                    negRiskOther?: boolean | null,
                    negRiskRequestID?: string | null,
                    new?: boolean | null,
                    notificationsEnabled?: boolean | null,
                    onchainEventId?: string | null,
                    oneDayPriceChange?: number | null,
                    oneHourPriceChange?: number | null,
                    oneMonthPriceChange?: number | null,
                    oneWeekPriceChange?: number | null,
                    oneYearPriceChange?: number | null,
                    orderMinSize?: number | null,
                    orderPriceMinTickSize?: number | null,
                    outcomePrices?: string | null,
                    outcomes?: string | null,
                    pastSlugs?: string | null,
                    pendingDeployment?: boolean | null,
                    positionIds?: string[] | null | null,
                    question?: string | null,
                    questionID?: string | null,
                    ready?: boolean | null,
                    readyForCron?: boolean | null,
                    readyTimestamp?: string | null,
                    requestId?: string | null,
                    resolutionMechanism?: string | null | null,
                    resolutionSource?: string | null,
                    resolutionStatus?: string | null,
                    resolvedBy?: string | null,
                    restricted?: boolean | null,
                    rewardsMaxSpread?: number | null,
                    rewardsMinSize?: number | null,
                    rfqEnabled?: boolean | null,
                    scheduledDeploymentTimestamp?: string | null,
                    score?: number | null,
                    secondsDelay?: number | null,
                    sentDiscord?: boolean | null,
                    seriesColor?: string | null,
                    shortOutcomes?: string | null,
                    showGmpOutcome?: boolean | null,
                    showGmpSeries?: boolean | null,
                    slug?: string | null,
                    sponsorImage?: string | null,
                    sponsorName?: string | null,
                    sportsMarketType?: string | null,
                    spread?: number | null,
                    startDate?: string | null,
                    startDateIso?: string | null,
                    subcategory?: string | null,
                    submitted_by?: string | null,
                    tags?: {
                      $schema?: string | null,
                      activeEventsCount?: number | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      forceHide?: boolean | null,
                      forceShow?: boolean | null,
                      id?: string | null,
                      isCarousel?: boolean | null,
                      label?: string | null,
                      publishedAt?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null
                    }[] | null | null,
                    takerBaseFee?: number | null,
                    teamAID?: string | null,
                    teamBID?: string | null,
                    tradingEligible?: boolean | null | null,
                    twitterCardImage?: string | null,
                    twitterCardLastRefreshed?: string | null,
                    twitterCardLastValidated?: string | null,
                    twitterCardLocation?: string | null,
                    umaBond?: string | null,
                    umaEndDate?: string | null,
                    umaEndDateIso?: string | null,
                    umaResolutionStatus?: string | null,
                    umaResolutionStatuses?: string | null,
                    umaReward?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null,
                    upperBound?: string | null,
                    upperBoundDate?: string | null,
                    version?: string | null,
                    volume?: string | null,
                    volume1mo?: number | null,
                    volume1moAmm?: number | null,
                    volume1moClob?: number | null,
                    volume1wk?: number | null,
                    volume1wkAmm?: number | null,
                    volume1wkClob?: number | null,
                    volume1yr?: number | null,
                    volume1yrAmm?: number | null,
                    volume1yrClob?: number | null,
                    volume24hr?: number | null,
                    volume24hrAmm?: number | null,
                    volume24hrClob?: number | null,
                    volumeAmm?: number | null,
                    volumeClob?: number | null,
                    volumeNum?: number | null,
                    wideFormat?: boolean | null,
                    xAxisValue?: string | null,
                    yAxisValue?: string | null
                  }[] | null | null,
                  maxMarketCount?: number | null,
                  moduleType?: string | null,
                  negRisk?: boolean | null,
                  negRiskAugmented?: boolean | null,
                  negRiskFeeBips?: number | null,
                  negRiskMarketID?: string | null,
                  new?: boolean | null,
                  openInterest?: number | null,
                  parentEventId?: number | null,
                  pendingDeployment?: boolean | null,
                  period?: string | null,
                  published_at?: string | null,
                  rescheduledFromGameId?: number | null,
                  resolutionMode?: string | null,
                  resolutionSource?: string | null,
                  restricted?: boolean | null,
                  scheduledDeploymentTimestamp?: string | null,
                  score?: string | null,
                  series?: {
                    $schema?: string | null,
                    active?: boolean | null,
                    archived?: boolean | null,
                    cgAssetName?: string | null,
                    closed?: boolean | null,
                    commentCount?: number | null,
                    commentsEnabled?: boolean | null,
                    competitive?: string | null,
                    createdAt?: string | null,
                    createdBy?: string | null,
                    description?: string | null,
                    events?: (recursive)[] | null | null,
                    featured?: boolean | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    isTemplate?: boolean | null,
                    layout?: string | null,
                    liquidity?: number | null,
                    new?: boolean | null,
                    publishedAt?: string | null,
                    pythTokenID?: string | null,
                    recurrence?: string | null,
                    restricted?: boolean | null,
                    score?: number | null,
                    seriesType?: string | null,
                    slug?: string | null,
                    startDate?: string | null,
                    subtitle?: string | null,
                    templateVariables?: boolean | null,
                    ticker?: string | null,
                    title?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: string | null,
                    volume?: number | null,
                    volume24hr?: number | null
                  }[] | null | null,
                  seriesSlug?: string | null,
                  showAllOutcomes?: boolean | null,
                  showMarketImages?: boolean | null,
                  slug?: string | null,
                  sortBy?: string | null,
                  sport?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    externalPartners?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      externalId?: string | null,
                      id?: number | null,
                      partner?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        id?: number | null,
                        name?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null
                      } | null,
                      partnerId?: number | null,
                      sportId?: number | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    id?: number | null,
                    image?: string | null,
                    name?: string | null,
                    ordering?: string | null,
                    primaryTagId?: number | null,
                    resolution?: string | null,
                    series?: string | null,
                    sport?: string | null,
                    tags?: string | null,
                    updatedAt?: string | null
                  } | null,
                  spreadsMainLine?: number | null,
                  startDate?: string | null,
                  startTime?: string | null,
                  subEvents?: (string | null)[] | null | null,
                  subcategory?: string | null,
                  subtitle?: string | null,
                  tag_labels?: string[] | null | null,
                  tag_slugs?: string[] | null | null,
                  tags?: {
                    $schema?: string | null,
                    activeEventsCount?: number | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    forceHide?: boolean | null,
                    forceShow?: boolean | null,
                    id?: string | null,
                    isCarousel?: boolean | null,
                    label?: string | null,
                    publishedAt?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null
                  }[] | null | null,
                  teams?: {
                    $schema?: string | null,
                    abbreviation?: string | null,
                    alias?: string | null,
                    color?: string | null,
                    createdAt?: string | null,
                    externalPartners?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      externalId?: string | null,
                      id?: number | null,
                      partner?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        id?: number | null,
                        name?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null
                      } | null,
                      partnerId?: number | null,
                      source?: string | null,
                      teamId?: number | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    id?: number | null,
                    league?: string | null,
                    logo?: string | null,
                    name?: string | null,
                    ordering?: string | null,
                    providerId?: number | null,
                    record?: string | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  templateVariables?: string | null,
                  ticker?: string | null,
                  title?: string | null,
                  totalsMainLine?: number | null,
                  turnProviderId?: string | null,
                  tweetCount?: number | null,
                  updatedAt?: string | null,
                  updatedBy?: string | null,
                  usId?: string | null,
                  version?: string | null,
                  volume?: number | null,
                  volume1mo?: number | null,
                  volume1wk?: number | null,
                  volume1yr?: number | null,
                  volume24hr?: number | null
                }[] | null | null,
                featured?: boolean | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                isTemplate?: boolean | null,
                layout?: string | null,
                liquidity?: number | null,
                new?: boolean | null,
                publishedAt?: string | null,
                pythTokenID?: string | null,
                recurrence?: string | null,
                restricted?: boolean | null,
                score?: number | null,
                seriesType?: string | null,
                slug?: string | null,
                startDate?: string | null,
                subtitle?: string | null,
                templateVariables?: boolean | null,
                ticker?: string | null,
                title?: string | null,
                updatedAt?: string | null,
                updatedBy?: string | null,
                volume?: number | null,
                volume24hr?: number | null
              }[] | null | null,
              seriesSlug?: string | null,
              showAllOutcomes?: boolean | null,
              showMarketImages?: boolean | null,
              slug?: string | null,
              sortBy?: string | null,
              sport?: {
                $schema?: string | null,
                createdAt?: string | null,
                externalPartners?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  externalId?: string | null,
                  id?: number | null,
                  partner?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    id?: number | null,
                    name?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null
                  } | null,
                  partnerId?: number | null,
                  sportId?: number | null,
                  updatedAt?: string | null
                }[] | null | null,
                id?: number | null,
                image?: string | null,
                name?: string | null,
                ordering?: string | null,
                primaryTagId?: number | null,
                resolution?: string | null,
                series?: string | null,
                sport?: string | null,
                tags?: string | null,
                updatedAt?: string | null
              } | null,
              spreadsMainLine?: number | null,
              startDate?: string | null,
              startTime?: string | null,
              subEvents?: (string | null)[] | null | null,
              subcategory?: string | null,
              subtitle?: string | null,
              tag_labels?: string[] | null | null,
              tag_slugs?: string[] | null | null,
              tags?: {
                $schema?: string | null,
                activeEventsCount?: number | null,
                createdAt?: string | null,
                createdBy?: number | null,
                forceHide?: boolean | null,
                forceShow?: boolean | null,
                id?: string | null,
                isCarousel?: boolean | null,
                label?: string | null,
                publishedAt?: string | null,
                slug?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null
              }[] | null | null,
              teams?: {
                $schema?: string | null,
                abbreviation?: string | null,
                alias?: string | null,
                color?: string | null,
                createdAt?: string | null,
                externalPartners?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  externalId?: string | null,
                  id?: number | null,
                  partner?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    id?: number | null,
                    name?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null
                  } | null,
                  partnerId?: number | null,
                  source?: string | null,
                  teamId?: number | null,
                  updatedAt?: string | null
                }[] | null | null,
                id?: number | null,
                league?: string | null,
                logo?: string | null,
                name?: string | null,
                ordering?: string | null,
                providerId?: number | null,
                record?: string | null,
                updatedAt?: string | null
              }[] | null | null,
              templateVariables?: string | null,
              ticker?: string | null,
              title?: string | null,
              totalsMainLine?: number | null,
              turnProviderId?: string | null,
              tweetCount?: number | null,
              updatedAt?: string | null,
              updatedBy?: string | null,
              usId?: string | null,
              version?: string | null,
              volume?: number | null,
              volume1mo?: number | null,
              volume1wk?: number | null,
              volume1yr?: number | null,
              volume24hr?: number | null
            }[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: (recursive)[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          negRisk?: boolean | null,
          negRiskMarketID?: string | null,
          negRiskOther?: boolean | null,
          negRiskRequestID?: string | null,
          new?: boolean | null,
          notificationsEnabled?: boolean | null,
          onchainEventId?: string | null,
          oneDayPriceChange?: number | null,
          oneHourPriceChange?: number | null,
          oneMonthPriceChange?: number | null,
          oneWeekPriceChange?: number | null,
          oneYearPriceChange?: number | null,
          orderMinSize?: number | null,
          orderPriceMinTickSize?: number | null,
          outcomePrices?: string | null,
          outcomes?: string | null,
          pastSlugs?: string | null,
          pendingDeployment?: boolean | null,
          positionIds?: string[] | null | null,
          question?: string | null,
          questionID?: string | null,
          ready?: boolean | null,
          readyForCron?: boolean | null,
          readyTimestamp?: string | null,
          requestId?: string | null,
          resolutionMechanism?: string | null | null,
          resolutionSource?: string | null,
          resolutionStatus?: string | null,
          resolvedBy?: string | null,
          restricted?: boolean | null,
          rewardsMaxSpread?: number | null,
          rewardsMinSize?: number | null,
          rfqEnabled?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: number | null,
          secondsDelay?: number | null,
          sentDiscord?: boolean | null,
          seriesColor?: string | null,
          shortOutcomes?: string | null,
          showGmpOutcome?: boolean | null,
          showGmpSeries?: boolean | null,
          slug?: string | null,
          sponsorImage?: string | null,
          sponsorName?: string | null,
          sportsMarketType?: string | null,
          spread?: number | null,
          startDate?: string | null,
          startDateIso?: string | null,
          subcategory?: string | null,
          submitted_by?: string | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          takerBaseFee?: number | null,
          teamAID?: string | null,
          teamBID?: string | null,
          tradingEligible?: boolean | null | null,
          twitterCardImage?: string | null,
          twitterCardLastRefreshed?: string | null,
          twitterCardLastValidated?: string | null,
          twitterCardLocation?: string | null,
          umaBond?: string | null,
          umaEndDate?: string | null,
          umaEndDateIso?: string | null,
          umaResolutionStatus?: string | null,
          umaResolutionStatuses?: string | null,
          umaReward?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null,
          upperBound?: string | null,
          upperBoundDate?: string | null,
          version?: string | null,
          volume?: string | null,
          volume1mo?: number | null,
          volume1moAmm?: number | null,
          volume1moClob?: number | null,
          volume1wk?: number | null,
          volume1wkAmm?: number | null,
          volume1wkClob?: number | null,
          volume1yr?: number | null,
          volume1yrAmm?: number | null,
          volume1yrClob?: number | null,
          volume24hr?: number | null,
          volume24hrAmm?: number | null,
          volume24hrClob?: number | null,
          volumeAmm?: number | null,
          volumeClob?: number | null,
          volumeNum?: number | null,
          wideFormat?: boolean | null,
          xAxisValue?: string | null,
          yAxisValue?: string | null
        }[] | null | null,
        maxMarketCount?: number | null,
        moduleType?: string | null,
        negRisk?: boolean | null,
        negRiskAugmented?: boolean | null,
        negRiskFeeBips?: number | null,
        negRiskMarketID?: string | null,
        new?: boolean | null,
        openInterest?: number | null,
        parentEventId?: number | null,
        pendingDeployment?: boolean | null,
        period?: string | null,
        published_at?: string | null,
        rescheduledFromGameId?: number | null,
        resolutionMode?: string | null,
        resolutionSource?: string | null,
        restricted?: boolean | null,
        scheduledDeploymentTimestamp?: string | null,
        score?: string | null,
        series?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          cgAssetName?: string | null,
          closed?: boolean | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          description?: string | null,
          events?: {
            $schema?: string | null,
            active?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestLines?: {
              id?: string | null,
              line?: number | null,
              lineType?: string | null
            }[] | null | null,
            cantEstimate?: boolean | null,
            carouselMap?: string | null,
            category?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            color?: string | null,
            commentCount?: number | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            countryName?: string | null,
            createdAt?: string | null,
            createdBy?: string | null,
            creationDate?: string | null,
            cumulativeMarkets?: boolean | null,
            cyom?: boolean | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            elapsed?: string | null,
            electionType?: string | null,
            enableNegRisk?: boolean | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            ended?: boolean | null,
            estimateValue?: boolean | null,
            estimatedValue?: string | null,
            eventCreators?: {
              $schema?: string | null,
              createdAt?: string | null,
              creatorHandle?: string | null,
              creatorImage?: string | null,
              creatorName?: string | null,
              creatorUrl?: string | null,
              id?: string | null,
              updatedAt?: string | null
            }[] | null | null,
            eventDate?: string | null,
            eventMetadata?: Record<string, any> | null,
            eventWeek?: number | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              eventId?: number | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            featured?: boolean | null,
            featuredImage?: string | null,
            featuredOrder?: number | null,
            finishedTimestamp?: string | null,
            gameId?: number | null,
            gmpChartMode?: string | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            isTemplate?: boolean | null,
            lastHighlight?: string | null,
            lastHighlightAt?: string | null,
            lastHighlightType?: string | null,
            liquidity?: number | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            live?: boolean | null,
            markets?: {
              $schema?: string | null,
              acceptingOrders?: boolean | null,
              acceptingOrdersTimestamp?: string | null,
              acceptingOrdersUntil?: string | null,
              active?: boolean | null,
              ammType?: string | null,
              approved?: boolean | null,
              archived?: boolean | null,
              automaticallyActive?: boolean | null,
              automaticallyResolved?: boolean | null,
              bestAsk?: number | null,
              bestBid?: number | null,
              category?: string | null,
              categoryMailchimpTag?: string | null,
              chartColor?: string | null,
              clearBookOnStart?: boolean | null,
              clobRewards?: {
                assetAddress?: string | null,
                conditionId?: string | null,
                endDate?: string | null,
                id?: string | null,
                rewardsAmount?: number | null,
                rewardsDailyRate?: number | null,
                startDate?: string | null
              }[] | null | null,
              clobTokenIds?: string | null,
              closed?: boolean | null,
              closedTime?: string | null,
              comboStatus?: string | null,
              commentsEnabled?: boolean | null,
              competitive?: number | null,
              conditionId?: string | null,
              createdAt?: string | null,
              createdBy?: number | null,
              creator?: string | null,
              cryptoMarketConfig?: {
                $schema?: string | null,
                asset?: string | null,
                duration?: string | null,
                id?: string | null,
                twapEnabled?: boolean | null,
                twapLookbackSeconds?: number | null
              } | null,
              cryptoMarketConfigId?: string | null,
              curationOrder?: number | null,
              customLiveness?: number | null,
              cyom?: boolean | null,
              denominationToken?: string | null,
              deploying?: boolean | null,
              deployingTimestamp?: string | null,
              description?: string | null,
              disqusThread?: string | null,
              enableOrderBook?: boolean | null,
              endDate?: string | null,
              endDateIso?: string | null,
              eventStartTime?: string | null,
              events?: {
                $schema?: string | null,
                active?: boolean | null,
                archived?: boolean | null,
                automaticallyActive?: boolean | null,
                automaticallyResolved?: boolean | null,
                bestLines?: {
                  id?: string | null,
                  line?: number | null,
                  lineType?: string | null
                }[] | null | null,
                cantEstimate?: boolean | null,
                carouselMap?: string | null,
                category?: string | null,
                closed?: boolean | null,
                closedTime?: string | null,
                color?: string | null,
                commentCount?: number | null,
                commentsEnabled?: boolean | null,
                competitive?: number | null,
                countryName?: string | null,
                createdAt?: string | null,
                createdBy?: string | null,
                creationDate?: string | null,
                cumulativeMarkets?: boolean | null,
                cyom?: boolean | null,
                deploying?: boolean | null,
                deployingTimestamp?: string | null,
                description?: string | null,
                disqusThread?: string | null,
                elapsed?: string | null,
                electionType?: string | null,
                enableNegRisk?: boolean | null,
                enableOrderBook?: boolean | null,
                endDate?: string | null,
                ended?: boolean | null,
                estimateValue?: boolean | null,
                estimatedValue?: string | null,
                eventCreators?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  creatorHandle?: string | null,
                  creatorImage?: string | null,
                  creatorName?: string | null,
                  creatorUrl?: string | null,
                  id?: string | null,
                  updatedAt?: string | null
                }[] | null | null,
                eventDate?: string | null,
                eventMetadata?: Record<string, any> | null,
                eventWeek?: number | null,
                externalPartners?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  eventId?: number | null,
                  externalId?: string | null,
                  id?: number | null,
                  partner?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    id?: number | null,
                    name?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null
                  } | null,
                  partnerId?: number | null,
                  updatedAt?: string | null
                }[] | null | null,
                facets?: {
                  abbreviation?: string | null,
                  appliesTo?: string[] | null | null,
                  label?: string | null,
                  parents?: string[] | null | null,
                  slug?: string | null
                }[] | null | null,
                featured?: boolean | null,
                featuredImage?: string | null,
                featuredOrder?: number | null,
                finishedTimestamp?: string | null,
                gameId?: number | null,
                gmpChartMode?: string | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                isTemplate?: boolean | null,
                lastHighlight?: string | null,
                lastHighlightAt?: string | null,
                lastHighlightType?: string | null,
                liquidity?: number | null,
                liquidityAmm?: number | null,
                liquidityClob?: number | null,
                live?: boolean | null,
                markets?: {
                  $schema?: string | null,
                  acceptingOrders?: boolean | null,
                  acceptingOrdersTimestamp?: string | null,
                  acceptingOrdersUntil?: string | null,
                  active?: boolean | null,
                  ammType?: string | null,
                  approved?: boolean | null,
                  archived?: boolean | null,
                  automaticallyActive?: boolean | null,
                  automaticallyResolved?: boolean | null,
                  bestAsk?: number | null,
                  bestBid?: number | null,
                  category?: string | null,
                  categoryMailchimpTag?: string | null,
                  chartColor?: string | null,
                  clearBookOnStart?: boolean | null,
                  clobRewards?: {
                    assetAddress?: string | null,
                    conditionId?: string | null,
                    endDate?: string | null,
                    id?: string | null,
                    rewardsAmount?: number | null,
                    rewardsDailyRate?: number | null,
                    startDate?: string | null
                  }[] | null | null,
                  clobTokenIds?: string | null,
                  closed?: boolean | null,
                  closedTime?: string | null,
                  comboStatus?: string | null,
                  commentsEnabled?: boolean | null,
                  competitive?: number | null,
                  conditionId?: string | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  creator?: string | null,
                  cryptoMarketConfig?: {
                    $schema?: string | null,
                    asset?: string | null,
                    duration?: string | null,
                    id?: string | null,
                    twapEnabled?: boolean | null,
                    twapLookbackSeconds?: number | null
                  } | null,
                  cryptoMarketConfigId?: string | null,
                  curationOrder?: number | null,
                  customLiveness?: number | null,
                  cyom?: boolean | null,
                  denominationToken?: string | null,
                  deploying?: boolean | null,
                  deployingTimestamp?: string | null,
                  description?: string | null,
                  disqusThread?: string | null,
                  enableOrderBook?: boolean | null,
                  endDate?: string | null,
                  endDateIso?: string | null,
                  eventStartTime?: string | null,
                  events?: (recursive)[] | null | null,
                  facets?: {
                    abbreviation?: string | null,
                    appliesTo?: string[] | null | null,
                    label?: string | null,
                    parents?: string[] | null | null,
                    slug?: string | null
                  }[] | null | null,
                  fallbackResolutionType?: string | null,
                  featured?: boolean | null,
                  fee?: string | null,
                  feeExponent?: number | null,
                  feeRate?: number | null,
                  feeSchedule?: {
                    exponent?: number | null,
                    rate?: number | null,
                    rebateRate?: number | null,
                    takerOnly?: boolean | null
                  } | null,
                  feeType?: string | null | null,
                  feesEnabled?: boolean | null,
                  formatType?: string | null,
                  fpmmLive?: boolean | null,
                  funded?: boolean | null,
                  fundedTimestamp?: string | null,
                  gameId?: string | null,
                  gameStartTime?: string | null,
                  groupItemRange?: string | null,
                  groupItemThreshold?: string | null,
                  groupItemTitle?: string | null,
                  hasReviewedDates?: boolean | null,
                  holdingRewardsEnabled?: boolean | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  instrumentIndex?: number | null,
                  instrumentKind?: string | null,
                  lastTradePrice?: number | null,
                  line?: number | null,
                  liquidity?: string | null,
                  liquidityAmm?: number | null,
                  liquidityClob?: number | null,
                  liquidityNum?: number | null,
                  lowerBound?: string | null,
                  lowerBoundDate?: string | null,
                  mailchimpTag?: string | null,
                  makerBaseFee?: number | null,
                  makerRebatesFeeShareBps?: number | null,
                  manualActivation?: boolean | null,
                  marketGroup?: number | null,
                  marketMakerAddress?: string | null,
                  marketMetadata?: Record<string, any> | null,
                  marketType?: string | null,
                  markets?: {
                    $schema?: string | null,
                    acceptingOrders?: boolean | null,
                    acceptingOrdersTimestamp?: string | null,
                    acceptingOrdersUntil?: string | null,
                    active?: boolean | null,
                    ammType?: string | null,
                    approved?: boolean | null,
                    archived?: boolean | null,
                    automaticallyActive?: boolean | null,
                    automaticallyResolved?: boolean | null,
                    bestAsk?: number | null,
                    bestBid?: number | null,
                    category?: string | null,
                    categoryMailchimpTag?: string | null,
                    chartColor?: string | null,
                    clearBookOnStart?: boolean | null,
                    clobRewards?: {
                      assetAddress?: string | null,
                      conditionId?: string | null,
                      endDate?: string | null,
                      id?: string | null,
                      rewardsAmount?: number | null,
                      rewardsDailyRate?: number | null,
                      startDate?: string | null
                    }[] | null | null,
                    clobTokenIds?: string | null,
                    closed?: boolean | null,
                    closedTime?: string | null,
                    comboStatus?: string | null,
                    commentsEnabled?: boolean | null,
                    competitive?: number | null,
                    conditionId?: string | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    creator?: string | null,
                    cryptoMarketConfig?: {
                      $schema?: string | null,
                      asset?: string | null,
                      duration?: string | null,
                      id?: string | null,
                      twapEnabled?: boolean | null,
                      twapLookbackSeconds?: number | null
                    } | null,
                    cryptoMarketConfigId?: string | null,
                    curationOrder?: number | null,
                    customLiveness?: number | null,
                    cyom?: boolean | null,
                    denominationToken?: string | null,
                    deploying?: boolean | null,
                    deployingTimestamp?: string | null,
                    description?: string | null,
                    disqusThread?: string | null,
                    enableOrderBook?: boolean | null,
                    endDate?: string | null,
                    endDateIso?: string | null,
                    eventStartTime?: string | null,
                    events?: (recursive)[] | null | null,
                    facets?: {
                      abbreviation?: string | null,
                      appliesTo?: string[] | null | null,
                      label?: string | null,
                      parents?: string[] | null | null,
                      slug?: string | null
                    }[] | null | null,
                    fallbackResolutionType?: string | null,
                    featured?: boolean | null,
                    fee?: string | null,
                    feeExponent?: number | null,
                    feeRate?: number | null,
                    feeSchedule?: {
                      exponent?: number | null,
                      rate?: number | null,
                      rebateRate?: number | null,
                      takerOnly?: boolean | null
                    } | null,
                    feeType?: string | null | null,
                    feesEnabled?: boolean | null,
                    formatType?: string | null,
                    fpmmLive?: boolean | null,
                    funded?: boolean | null,
                    fundedTimestamp?: string | null,
                    gameId?: string | null,
                    gameStartTime?: string | null,
                    groupItemRange?: string | null,
                    groupItemThreshold?: string | null,
                    groupItemTitle?: string | null,
                    hasReviewedDates?: boolean | null,
                    holdingRewardsEnabled?: boolean | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    instrumentIndex?: number | null,
                    instrumentKind?: string | null,
                    lastTradePrice?: number | null,
                    line?: number | null,
                    liquidity?: string | null,
                    liquidityAmm?: number | null,
                    liquidityClob?: number | null,
                    liquidityNum?: number | null,
                    lowerBound?: string | null,
                    lowerBoundDate?: string | null,
                    mailchimpTag?: string | null,
                    makerBaseFee?: number | null,
                    makerRebatesFeeShareBps?: number | null,
                    manualActivation?: boolean | null,
                    marketGroup?: number | null,
                    marketMakerAddress?: string | null,
                    marketMetadata?: Record<string, any> | null,
                    marketType?: string | null,
                    markets?: (recursive)[] | null | null,
                    negRisk?: boolean | null,
                    negRiskMarketID?: string | null,
                    negRiskOther?: boolean | null,
                    negRiskRequestID?: string | null,
                    new?: boolean | null,
                    notificationsEnabled?: boolean | null,
                    onchainEventId?: string | null,
                    oneDayPriceChange?: number | null,
                    oneHourPriceChange?: number | null,
                    oneMonthPriceChange?: number | null,
                    oneWeekPriceChange?: number | null,
                    oneYearPriceChange?: number | null,
                    orderMinSize?: number | null,
                    orderPriceMinTickSize?: number | null,
                    outcomePrices?: string | null,
                    outcomes?: string | null,
                    pastSlugs?: string | null,
                    pendingDeployment?: boolean | null,
                    positionIds?: string[] | null | null,
                    question?: string | null,
                    questionID?: string | null,
                    ready?: boolean | null,
                    readyForCron?: boolean | null,
                    readyTimestamp?: string | null,
                    requestId?: string | null,
                    resolutionMechanism?: string | null | null,
                    resolutionSource?: string | null,
                    resolutionStatus?: string | null,
                    resolvedBy?: string | null,
                    restricted?: boolean | null,
                    rewardsMaxSpread?: number | null,
                    rewardsMinSize?: number | null,
                    rfqEnabled?: boolean | null,
                    scheduledDeploymentTimestamp?: string | null,
                    score?: number | null,
                    secondsDelay?: number | null,
                    sentDiscord?: boolean | null,
                    seriesColor?: string | null,
                    shortOutcomes?: string | null,
                    showGmpOutcome?: boolean | null,
                    showGmpSeries?: boolean | null,
                    slug?: string | null,
                    sponsorImage?: string | null,
                    sponsorName?: string | null,
                    sportsMarketType?: string | null,
                    spread?: number | null,
                    startDate?: string | null,
                    startDateIso?: string | null,
                    subcategory?: string | null,
                    submitted_by?: string | null,
                    tags?: {
                      $schema?: string | null,
                      activeEventsCount?: number | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      forceHide?: boolean | null,
                      forceShow?: boolean | null,
                      id?: string | null,
                      isCarousel?: boolean | null,
                      label?: string | null,
                      publishedAt?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null
                    }[] | null | null,
                    takerBaseFee?: number | null,
                    teamAID?: string | null,
                    teamBID?: string | null,
                    tradingEligible?: boolean | null | null,
                    twitterCardImage?: string | null,
                    twitterCardLastRefreshed?: string | null,
                    twitterCardLastValidated?: string | null,
                    twitterCardLocation?: string | null,
                    umaBond?: string | null,
                    umaEndDate?: string | null,
                    umaEndDateIso?: string | null,
                    umaResolutionStatus?: string | null,
                    umaResolutionStatuses?: string | null,
                    umaReward?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null,
                    upperBound?: string | null,
                    upperBoundDate?: string | null,
                    version?: string | null,
                    volume?: string | null,
                    volume1mo?: number | null,
                    volume1moAmm?: number | null,
                    volume1moClob?: number | null,
                    volume1wk?: number | null,
                    volume1wkAmm?: number | null,
                    volume1wkClob?: number | null,
                    volume1yr?: number | null,
                    volume1yrAmm?: number | null,
                    volume1yrClob?: number | null,
                    volume24hr?: number | null,
                    volume24hrAmm?: number | null,
                    volume24hrClob?: number | null,
                    volumeAmm?: number | null,
                    volumeClob?: number | null,
                    volumeNum?: number | null,
                    wideFormat?: boolean | null,
                    xAxisValue?: string | null,
                    yAxisValue?: string | null
                  }[] | null | null,
                  negRisk?: boolean | null,
                  negRiskMarketID?: string | null,
                  negRiskOther?: boolean | null,
                  negRiskRequestID?: string | null,
                  new?: boolean | null,
                  notificationsEnabled?: boolean | null,
                  onchainEventId?: string | null,
                  oneDayPriceChange?: number | null,
                  oneHourPriceChange?: number | null,
                  oneMonthPriceChange?: number | null,
                  oneWeekPriceChange?: number | null,
                  oneYearPriceChange?: number | null,
                  orderMinSize?: number | null,
                  orderPriceMinTickSize?: number | null,
                  outcomePrices?: string | null,
                  outcomes?: string | null,
                  pastSlugs?: string | null,
                  pendingDeployment?: boolean | null,
                  positionIds?: string[] | null | null,
                  question?: string | null,
                  questionID?: string | null,
                  ready?: boolean | null,
                  readyForCron?: boolean | null,
                  readyTimestamp?: string | null,
                  requestId?: string | null,
                  resolutionMechanism?: string | null | null,
                  resolutionSource?: string | null,
                  resolutionStatus?: string | null,
                  resolvedBy?: string | null,
                  restricted?: boolean | null,
                  rewardsMaxSpread?: number | null,
                  rewardsMinSize?: number | null,
                  rfqEnabled?: boolean | null,
                  scheduledDeploymentTimestamp?: string | null,
                  score?: number | null,
                  secondsDelay?: number | null,
                  sentDiscord?: boolean | null,
                  seriesColor?: string | null,
                  shortOutcomes?: string | null,
                  showGmpOutcome?: boolean | null,
                  showGmpSeries?: boolean | null,
                  slug?: string | null,
                  sponsorImage?: string | null,
                  sponsorName?: string | null,
                  sportsMarketType?: string | null,
                  spread?: number | null,
                  startDate?: string | null,
                  startDateIso?: string | null,
                  subcategory?: string | null,
                  submitted_by?: string | null,
                  tags?: {
                    $schema?: string | null,
                    activeEventsCount?: number | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    forceHide?: boolean | null,
                    forceShow?: boolean | null,
                    id?: string | null,
                    isCarousel?: boolean | null,
                    label?: string | null,
                    publishedAt?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null
                  }[] | null | null,
                  takerBaseFee?: number | null,
                  teamAID?: string | null,
                  teamBID?: string | null,
                  tradingEligible?: boolean | null | null,
                  twitterCardImage?: string | null,
                  twitterCardLastRefreshed?: string | null,
                  twitterCardLastValidated?: string | null,
                  twitterCardLocation?: string | null,
                  umaBond?: string | null,
                  umaEndDate?: string | null,
                  umaEndDateIso?: string | null,
                  umaResolutionStatus?: string | null,
                  umaResolutionStatuses?: string | null,
                  umaReward?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null,
                  upperBound?: string | null,
                  upperBoundDate?: string | null,
                  version?: string | null,
                  volume?: string | null,
                  volume1mo?: number | null,
                  volume1moAmm?: number | null,
                  volume1moClob?: number | null,
                  volume1wk?: number | null,
                  volume1wkAmm?: number | null,
                  volume1wkClob?: number | null,
                  volume1yr?: number | null,
                  volume1yrAmm?: number | null,
                  volume1yrClob?: number | null,
                  volume24hr?: number | null,
                  volume24hrAmm?: number | null,
                  volume24hrClob?: number | null,
                  volumeAmm?: number | null,
                  volumeClob?: number | null,
                  volumeNum?: number | null,
                  wideFormat?: boolean | null,
                  xAxisValue?: string | null,
                  yAxisValue?: string | null
                }[] | null | null,
                maxMarketCount?: number | null,
                moduleType?: string | null,
                negRisk?: boolean | null,
                negRiskAugmented?: boolean | null,
                negRiskFeeBips?: number | null,
                negRiskMarketID?: string | null,
                new?: boolean | null,
                openInterest?: number | null,
                parentEventId?: number | null,
                pendingDeployment?: boolean | null,
                period?: string | null,
                published_at?: string | null,
                rescheduledFromGameId?: number | null,
                resolutionMode?: string | null,
                resolutionSource?: string | null,
                restricted?: boolean | null,
                scheduledDeploymentTimestamp?: string | null,
                score?: string | null,
                series?: {
                  $schema?: string | null,
                  active?: boolean | null,
                  archived?: boolean | null,
                  cgAssetName?: string | null,
                  closed?: boolean | null,
                  commentCount?: number | null,
                  commentsEnabled?: boolean | null,
                  competitive?: string | null,
                  createdAt?: string | null,
                  createdBy?: string | null,
                  description?: string | null,
                  events?: (recursive)[] | null | null,
                  featured?: boolean | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  isTemplate?: boolean | null,
                  layout?: string | null,
                  liquidity?: number | null,
                  new?: boolean | null,
                  publishedAt?: string | null,
                  pythTokenID?: string | null,
                  recurrence?: string | null,
                  restricted?: boolean | null,
                  score?: number | null,
                  seriesType?: string | null,
                  slug?: string | null,
                  startDate?: string | null,
                  subtitle?: string | null,
                  templateVariables?: boolean | null,
                  ticker?: string | null,
                  title?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: string | null,
                  volume?: number | null,
                  volume24hr?: number | null
                }[] | null | null,
                seriesSlug?: string | null,
                showAllOutcomes?: boolean | null,
                showMarketImages?: boolean | null,
                slug?: string | null,
                sortBy?: string | null,
                sport?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  externalPartners?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    externalId?: string | null,
                    id?: number | null,
                    partner?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      id?: number | null,
                      name?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null
                    } | null,
                    partnerId?: number | null,
                    sportId?: number | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  id?: number | null,
                  image?: string | null,
                  name?: string | null,
                  ordering?: string | null,
                  primaryTagId?: number | null,
                  resolution?: string | null,
                  series?: string | null,
                  sport?: string | null,
                  tags?: string | null,
                  updatedAt?: string | null
                } | null,
                spreadsMainLine?: number | null,
                startDate?: string | null,
                startTime?: string | null,
                subEvents?: (string | null)[] | null | null,
                subcategory?: string | null,
                subtitle?: string | null,
                tag_labels?: string[] | null | null,
                tag_slugs?: string[] | null | null,
                tags?: {
                  $schema?: string | null,
                  activeEventsCount?: number | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  forceHide?: boolean | null,
                  forceShow?: boolean | null,
                  id?: string | null,
                  isCarousel?: boolean | null,
                  label?: string | null,
                  publishedAt?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null
                }[] | null | null,
                teams?: {
                  $schema?: string | null,
                  abbreviation?: string | null,
                  alias?: string | null,
                  color?: string | null,
                  createdAt?: string | null,
                  externalPartners?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    externalId?: string | null,
                    id?: number | null,
                    partner?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      id?: number | null,
                      name?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null
                    } | null,
                    partnerId?: number | null,
                    source?: string | null,
                    teamId?: number | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  id?: number | null,
                  league?: string | null,
                  logo?: string | null,
                  name?: string | null,
                  ordering?: string | null,
                  providerId?: number | null,
                  record?: string | null,
                  updatedAt?: string | null
                }[] | null | null,
                templateVariables?: string | null,
                ticker?: string | null,
                title?: string | null,
                totalsMainLine?: number | null,
                turnProviderId?: string | null,
                tweetCount?: number | null,
                updatedAt?: string | null,
                updatedBy?: string | null,
                usId?: string | null,
                version?: string | null,
                volume?: number | null,
                volume1mo?: number | null,
                volume1wk?: number | null,
                volume1yr?: number | null,
                volume24hr?: number | null
              }[] | null | null,
              facets?: {
                abbreviation?: string | null,
                appliesTo?: string[] | null | null,
                label?: string | null,
                parents?: string[] | null | null,
                slug?: string | null
              }[] | null | null,
              fallbackResolutionType?: string | null,
              featured?: boolean | null,
              fee?: string | null,
              feeExponent?: number | null,
              feeRate?: number | null,
              feeSchedule?: {
                exponent?: number | null,
                rate?: number | null,
                rebateRate?: number | null,
                takerOnly?: boolean | null
              } | null,
              feeType?: string | null | null,
              feesEnabled?: boolean | null,
              formatType?: string | null,
              fpmmLive?: boolean | null,
              funded?: boolean | null,
              fundedTimestamp?: string | null,
              gameId?: string | null,
              gameStartTime?: string | null,
              groupItemRange?: string | null,
              groupItemThreshold?: string | null,
              groupItemTitle?: string | null,
              hasReviewedDates?: boolean | null,
              holdingRewardsEnabled?: boolean | null,
              icon?: string | null,
              id?: string | null,
              image?: string | null,
              instrumentIndex?: number | null,
              instrumentKind?: string | null,
              lastTradePrice?: number | null,
              line?: number | null,
              liquidity?: string | null,
              liquidityAmm?: number | null,
              liquidityClob?: number | null,
              liquidityNum?: number | null,
              lowerBound?: string | null,
              lowerBoundDate?: string | null,
              mailchimpTag?: string | null,
              makerBaseFee?: number | null,
              makerRebatesFeeShareBps?: number | null,
              manualActivation?: boolean | null,
              marketGroup?: number | null,
              marketMakerAddress?: string | null,
              marketMetadata?: Record<string, any> | null,
              marketType?: string | null,
              markets?: {
                $schema?: string | null,
                acceptingOrders?: boolean | null,
                acceptingOrdersTimestamp?: string | null,
                acceptingOrdersUntil?: string | null,
                active?: boolean | null,
                ammType?: string | null,
                approved?: boolean | null,
                archived?: boolean | null,
                automaticallyActive?: boolean | null,
                automaticallyResolved?: boolean | null,
                bestAsk?: number | null,
                bestBid?: number | null,
                category?: string | null,
                categoryMailchimpTag?: string | null,
                chartColor?: string | null,
                clearBookOnStart?: boolean | null,
                clobRewards?: {
                  assetAddress?: string | null,
                  conditionId?: string | null,
                  endDate?: string | null,
                  id?: string | null,
                  rewardsAmount?: number | null,
                  rewardsDailyRate?: number | null,
                  startDate?: string | null
                }[] | null | null,
                clobTokenIds?: string | null,
                closed?: boolean | null,
                closedTime?: string | null,
                comboStatus?: string | null,
                commentsEnabled?: boolean | null,
                competitive?: number | null,
                conditionId?: string | null,
                createdAt?: string | null,
                createdBy?: number | null,
                creator?: string | null,
                cryptoMarketConfig?: {
                  $schema?: string | null,
                  asset?: string | null,
                  duration?: string | null,
                  id?: string | null,
                  twapEnabled?: boolean | null,
                  twapLookbackSeconds?: number | null
                } | null,
                cryptoMarketConfigId?: string | null,
                curationOrder?: number | null,
                customLiveness?: number | null,
                cyom?: boolean | null,
                denominationToken?: string | null,
                deploying?: boolean | null,
                deployingTimestamp?: string | null,
                description?: string | null,
                disqusThread?: string | null,
                enableOrderBook?: boolean | null,
                endDate?: string | null,
                endDateIso?: string | null,
                eventStartTime?: string | null,
                events?: {
                  $schema?: string | null,
                  active?: boolean | null,
                  archived?: boolean | null,
                  automaticallyActive?: boolean | null,
                  automaticallyResolved?: boolean | null,
                  bestLines?: {
                    id?: string | null,
                    line?: number | null,
                    lineType?: string | null
                  }[] | null | null,
                  cantEstimate?: boolean | null,
                  carouselMap?: string | null,
                  category?: string | null,
                  closed?: boolean | null,
                  closedTime?: string | null,
                  color?: string | null,
                  commentCount?: number | null,
                  commentsEnabled?: boolean | null,
                  competitive?: number | null,
                  countryName?: string | null,
                  createdAt?: string | null,
                  createdBy?: string | null,
                  creationDate?: string | null,
                  cumulativeMarkets?: boolean | null,
                  cyom?: boolean | null,
                  deploying?: boolean | null,
                  deployingTimestamp?: string | null,
                  description?: string | null,
                  disqusThread?: string | null,
                  elapsed?: string | null,
                  electionType?: string | null,
                  enableNegRisk?: boolean | null,
                  enableOrderBook?: boolean | null,
                  endDate?: string | null,
                  ended?: boolean | null,
                  estimateValue?: boolean | null,
                  estimatedValue?: string | null,
                  eventCreators?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    creatorHandle?: string | null,
                    creatorImage?: string | null,
                    creatorName?: string | null,
                    creatorUrl?: string | null,
                    id?: string | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  eventDate?: string | null,
                  eventMetadata?: Record<string, any> | null,
                  eventWeek?: number | null,
                  externalPartners?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    eventId?: number | null,
                    externalId?: string | null,
                    id?: number | null,
                    partner?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      id?: number | null,
                      name?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null
                    } | null,
                    partnerId?: number | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  facets?: {
                    abbreviation?: string | null,
                    appliesTo?: string[] | null | null,
                    label?: string | null,
                    parents?: string[] | null | null,
                    slug?: string | null
                  }[] | null | null,
                  featured?: boolean | null,
                  featuredImage?: string | null,
                  featuredOrder?: number | null,
                  finishedTimestamp?: string | null,
                  gameId?: number | null,
                  gmpChartMode?: string | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  isTemplate?: boolean | null,
                  lastHighlight?: string | null,
                  lastHighlightAt?: string | null,
                  lastHighlightType?: string | null,
                  liquidity?: number | null,
                  liquidityAmm?: number | null,
                  liquidityClob?: number | null,
                  live?: boolean | null,
                  markets?: {
                    $schema?: string | null,
                    acceptingOrders?: boolean | null,
                    acceptingOrdersTimestamp?: string | null,
                    acceptingOrdersUntil?: string | null,
                    active?: boolean | null,
                    ammType?: string | null,
                    approved?: boolean | null,
                    archived?: boolean | null,
                    automaticallyActive?: boolean | null,
                    automaticallyResolved?: boolean | null,
                    bestAsk?: number | null,
                    bestBid?: number | null,
                    category?: string | null,
                    categoryMailchimpTag?: string | null,
                    chartColor?: string | null,
                    clearBookOnStart?: boolean | null,
                    clobRewards?: {
                      assetAddress?: string | null,
                      conditionId?: string | null,
                      endDate?: string | null,
                      id?: string | null,
                      rewardsAmount?: number | null,
                      rewardsDailyRate?: number | null,
                      startDate?: string | null
                    }[] | null | null,
                    clobTokenIds?: string | null,
                    closed?: boolean | null,
                    closedTime?: string | null,
                    comboStatus?: string | null,
                    commentsEnabled?: boolean | null,
                    competitive?: number | null,
                    conditionId?: string | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    creator?: string | null,
                    cryptoMarketConfig?: {
                      $schema?: string | null,
                      asset?: string | null,
                      duration?: string | null,
                      id?: string | null,
                      twapEnabled?: boolean | null,
                      twapLookbackSeconds?: number | null
                    } | null,
                    cryptoMarketConfigId?: string | null,
                    curationOrder?: number | null,
                    customLiveness?: number | null,
                    cyom?: boolean | null,
                    denominationToken?: string | null,
                    deploying?: boolean | null,
                    deployingTimestamp?: string | null,
                    description?: string | null,
                    disqusThread?: string | null,
                    enableOrderBook?: boolean | null,
                    endDate?: string | null,
                    endDateIso?: string | null,
                    eventStartTime?: string | null,
                    events?: (recursive)[] | null | null,
                    facets?: {
                      abbreviation?: string | null,
                      appliesTo?: string[] | null | null,
                      label?: string | null,
                      parents?: string[] | null | null,
                      slug?: string | null
                    }[] | null | null,
                    fallbackResolutionType?: string | null,
                    featured?: boolean | null,
                    fee?: string | null,
                    feeExponent?: number | null,
                    feeRate?: number | null,
                    feeSchedule?: {
                      exponent?: number | null,
                      rate?: number | null,
                      rebateRate?: number | null,
                      takerOnly?: boolean | null
                    } | null,
                    feeType?: string | null | null,
                    feesEnabled?: boolean | null,
                    formatType?: string | null,
                    fpmmLive?: boolean | null,
                    funded?: boolean | null,
                    fundedTimestamp?: string | null,
                    gameId?: string | null,
                    gameStartTime?: string | null,
                    groupItemRange?: string | null,
                    groupItemThreshold?: string | null,
                    groupItemTitle?: string | null,
                    hasReviewedDates?: boolean | null,
                    holdingRewardsEnabled?: boolean | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    instrumentIndex?: number | null,
                    instrumentKind?: string | null,
                    lastTradePrice?: number | null,
                    line?: number | null,
                    liquidity?: string | null,
                    liquidityAmm?: number | null,
                    liquidityClob?: number | null,
                    liquidityNum?: number | null,
                    lowerBound?: string | null,
                    lowerBoundDate?: string | null,
                    mailchimpTag?: string | null,
                    makerBaseFee?: number | null,
                    makerRebatesFeeShareBps?: number | null,
                    manualActivation?: boolean | null,
                    marketGroup?: number | null,
                    marketMakerAddress?: string | null,
                    marketMetadata?: Record<string, any> | null,
                    marketType?: string | null,
                    markets?: (recursive)[] | null | null,
                    negRisk?: boolean | null,
                    negRiskMarketID?: string | null,
                    negRiskOther?: boolean | null,
                    negRiskRequestID?: string | null,
                    new?: boolean | null,
                    notificationsEnabled?: boolean | null,
                    onchainEventId?: string | null,
                    oneDayPriceChange?: number | null,
                    oneHourPriceChange?: number | null,
                    oneMonthPriceChange?: number | null,
                    oneWeekPriceChange?: number | null,
                    oneYearPriceChange?: number | null,
                    orderMinSize?: number | null,
                    orderPriceMinTickSize?: number | null,
                    outcomePrices?: string | null,
                    outcomes?: string | null,
                    pastSlugs?: string | null,
                    pendingDeployment?: boolean | null,
                    positionIds?: string[] | null | null,
                    question?: string | null,
                    questionID?: string | null,
                    ready?: boolean | null,
                    readyForCron?: boolean | null,
                    readyTimestamp?: string | null,
                    requestId?: string | null,
                    resolutionMechanism?: string | null | null,
                    resolutionSource?: string | null,
                    resolutionStatus?: string | null,
                    resolvedBy?: string | null,
                    restricted?: boolean | null,
                    rewardsMaxSpread?: number | null,
                    rewardsMinSize?: number | null,
                    rfqEnabled?: boolean | null,
                    scheduledDeploymentTimestamp?: string | null,
                    score?: number | null,
                    secondsDelay?: number | null,
                    sentDiscord?: boolean | null,
                    seriesColor?: string | null,
                    shortOutcomes?: string | null,
                    showGmpOutcome?: boolean | null,
                    showGmpSeries?: boolean | null,
                    slug?: string | null,
                    sponsorImage?: string | null,
                    sponsorName?: string | null,
                    sportsMarketType?: string | null,
                    spread?: number | null,
                    startDate?: string | null,
                    startDateIso?: string | null,
                    subcategory?: string | null,
                    submitted_by?: string | null,
                    tags?: {
                      $schema?: string | null,
                      activeEventsCount?: number | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      forceHide?: boolean | null,
                      forceShow?: boolean | null,
                      id?: string | null,
                      isCarousel?: boolean | null,
                      label?: string | null,
                      publishedAt?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null
                    }[] | null | null,
                    takerBaseFee?: number | null,
                    teamAID?: string | null,
                    teamBID?: string | null,
                    tradingEligible?: boolean | null | null,
                    twitterCardImage?: string | null,
                    twitterCardLastRefreshed?: string | null,
                    twitterCardLastValidated?: string | null,
                    twitterCardLocation?: string | null,
                    umaBond?: string | null,
                    umaEndDate?: string | null,
                    umaEndDateIso?: string | null,
                    umaResolutionStatus?: string | null,
                    umaResolutionStatuses?: string | null,
                    umaReward?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null,
                    upperBound?: string | null,
                    upperBoundDate?: string | null,
                    version?: string | null,
                    volume?: string | null,
                    volume1mo?: number | null,
                    volume1moAmm?: number | null,
                    volume1moClob?: number | null,
                    volume1wk?: number | null,
                    volume1wkAmm?: number | null,
                    volume1wkClob?: number | null,
                    volume1yr?: number | null,
                    volume1yrAmm?: number | null,
                    volume1yrClob?: number | null,
                    volume24hr?: number | null,
                    volume24hrAmm?: number | null,
                    volume24hrClob?: number | null,
                    volumeAmm?: number | null,
                    volumeClob?: number | null,
                    volumeNum?: number | null,
                    wideFormat?: boolean | null,
                    xAxisValue?: string | null,
                    yAxisValue?: string | null
                  }[] | null | null,
                  maxMarketCount?: number | null,
                  moduleType?: string | null,
                  negRisk?: boolean | null,
                  negRiskAugmented?: boolean | null,
                  negRiskFeeBips?: number | null,
                  negRiskMarketID?: string | null,
                  new?: boolean | null,
                  openInterest?: number | null,
                  parentEventId?: number | null,
                  pendingDeployment?: boolean | null,
                  period?: string | null,
                  published_at?: string | null,
                  rescheduledFromGameId?: number | null,
                  resolutionMode?: string | null,
                  resolutionSource?: string | null,
                  restricted?: boolean | null,
                  scheduledDeploymentTimestamp?: string | null,
                  score?: string | null,
                  series?: {
                    $schema?: string | null,
                    active?: boolean | null,
                    archived?: boolean | null,
                    cgAssetName?: string | null,
                    closed?: boolean | null,
                    commentCount?: number | null,
                    commentsEnabled?: boolean | null,
                    competitive?: string | null,
                    createdAt?: string | null,
                    createdBy?: string | null,
                    description?: string | null,
                    events?: (recursive)[] | null | null,
                    featured?: boolean | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    isTemplate?: boolean | null,
                    layout?: string | null,
                    liquidity?: number | null,
                    new?: boolean | null,
                    publishedAt?: string | null,
                    pythTokenID?: string | null,
                    recurrence?: string | null,
                    restricted?: boolean | null,
                    score?: number | null,
                    seriesType?: string | null,
                    slug?: string | null,
                    startDate?: string | null,
                    subtitle?: string | null,
                    templateVariables?: boolean | null,
                    ticker?: string | null,
                    title?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: string | null,
                    volume?: number | null,
                    volume24hr?: number | null
                  }[] | null | null,
                  seriesSlug?: string | null,
                  showAllOutcomes?: boolean | null,
                  showMarketImages?: boolean | null,
                  slug?: string | null,
                  sortBy?: string | null,
                  sport?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    externalPartners?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      externalId?: string | null,
                      id?: number | null,
                      partner?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        id?: number | null,
                        name?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null
                      } | null,
                      partnerId?: number | null,
                      sportId?: number | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    id?: number | null,
                    image?: string | null,
                    name?: string | null,
                    ordering?: string | null,
                    primaryTagId?: number | null,
                    resolution?: string | null,
                    series?: string | null,
                    sport?: string | null,
                    tags?: string | null,
                    updatedAt?: string | null
                  } | null,
                  spreadsMainLine?: number | null,
                  startDate?: string | null,
                  startTime?: string | null,
                  subEvents?: (string | null)[] | null | null,
                  subcategory?: string | null,
                  subtitle?: string | null,
                  tag_labels?: string[] | null | null,
                  tag_slugs?: string[] | null | null,
                  tags?: {
                    $schema?: string | null,
                    activeEventsCount?: number | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    forceHide?: boolean | null,
                    forceShow?: boolean | null,
                    id?: string | null,
                    isCarousel?: boolean | null,
                    label?: string | null,
                    publishedAt?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null
                  }[] | null | null,
                  teams?: {
                    $schema?: string | null,
                    abbreviation?: string | null,
                    alias?: string | null,
                    color?: string | null,
                    createdAt?: string | null,
                    externalPartners?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      externalId?: string | null,
                      id?: number | null,
                      partner?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        id?: number | null,
                        name?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null
                      } | null,
                      partnerId?: number | null,
                      source?: string | null,
                      teamId?: number | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    id?: number | null,
                    league?: string | null,
                    logo?: string | null,
                    name?: string | null,
                    ordering?: string | null,
                    providerId?: number | null,
                    record?: string | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  templateVariables?: string | null,
                  ticker?: string | null,
                  title?: string | null,
                  totalsMainLine?: number | null,
                  turnProviderId?: string | null,
                  tweetCount?: number | null,
                  updatedAt?: string | null,
                  updatedBy?: string | null,
                  usId?: string | null,
                  version?: string | null,
                  volume?: number | null,
                  volume1mo?: number | null,
                  volume1wk?: number | null,
                  volume1yr?: number | null,
                  volume24hr?: number | null
                }[] | null | null,
                facets?: {
                  abbreviation?: string | null,
                  appliesTo?: string[] | null | null,
                  label?: string | null,
                  parents?: string[] | null | null,
                  slug?: string | null
                }[] | null | null,
                fallbackResolutionType?: string | null,
                featured?: boolean | null,
                fee?: string | null,
                feeExponent?: number | null,
                feeRate?: number | null,
                feeSchedule?: {
                  exponent?: number | null,
                  rate?: number | null,
                  rebateRate?: number | null,
                  takerOnly?: boolean | null
                } | null,
                feeType?: string | null | null,
                feesEnabled?: boolean | null,
                formatType?: string | null,
                fpmmLive?: boolean | null,
                funded?: boolean | null,
                fundedTimestamp?: string | null,
                gameId?: string | null,
                gameStartTime?: string | null,
                groupItemRange?: string | null,
                groupItemThreshold?: string | null,
                groupItemTitle?: string | null,
                hasReviewedDates?: boolean | null,
                holdingRewardsEnabled?: boolean | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                instrumentIndex?: number | null,
                instrumentKind?: string | null,
                lastTradePrice?: number | null,
                line?: number | null,
                liquidity?: string | null,
                liquidityAmm?: number | null,
                liquidityClob?: number | null,
                liquidityNum?: number | null,
                lowerBound?: string | null,
                lowerBoundDate?: string | null,
                mailchimpTag?: string | null,
                makerBaseFee?: number | null,
                makerRebatesFeeShareBps?: number | null,
                manualActivation?: boolean | null,
                marketGroup?: number | null,
                marketMakerAddress?: string | null,
                marketMetadata?: Record<string, any> | null,
                marketType?: string | null,
                markets?: (recursive)[] | null | null,
                negRisk?: boolean | null,
                negRiskMarketID?: string | null,
                negRiskOther?: boolean | null,
                negRiskRequestID?: string | null,
                new?: boolean | null,
                notificationsEnabled?: boolean | null,
                onchainEventId?: string | null,
                oneDayPriceChange?: number | null,
                oneHourPriceChange?: number | null,
                oneMonthPriceChange?: number | null,
                oneWeekPriceChange?: number | null,
                oneYearPriceChange?: number | null,
                orderMinSize?: number | null,
                orderPriceMinTickSize?: number | null,
                outcomePrices?: string | null,
                outcomes?: string | null,
                pastSlugs?: string | null,
                pendingDeployment?: boolean | null,
                positionIds?: string[] | null | null,
                question?: string | null,
                questionID?: string | null,
                ready?: boolean | null,
                readyForCron?: boolean | null,
                readyTimestamp?: string | null,
                requestId?: string | null,
                resolutionMechanism?: string | null | null,
                resolutionSource?: string | null,
                resolutionStatus?: string | null,
                resolvedBy?: string | null,
                restricted?: boolean | null,
                rewardsMaxSpread?: number | null,
                rewardsMinSize?: number | null,
                rfqEnabled?: boolean | null,
                scheduledDeploymentTimestamp?: string | null,
                score?: number | null,
                secondsDelay?: number | null,
                sentDiscord?: boolean | null,
                seriesColor?: string | null,
                shortOutcomes?: string | null,
                showGmpOutcome?: boolean | null,
                showGmpSeries?: boolean | null,
                slug?: string | null,
                sponsorImage?: string | null,
                sponsorName?: string | null,
                sportsMarketType?: string | null,
                spread?: number | null,
                startDate?: string | null,
                startDateIso?: string | null,
                subcategory?: string | null,
                submitted_by?: string | null,
                tags?: {
                  $schema?: string | null,
                  activeEventsCount?: number | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  forceHide?: boolean | null,
                  forceShow?: boolean | null,
                  id?: string | null,
                  isCarousel?: boolean | null,
                  label?: string | null,
                  publishedAt?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null
                }[] | null | null,
                takerBaseFee?: number | null,
                teamAID?: string | null,
                teamBID?: string | null,
                tradingEligible?: boolean | null | null,
                twitterCardImage?: string | null,
                twitterCardLastRefreshed?: string | null,
                twitterCardLastValidated?: string | null,
                twitterCardLocation?: string | null,
                umaBond?: string | null,
                umaEndDate?: string | null,
                umaEndDateIso?: string | null,
                umaResolutionStatus?: string | null,
                umaResolutionStatuses?: string | null,
                umaReward?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null,
                upperBound?: string | null,
                upperBoundDate?: string | null,
                version?: string | null,
                volume?: string | null,
                volume1mo?: number | null,
                volume1moAmm?: number | null,
                volume1moClob?: number | null,
                volume1wk?: number | null,
                volume1wkAmm?: number | null,
                volume1wkClob?: number | null,
                volume1yr?: number | null,
                volume1yrAmm?: number | null,
                volume1yrClob?: number | null,
                volume24hr?: number | null,
                volume24hrAmm?: number | null,
                volume24hrClob?: number | null,
                volumeAmm?: number | null,
                volumeClob?: number | null,
                volumeNum?: number | null,
                wideFormat?: boolean | null,
                xAxisValue?: string | null,
                yAxisValue?: string | null
              }[] | null | null,
              negRisk?: boolean | null,
              negRiskMarketID?: string | null,
              negRiskOther?: boolean | null,
              negRiskRequestID?: string | null,
              new?: boolean | null,
              notificationsEnabled?: boolean | null,
              onchainEventId?: string | null,
              oneDayPriceChange?: number | null,
              oneHourPriceChange?: number | null,
              oneMonthPriceChange?: number | null,
              oneWeekPriceChange?: number | null,
              oneYearPriceChange?: number | null,
              orderMinSize?: number | null,
              orderPriceMinTickSize?: number | null,
              outcomePrices?: string | null,
              outcomes?: string | null,
              pastSlugs?: string | null,
              pendingDeployment?: boolean | null,
              positionIds?: string[] | null | null,
              question?: string | null,
              questionID?: string | null,
              ready?: boolean | null,
              readyForCron?: boolean | null,
              readyTimestamp?: string | null,
              requestId?: string | null,
              resolutionMechanism?: string | null | null,
              resolutionSource?: string | null,
              resolutionStatus?: string | null,
              resolvedBy?: string | null,
              restricted?: boolean | null,
              rewardsMaxSpread?: number | null,
              rewardsMinSize?: number | null,
              rfqEnabled?: boolean | null,
              scheduledDeploymentTimestamp?: string | null,
              score?: number | null,
              secondsDelay?: number | null,
              sentDiscord?: boolean | null,
              seriesColor?: string | null,
              shortOutcomes?: string | null,
              showGmpOutcome?: boolean | null,
              showGmpSeries?: boolean | null,
              slug?: string | null,
              sponsorImage?: string | null,
              sponsorName?: string | null,
              sportsMarketType?: string | null,
              spread?: number | null,
              startDate?: string | null,
              startDateIso?: string | null,
              subcategory?: string | null,
              submitted_by?: string | null,
              tags?: {
                $schema?: string | null,
                activeEventsCount?: number | null,
                createdAt?: string | null,
                createdBy?: number | null,
                forceHide?: boolean | null,
                forceShow?: boolean | null,
                id?: string | null,
                isCarousel?: boolean | null,
                label?: string | null,
                publishedAt?: string | null,
                slug?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null
              }[] | null | null,
              takerBaseFee?: number | null,
              teamAID?: string | null,
              teamBID?: string | null,
              tradingEligible?: boolean | null | null,
              twitterCardImage?: string | null,
              twitterCardLastRefreshed?: string | null,
              twitterCardLastValidated?: string | null,
              twitterCardLocation?: string | null,
              umaBond?: string | null,
              umaEndDate?: string | null,
              umaEndDateIso?: string | null,
              umaResolutionStatus?: string | null,
              umaResolutionStatuses?: string | null,
              umaReward?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null,
              upperBound?: string | null,
              upperBoundDate?: string | null,
              version?: string | null,
              volume?: string | null,
              volume1mo?: number | null,
              volume1moAmm?: number | null,
              volume1moClob?: number | null,
              volume1wk?: number | null,
              volume1wkAmm?: number | null,
              volume1wkClob?: number | null,
              volume1yr?: number | null,
              volume1yrAmm?: number | null,
              volume1yrClob?: number | null,
              volume24hr?: number | null,
              volume24hrAmm?: number | null,
              volume24hrClob?: number | null,
              volumeAmm?: number | null,
              volumeClob?: number | null,
              volumeNum?: number | null,
              wideFormat?: boolean | null,
              xAxisValue?: string | null,
              yAxisValue?: string | null
            }[] | null | null,
            maxMarketCount?: number | null,
            moduleType?: string | null,
            negRisk?: boolean | null,
            negRiskAugmented?: boolean | null,
            negRiskFeeBips?: number | null,
            negRiskMarketID?: string | null,
            new?: boolean | null,
            openInterest?: number | null,
            parentEventId?: number | null,
            pendingDeployment?: boolean | null,
            period?: string | null,
            published_at?: string | null,
            rescheduledFromGameId?: number | null,
            resolutionMode?: string | null,
            resolutionSource?: string | null,
            restricted?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: string | null,
            series?: {
              $schema?: string | null,
              active?: boolean | null,
              archived?: boolean | null,
              cgAssetName?: string | null,
              closed?: boolean | null,
              commentCount?: number | null,
              commentsEnabled?: boolean | null,
              competitive?: string | null,
              createdAt?: string | null,
              createdBy?: string | null,
              description?: string | null,
              events?: (recursive)[] | null | null,
              featured?: boolean | null,
              icon?: string | null,
              id?: string | null,
              image?: string | null,
              isTemplate?: boolean | null,
              layout?: string | null,
              liquidity?: number | null,
              new?: boolean | null,
              publishedAt?: string | null,
              pythTokenID?: string | null,
              recurrence?: string | null,
              restricted?: boolean | null,
              score?: number | null,
              seriesType?: string | null,
              slug?: string | null,
              startDate?: string | null,
              subtitle?: string | null,
              templateVariables?: boolean | null,
              ticker?: string | null,
              title?: string | null,
              updatedAt?: string | null,
              updatedBy?: string | null,
              volume?: number | null,
              volume24hr?: number | null
            }[] | null | null,
            seriesSlug?: string | null,
            showAllOutcomes?: boolean | null,
            showMarketImages?: boolean | null,
            slug?: string | null,
            sortBy?: string | null,
            sport?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalPartners?: {
                $schema?: string | null,
                createdAt?: string | null,
                externalId?: string | null,
                id?: number | null,
                partner?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  id?: number | null,
                  name?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null
                } | null,
                partnerId?: number | null,
                sportId?: number | null,
                updatedAt?: string | null
              }[] | null | null,
              id?: number | null,
              image?: string | null,
              name?: string | null,
              ordering?: string | null,
              primaryTagId?: number | null,
              resolution?: string | null,
              series?: string | null,
              sport?: string | null,
              tags?: string | null,
              updatedAt?: string | null
            } | null,
            spreadsMainLine?: number | null,
            startDate?: string | null,
            startTime?: string | null,
            subEvents?: (string | null)[] | null | null,
            subcategory?: string | null,
            subtitle?: string | null,
            tag_labels?: string[] | null | null,
            tag_slugs?: string[] | null | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            teams?: {
              $schema?: string | null,
              abbreviation?: string | null,
              alias?: string | null,
              color?: string | null,
              createdAt?: string | null,
              externalPartners?: {
                $schema?: string | null,
                createdAt?: string | null,
                externalId?: string | null,
                id?: number | null,
                partner?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  id?: number | null,
                  name?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null
                } | null,
                partnerId?: number | null,
                source?: string | null,
                teamId?: number | null,
                updatedAt?: string | null
              }[] | null | null,
              id?: number | null,
              league?: string | null,
              logo?: string | null,
              name?: string | null,
              ordering?: string | null,
              providerId?: number | null,
              record?: string | null,
              updatedAt?: string | null
            }[] | null | null,
            templateVariables?: string | null,
            ticker?: string | null,
            title?: string | null,
            totalsMainLine?: number | null,
            turnProviderId?: string | null,
            tweetCount?: number | null,
            updatedAt?: string | null,
            updatedBy?: string | null,
            usId?: string | null,
            version?: string | null,
            volume?: number | null,
            volume1mo?: number | null,
            volume1wk?: number | null,
            volume1yr?: number | null,
            volume24hr?: number | null
          }[] | null | null,
          featured?: boolean | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          layout?: string | null,
          liquidity?: number | null,
          new?: boolean | null,
          publishedAt?: string | null,
          pythTokenID?: string | null,
          recurrence?: string | null,
          restricted?: boolean | null,
          score?: number | null,
          seriesType?: string | null,
          slug?: string | null,
          startDate?: string | null,
          subtitle?: string | null,
          templateVariables?: boolean | null,
          ticker?: string | null,
          title?: string | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          volume?: number | null,
          volume24hr?: number | null
        }[] | null | null,
        seriesSlug?: string | null,
        showAllOutcomes?: boolean | null,
        showMarketImages?: boolean | null,
        slug?: string | null,
        sortBy?: string | null,
        sport?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            sportId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          image?: string | null,
          name?: string | null,
          ordering?: string | null,
          primaryTagId?: number | null,
          resolution?: string | null,
          series?: string | null,
          sport?: string | null,
          tags?: string | null,
          updatedAt?: string | null
        } | null,
        spreadsMainLine?: number | null,
        startDate?: string | null,
        startTime?: string | null,
        subEvents?: (string | null)[] | null | null,
        subcategory?: string | null,
        subtitle?: string | null,
        tag_labels?: string[] | null | null,
        tag_slugs?: string[] | null | null,
        tags?: {
          $schema?: string | null,
          activeEventsCount?: number | null,
          createdAt?: string | null,
          createdBy?: number | null,
          forceHide?: boolean | null,
          forceShow?: boolean | null,
          id?: string | null,
          isCarousel?: boolean | null,
          label?: string | null,
          publishedAt?: string | null,
          slug?: string | null,
          updatedAt?: string | null,
          updatedBy?: number | null
        }[] | null | null,
        teams?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        }[] | null | null,
        templateVariables?: string | null,
        ticker?: string | null,
        title?: string | null,
        totalsMainLine?: number | null,
        turnProviderId?: string | null,
        tweetCount?: number | null,
        updatedAt?: string | null,
        updatedBy?: string | null,
        usId?: string | null,
        version?: string | null,
        volume?: number | null,
        volume1mo?: number | null,
        volume1wk?: number | null,
        volume1yr?: number | null,
        volume24hr?: number | null
      } | null,
      eventSlug?: string | null,
      gameIndex?: number | null,
      id?: number | null,
      location?: string | null,
      seedA?: number | null,
      seedB?: number | null,
      startTime?: string | null,
      teamA?: {
        $schema?: string | null,
        abbreviation?: string | null,
        alias?: string | null,
        color?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          source?: string | null,
          teamId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        league?: string | null,
        logo?: string | null,
        name?: string | null,
        ordering?: string | null,
        providerId?: number | null,
        record?: string | null,
        updatedAt?: string | null
      } | null,
      teamAId?: number | null,
      teamB?: {
        $schema?: string | null,
        abbreviation?: string | null,
        alias?: string | null,
        color?: string | null,
        createdAt?: string | null,
        externalPartners?: {
          $schema?: string | null,
          createdAt?: string | null,
          externalId?: string | null,
          id?: number | null,
          partner?: {
            $schema?: string | null,
            createdAt?: string | null,
            id?: number | null,
            name?: string | null,
            slug?: string | null,
            updatedAt?: string | null
          } | null,
          partnerId?: number | null,
          source?: string | null,
          teamId?: number | null,
          updatedAt?: string | null
        }[] | null | null,
        id?: number | null,
        league?: string | null,
        logo?: string | null,
        name?: string | null,
        ordering?: string | null,
        providerId?: number | null,
        record?: string | null,
        updatedAt?: string | null
      } | null,
      teamBId?: number | null,
      tournamentPhaseId?: number | null,
      updatedAt?: string | null
    }[] | null | null,
    title?: string | null | null
  }[] | null | null,
  sortOrder?: number | null,
  tournamentId?: number | null,
  updatedAt?: string | null
}[] | null | null
```

***

### tournaments.list

`gamma.tournaments.list`

Get tournaments

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.tournaments.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limit` | `number` | No | Max results returned |
| `offset` | `number` | No | Number of results to skip |
| `order` | `string` | No | Comma-separated field names to sort by |
| `ascending` | `boolean` | No | Sort ascending when true (default true) |

**Output:** `object[] \| null`

```ts theme={null}
{
  $schema?: string | null,
  createdAt?: string | null,
  divisions?: {
    createdAt?: string | null,
    id?: number | null,
    sortOrder?: number | null,
    title?: string | null,
    tournamentId?: number | null,
    updatedAt?: string | null
  }[] | null | null,
  fallbackIcon?: string | null,
  id?: number | null,
  league?: string | null,
  name?: string | null,
  numEntrants?: number | null,
  phases?: {
    createdAt?: string | null,
    displayName?: string | null,
    id?: number | null,
    phaseType?: string | null,
    placementRank?: number | null,
    roundSize?: number | null,
    sections?: {
      games?: {
        createdAt?: string | null,
        divisionId?: number | null,
        event?: {
          $schema?: string | null,
          active?: boolean | null,
          archived?: boolean | null,
          automaticallyActive?: boolean | null,
          automaticallyResolved?: boolean | null,
          bestLines?: {
            id?: string | null,
            line?: number | null,
            lineType?: string | null
          }[] | null | null,
          cantEstimate?: boolean | null,
          carouselMap?: string | null,
          category?: string | null,
          closed?: boolean | null,
          closedTime?: string | null,
          color?: string | null,
          commentCount?: number | null,
          commentsEnabled?: boolean | null,
          competitive?: number | null,
          countryName?: string | null,
          createdAt?: string | null,
          createdBy?: string | null,
          creationDate?: string | null,
          cumulativeMarkets?: boolean | null,
          cyom?: boolean | null,
          deploying?: boolean | null,
          deployingTimestamp?: string | null,
          description?: string | null,
          disqusThread?: string | null,
          elapsed?: string | null,
          electionType?: string | null,
          enableNegRisk?: boolean | null,
          enableOrderBook?: boolean | null,
          endDate?: string | null,
          ended?: boolean | null,
          estimateValue?: boolean | null,
          estimatedValue?: string | null,
          eventCreators?: {
            $schema?: string | null,
            createdAt?: string | null,
            creatorHandle?: string | null,
            creatorImage?: string | null,
            creatorName?: string | null,
            creatorUrl?: string | null,
            id?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          eventDate?: string | null,
          eventMetadata?: Record<string, any> | null,
          eventWeek?: number | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            eventId?: number | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          facets?: {
            abbreviation?: string | null,
            appliesTo?: string[] | null | null,
            label?: string | null,
            parents?: string[] | null | null,
            slug?: string | null
          }[] | null | null,
          featured?: boolean | null,
          featuredImage?: string | null,
          featuredOrder?: number | null,
          finishedTimestamp?: string | null,
          gameId?: number | null,
          gmpChartMode?: string | null,
          icon?: string | null,
          id?: string | null,
          image?: string | null,
          isTemplate?: boolean | null,
          lastHighlight?: string | null,
          lastHighlightAt?: string | null,
          lastHighlightType?: string | null,
          liquidity?: number | null,
          liquidityAmm?: number | null,
          liquidityClob?: number | null,
          live?: boolean | null,
          markets?: {
            $schema?: string | null,
            acceptingOrders?: boolean | null,
            acceptingOrdersTimestamp?: string | null,
            acceptingOrdersUntil?: string | null,
            active?: boolean | null,
            ammType?: string | null,
            approved?: boolean | null,
            archived?: boolean | null,
            automaticallyActive?: boolean | null,
            automaticallyResolved?: boolean | null,
            bestAsk?: number | null,
            bestBid?: number | null,
            category?: string | null,
            categoryMailchimpTag?: string | null,
            chartColor?: string | null,
            clearBookOnStart?: boolean | null,
            clobRewards?: {
              assetAddress?: string | null,
              conditionId?: string | null,
              endDate?: string | null,
              id?: string | null,
              rewardsAmount?: number | null,
              rewardsDailyRate?: number | null,
              startDate?: string | null
            }[] | null | null,
            clobTokenIds?: string | null,
            closed?: boolean | null,
            closedTime?: string | null,
            comboStatus?: string | null,
            commentsEnabled?: boolean | null,
            competitive?: number | null,
            conditionId?: string | null,
            createdAt?: string | null,
            createdBy?: number | null,
            creator?: string | null,
            cryptoMarketConfig?: {
              $schema?: string | null,
              asset?: string | null,
              duration?: string | null,
              id?: string | null,
              twapEnabled?: boolean | null,
              twapLookbackSeconds?: number | null
            } | null,
            cryptoMarketConfigId?: string | null,
            curationOrder?: number | null,
            customLiveness?: number | null,
            cyom?: boolean | null,
            denominationToken?: string | null,
            deploying?: boolean | null,
            deployingTimestamp?: string | null,
            description?: string | null,
            disqusThread?: string | null,
            enableOrderBook?: boolean | null,
            endDate?: string | null,
            endDateIso?: string | null,
            eventStartTime?: string | null,
            events?: {
              $schema?: string | null,
              active?: boolean | null,
              archived?: boolean | null,
              automaticallyActive?: boolean | null,
              automaticallyResolved?: boolean | null,
              bestLines?: {
                id?: string | null,
                line?: number | null,
                lineType?: string | null
              }[] | null | null,
              cantEstimate?: boolean | null,
              carouselMap?: string | null,
              category?: string | null,
              closed?: boolean | null,
              closedTime?: string | null,
              color?: string | null,
              commentCount?: number | null,
              commentsEnabled?: boolean | null,
              competitive?: number | null,
              countryName?: string | null,
              createdAt?: string | null,
              createdBy?: string | null,
              creationDate?: string | null,
              cumulativeMarkets?: boolean | null,
              cyom?: boolean | null,
              deploying?: boolean | null,
              deployingTimestamp?: string | null,
              description?: string | null,
              disqusThread?: string | null,
              elapsed?: string | null,
              electionType?: string | null,
              enableNegRisk?: boolean | null,
              enableOrderBook?: boolean | null,
              endDate?: string | null,
              ended?: boolean | null,
              estimateValue?: boolean | null,
              estimatedValue?: string | null,
              eventCreators?: {
                $schema?: string | null,
                createdAt?: string | null,
                creatorHandle?: string | null,
                creatorImage?: string | null,
                creatorName?: string | null,
                creatorUrl?: string | null,
                id?: string | null,
                updatedAt?: string | null
              }[] | null | null,
              eventDate?: string | null,
              eventMetadata?: Record<string, any> | null,
              eventWeek?: number | null,
              externalPartners?: {
                $schema?: string | null,
                createdAt?: string | null,
                eventId?: number | null,
                externalId?: string | null,
                id?: number | null,
                partner?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  id?: number | null,
                  name?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null
                } | null,
                partnerId?: number | null,
                updatedAt?: string | null
              }[] | null | null,
              facets?: {
                abbreviation?: string | null,
                appliesTo?: string[] | null | null,
                label?: string | null,
                parents?: string[] | null | null,
                slug?: string | null
              }[] | null | null,
              featured?: boolean | null,
              featuredImage?: string | null,
              featuredOrder?: number | null,
              finishedTimestamp?: string | null,
              gameId?: number | null,
              gmpChartMode?: string | null,
              icon?: string | null,
              id?: string | null,
              image?: string | null,
              isTemplate?: boolean | null,
              lastHighlight?: string | null,
              lastHighlightAt?: string | null,
              lastHighlightType?: string | null,
              liquidity?: number | null,
              liquidityAmm?: number | null,
              liquidityClob?: number | null,
              live?: boolean | null,
              markets?: {
                $schema?: string | null,
                acceptingOrders?: boolean | null,
                acceptingOrdersTimestamp?: string | null,
                acceptingOrdersUntil?: string | null,
                active?: boolean | null,
                ammType?: string | null,
                approved?: boolean | null,
                archived?: boolean | null,
                automaticallyActive?: boolean | null,
                automaticallyResolved?: boolean | null,
                bestAsk?: number | null,
                bestBid?: number | null,
                category?: string | null,
                categoryMailchimpTag?: string | null,
                chartColor?: string | null,
                clearBookOnStart?: boolean | null,
                clobRewards?: {
                  assetAddress?: string | null,
                  conditionId?: string | null,
                  endDate?: string | null,
                  id?: string | null,
                  rewardsAmount?: number | null,
                  rewardsDailyRate?: number | null,
                  startDate?: string | null
                }[] | null | null,
                clobTokenIds?: string | null,
                closed?: boolean | null,
                closedTime?: string | null,
                comboStatus?: string | null,
                commentsEnabled?: boolean | null,
                competitive?: number | null,
                conditionId?: string | null,
                createdAt?: string | null,
                createdBy?: number | null,
                creator?: string | null,
                cryptoMarketConfig?: {
                  $schema?: string | null,
                  asset?: string | null,
                  duration?: string | null,
                  id?: string | null,
                  twapEnabled?: boolean | null,
                  twapLookbackSeconds?: number | null
                } | null,
                cryptoMarketConfigId?: string | null,
                curationOrder?: number | null,
                customLiveness?: number | null,
                cyom?: boolean | null,
                denominationToken?: string | null,
                deploying?: boolean | null,
                deployingTimestamp?: string | null,
                description?: string | null,
                disqusThread?: string | null,
                enableOrderBook?: boolean | null,
                endDate?: string | null,
                endDateIso?: string | null,
                eventStartTime?: string | null,
                events?: (recursive)[] | null | null,
                facets?: {
                  abbreviation?: string | null,
                  appliesTo?: string[] | null | null,
                  label?: string | null,
                  parents?: string[] | null | null,
                  slug?: string | null
                }[] | null | null,
                fallbackResolutionType?: string | null,
                featured?: boolean | null,
                fee?: string | null,
                feeExponent?: number | null,
                feeRate?: number | null,
                feeSchedule?: {
                  exponent?: number | null,
                  rate?: number | null,
                  rebateRate?: number | null,
                  takerOnly?: boolean | null
                } | null,
                feeType?: string | null | null,
                feesEnabled?: boolean | null,
                formatType?: string | null,
                fpmmLive?: boolean | null,
                funded?: boolean | null,
                fundedTimestamp?: string | null,
                gameId?: string | null,
                gameStartTime?: string | null,
                groupItemRange?: string | null,
                groupItemThreshold?: string | null,
                groupItemTitle?: string | null,
                hasReviewedDates?: boolean | null,
                holdingRewardsEnabled?: boolean | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                instrumentIndex?: number | null,
                instrumentKind?: string | null,
                lastTradePrice?: number | null,
                line?: number | null,
                liquidity?: string | null,
                liquidityAmm?: number | null,
                liquidityClob?: number | null,
                liquidityNum?: number | null,
                lowerBound?: string | null,
                lowerBoundDate?: string | null,
                mailchimpTag?: string | null,
                makerBaseFee?: number | null,
                makerRebatesFeeShareBps?: number | null,
                manualActivation?: boolean | null,
                marketGroup?: number | null,
                marketMakerAddress?: string | null,
                marketMetadata?: Record<string, any> | null,
                marketType?: string | null,
                markets?: {
                  $schema?: string | null,
                  acceptingOrders?: boolean | null,
                  acceptingOrdersTimestamp?: string | null,
                  acceptingOrdersUntil?: string | null,
                  active?: boolean | null,
                  ammType?: string | null,
                  approved?: boolean | null,
                  archived?: boolean | null,
                  automaticallyActive?: boolean | null,
                  automaticallyResolved?: boolean | null,
                  bestAsk?: number | null,
                  bestBid?: number | null,
                  category?: string | null,
                  categoryMailchimpTag?: string | null,
                  chartColor?: string | null,
                  clearBookOnStart?: boolean | null,
                  clobRewards?: {
                    assetAddress?: string | null,
                    conditionId?: string | null,
                    endDate?: string | null,
                    id?: string | null,
                    rewardsAmount?: number | null,
                    rewardsDailyRate?: number | null,
                    startDate?: string | null
                  }[] | null | null,
                  clobTokenIds?: string | null,
                  closed?: boolean | null,
                  closedTime?: string | null,
                  comboStatus?: string | null,
                  commentsEnabled?: boolean | null,
                  competitive?: number | null,
                  conditionId?: string | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  creator?: string | null,
                  cryptoMarketConfig?: {
                    $schema?: string | null,
                    asset?: string | null,
                    duration?: string | null,
                    id?: string | null,
                    twapEnabled?: boolean | null,
                    twapLookbackSeconds?: number | null
                  } | null,
                  cryptoMarketConfigId?: string | null,
                  curationOrder?: number | null,
                  customLiveness?: number | null,
                  cyom?: boolean | null,
                  denominationToken?: string | null,
                  deploying?: boolean | null,
                  deployingTimestamp?: string | null,
                  description?: string | null,
                  disqusThread?: string | null,
                  enableOrderBook?: boolean | null,
                  endDate?: string | null,
                  endDateIso?: string | null,
                  eventStartTime?: string | null,
                  events?: (recursive)[] | null | null,
                  facets?: {
                    abbreviation?: string | null,
                    appliesTo?: string[] | null | null,
                    label?: string | null,
                    parents?: string[] | null | null,
                    slug?: string | null
                  }[] | null | null,
                  fallbackResolutionType?: string | null,
                  featured?: boolean | null,
                  fee?: string | null,
                  feeExponent?: number | null,
                  feeRate?: number | null,
                  feeSchedule?: {
                    exponent?: number | null,
                    rate?: number | null,
                    rebateRate?: number | null,
                    takerOnly?: boolean | null
                  } | null,
                  feeType?: string | null | null,
                  feesEnabled?: boolean | null,
                  formatType?: string | null,
                  fpmmLive?: boolean | null,
                  funded?: boolean | null,
                  fundedTimestamp?: string | null,
                  gameId?: string | null,
                  gameStartTime?: string | null,
                  groupItemRange?: string | null,
                  groupItemThreshold?: string | null,
                  groupItemTitle?: string | null,
                  hasReviewedDates?: boolean | null,
                  holdingRewardsEnabled?: boolean | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  instrumentIndex?: number | null,
                  instrumentKind?: string | null,
                  lastTradePrice?: number | null,
                  line?: number | null,
                  liquidity?: string | null,
                  liquidityAmm?: number | null,
                  liquidityClob?: number | null,
                  liquidityNum?: number | null,
                  lowerBound?: string | null,
                  lowerBoundDate?: string | null,
                  mailchimpTag?: string | null,
                  makerBaseFee?: number | null,
                  makerRebatesFeeShareBps?: number | null,
                  manualActivation?: boolean | null,
                  marketGroup?: number | null,
                  marketMakerAddress?: string | null,
                  marketMetadata?: Record<string, any> | null,
                  marketType?: string | null,
                  markets?: (recursive)[] | null | null,
                  negRisk?: boolean | null,
                  negRiskMarketID?: string | null,
                  negRiskOther?: boolean | null,
                  negRiskRequestID?: string | null,
                  new?: boolean | null,
                  notificationsEnabled?: boolean | null,
                  onchainEventId?: string | null,
                  oneDayPriceChange?: number | null,
                  oneHourPriceChange?: number | null,
                  oneMonthPriceChange?: number | null,
                  oneWeekPriceChange?: number | null,
                  oneYearPriceChange?: number | null,
                  orderMinSize?: number | null,
                  orderPriceMinTickSize?: number | null,
                  outcomePrices?: string | null,
                  outcomes?: string | null,
                  pastSlugs?: string | null,
                  pendingDeployment?: boolean | null,
                  positionIds?: string[] | null | null,
                  question?: string | null,
                  questionID?: string | null,
                  ready?: boolean | null,
                  readyForCron?: boolean | null,
                  readyTimestamp?: string | null,
                  requestId?: string | null,
                  resolutionMechanism?: string | null | null,
                  resolutionSource?: string | null,
                  resolutionStatus?: string | null,
                  resolvedBy?: string | null,
                  restricted?: boolean | null,
                  rewardsMaxSpread?: number | null,
                  rewardsMinSize?: number | null,
                  rfqEnabled?: boolean | null,
                  scheduledDeploymentTimestamp?: string | null,
                  score?: number | null,
                  secondsDelay?: number | null,
                  sentDiscord?: boolean | null,
                  seriesColor?: string | null,
                  shortOutcomes?: string | null,
                  showGmpOutcome?: boolean | null,
                  showGmpSeries?: boolean | null,
                  slug?: string | null,
                  sponsorImage?: string | null,
                  sponsorName?: string | null,
                  sportsMarketType?: string | null,
                  spread?: number | null,
                  startDate?: string | null,
                  startDateIso?: string | null,
                  subcategory?: string | null,
                  submitted_by?: string | null,
                  tags?: {
                    $schema?: string | null,
                    activeEventsCount?: number | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    forceHide?: boolean | null,
                    forceShow?: boolean | null,
                    id?: string | null,
                    isCarousel?: boolean | null,
                    label?: string | null,
                    publishedAt?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null
                  }[] | null | null,
                  takerBaseFee?: number | null,
                  teamAID?: string | null,
                  teamBID?: string | null,
                  tradingEligible?: boolean | null | null,
                  twitterCardImage?: string | null,
                  twitterCardLastRefreshed?: string | null,
                  twitterCardLastValidated?: string | null,
                  twitterCardLocation?: string | null,
                  umaBond?: string | null,
                  umaEndDate?: string | null,
                  umaEndDateIso?: string | null,
                  umaResolutionStatus?: string | null,
                  umaResolutionStatuses?: string | null,
                  umaReward?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null,
                  upperBound?: string | null,
                  upperBoundDate?: string | null,
                  version?: string | null,
                  volume?: string | null,
                  volume1mo?: number | null,
                  volume1moAmm?: number | null,
                  volume1moClob?: number | null,
                  volume1wk?: number | null,
                  volume1wkAmm?: number | null,
                  volume1wkClob?: number | null,
                  volume1yr?: number | null,
                  volume1yrAmm?: number | null,
                  volume1yrClob?: number | null,
                  volume24hr?: number | null,
                  volume24hrAmm?: number | null,
                  volume24hrClob?: number | null,
                  volumeAmm?: number | null,
                  volumeClob?: number | null,
                  volumeNum?: number | null,
                  wideFormat?: boolean | null,
                  xAxisValue?: string | null,
                  yAxisValue?: string | null
                }[] | null | null,
                negRisk?: boolean | null,
                negRiskMarketID?: string | null,
                negRiskOther?: boolean | null,
                negRiskRequestID?: string | null,
                new?: boolean | null,
                notificationsEnabled?: boolean | null,
                onchainEventId?: string | null,
                oneDayPriceChange?: number | null,
                oneHourPriceChange?: number | null,
                oneMonthPriceChange?: number | null,
                oneWeekPriceChange?: number | null,
                oneYearPriceChange?: number | null,
                orderMinSize?: number | null,
                orderPriceMinTickSize?: number | null,
                outcomePrices?: string | null,
                outcomes?: string | null,
                pastSlugs?: string | null,
                pendingDeployment?: boolean | null,
                positionIds?: string[] | null | null,
                question?: string | null,
                questionID?: string | null,
                ready?: boolean | null,
                readyForCron?: boolean | null,
                readyTimestamp?: string | null,
                requestId?: string | null,
                resolutionMechanism?: string | null | null,
                resolutionSource?: string | null,
                resolutionStatus?: string | null,
                resolvedBy?: string | null,
                restricted?: boolean | null,
                rewardsMaxSpread?: number | null,
                rewardsMinSize?: number | null,
                rfqEnabled?: boolean | null,
                scheduledDeploymentTimestamp?: string | null,
                score?: number | null,
                secondsDelay?: number | null,
                sentDiscord?: boolean | null,
                seriesColor?: string | null,
                shortOutcomes?: string | null,
                showGmpOutcome?: boolean | null,
                showGmpSeries?: boolean | null,
                slug?: string | null,
                sponsorImage?: string | null,
                sponsorName?: string | null,
                sportsMarketType?: string | null,
                spread?: number | null,
                startDate?: string | null,
                startDateIso?: string | null,
                subcategory?: string | null,
                submitted_by?: string | null,
                tags?: {
                  $schema?: string | null,
                  activeEventsCount?: number | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  forceHide?: boolean | null,
                  forceShow?: boolean | null,
                  id?: string | null,
                  isCarousel?: boolean | null,
                  label?: string | null,
                  publishedAt?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null
                }[] | null | null,
                takerBaseFee?: number | null,
                teamAID?: string | null,
                teamBID?: string | null,
                tradingEligible?: boolean | null | null,
                twitterCardImage?: string | null,
                twitterCardLastRefreshed?: string | null,
                twitterCardLastValidated?: string | null,
                twitterCardLocation?: string | null,
                umaBond?: string | null,
                umaEndDate?: string | null,
                umaEndDateIso?: string | null,
                umaResolutionStatus?: string | null,
                umaResolutionStatuses?: string | null,
                umaReward?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null,
                upperBound?: string | null,
                upperBoundDate?: string | null,
                version?: string | null,
                volume?: string | null,
                volume1mo?: number | null,
                volume1moAmm?: number | null,
                volume1moClob?: number | null,
                volume1wk?: number | null,
                volume1wkAmm?: number | null,
                volume1wkClob?: number | null,
                volume1yr?: number | null,
                volume1yrAmm?: number | null,
                volume1yrClob?: number | null,
                volume24hr?: number | null,
                volume24hrAmm?: number | null,
                volume24hrClob?: number | null,
                volumeAmm?: number | null,
                volumeClob?: number | null,
                volumeNum?: number | null,
                wideFormat?: boolean | null,
                xAxisValue?: string | null,
                yAxisValue?: string | null
              }[] | null | null,
              maxMarketCount?: number | null,
              moduleType?: string | null,
              negRisk?: boolean | null,
              negRiskAugmented?: boolean | null,
              negRiskFeeBips?: number | null,
              negRiskMarketID?: string | null,
              new?: boolean | null,
              openInterest?: number | null,
              parentEventId?: number | null,
              pendingDeployment?: boolean | null,
              period?: string | null,
              published_at?: string | null,
              rescheduledFromGameId?: number | null,
              resolutionMode?: string | null,
              resolutionSource?: string | null,
              restricted?: boolean | null,
              scheduledDeploymentTimestamp?: string | null,
              score?: string | null,
              series?: {
                $schema?: string | null,
                active?: boolean | null,
                archived?: boolean | null,
                cgAssetName?: string | null,
                closed?: boolean | null,
                commentCount?: number | null,
                commentsEnabled?: boolean | null,
                competitive?: string | null,
                createdAt?: string | null,
                createdBy?: string | null,
                description?: string | null,
                events?: {
                  $schema?: string | null,
                  active?: boolean | null,
                  archived?: boolean | null,
                  automaticallyActive?: boolean | null,
                  automaticallyResolved?: boolean | null,
                  bestLines?: {
                    id?: string | null,
                    line?: number | null,
                    lineType?: string | null
                  }[] | null | null,
                  cantEstimate?: boolean | null,
                  carouselMap?: string | null,
                  category?: string | null,
                  closed?: boolean | null,
                  closedTime?: string | null,
                  color?: string | null,
                  commentCount?: number | null,
                  commentsEnabled?: boolean | null,
                  competitive?: number | null,
                  countryName?: string | null,
                  createdAt?: string | null,
                  createdBy?: string | null,
                  creationDate?: string | null,
                  cumulativeMarkets?: boolean | null,
                  cyom?: boolean | null,
                  deploying?: boolean | null,
                  deployingTimestamp?: string | null,
                  description?: string | null,
                  disqusThread?: string | null,
                  elapsed?: string | null,
                  electionType?: string | null,
                  enableNegRisk?: boolean | null,
                  enableOrderBook?: boolean | null,
                  endDate?: string | null,
                  ended?: boolean | null,
                  estimateValue?: boolean | null,
                  estimatedValue?: string | null,
                  eventCreators?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    creatorHandle?: string | null,
                    creatorImage?: string | null,
                    creatorName?: string | null,
                    creatorUrl?: string | null,
                    id?: string | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  eventDate?: string | null,
                  eventMetadata?: Record<string, any> | null,
                  eventWeek?: number | null,
                  externalPartners?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    eventId?: number | null,
                    externalId?: string | null,
                    id?: number | null,
                    partner?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      id?: number | null,
                      name?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null
                    } | null,
                    partnerId?: number | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  facets?: {
                    abbreviation?: string | null,
                    appliesTo?: string[] | null | null,
                    label?: string | null,
                    parents?: string[] | null | null,
                    slug?: string | null
                  }[] | null | null,
                  featured?: boolean | null,
                  featuredImage?: string | null,
                  featuredOrder?: number | null,
                  finishedTimestamp?: string | null,
                  gameId?: number | null,
                  gmpChartMode?: string | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  isTemplate?: boolean | null,
                  lastHighlight?: string | null,
                  lastHighlightAt?: string | null,
                  lastHighlightType?: string | null,
                  liquidity?: number | null,
                  liquidityAmm?: number | null,
                  liquidityClob?: number | null,
                  live?: boolean | null,
                  markets?: {
                    $schema?: string | null,
                    acceptingOrders?: boolean | null,
                    acceptingOrdersTimestamp?: string | null,
                    acceptingOrdersUntil?: string | null,
                    active?: boolean | null,
                    ammType?: string | null,
                    approved?: boolean | null,
                    archived?: boolean | null,
                    automaticallyActive?: boolean | null,
                    automaticallyResolved?: boolean | null,
                    bestAsk?: number | null,
                    bestBid?: number | null,
                    category?: string | null,
                    categoryMailchimpTag?: string | null,
                    chartColor?: string | null,
                    clearBookOnStart?: boolean | null,
                    clobRewards?: {
                      assetAddress?: string | null,
                      conditionId?: string | null,
                      endDate?: string | null,
                      id?: string | null,
                      rewardsAmount?: number | null,
                      rewardsDailyRate?: number | null,
                      startDate?: string | null
                    }[] | null | null,
                    clobTokenIds?: string | null,
                    closed?: boolean | null,
                    closedTime?: string | null,
                    comboStatus?: string | null,
                    commentsEnabled?: boolean | null,
                    competitive?: number | null,
                    conditionId?: string | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    creator?: string | null,
                    cryptoMarketConfig?: {
                      $schema?: string | null,
                      asset?: string | null,
                      duration?: string | null,
                      id?: string | null,
                      twapEnabled?: boolean | null,
                      twapLookbackSeconds?: number | null
                    } | null,
                    cryptoMarketConfigId?: string | null,
                    curationOrder?: number | null,
                    customLiveness?: number | null,
                    cyom?: boolean | null,
                    denominationToken?: string | null,
                    deploying?: boolean | null,
                    deployingTimestamp?: string | null,
                    description?: string | null,
                    disqusThread?: string | null,
                    enableOrderBook?: boolean | null,
                    endDate?: string | null,
                    endDateIso?: string | null,
                    eventStartTime?: string | null,
                    events?: (recursive)[] | null | null,
                    facets?: {
                      abbreviation?: string | null,
                      appliesTo?: string[] | null | null,
                      label?: string | null,
                      parents?: string[] | null | null,
                      slug?: string | null
                    }[] | null | null,
                    fallbackResolutionType?: string | null,
                    featured?: boolean | null,
                    fee?: string | null,
                    feeExponent?: number | null,
                    feeRate?: number | null,
                    feeSchedule?: {
                      exponent?: number | null,
                      rate?: number | null,
                      rebateRate?: number | null,
                      takerOnly?: boolean | null
                    } | null,
                    feeType?: string | null | null,
                    feesEnabled?: boolean | null,
                    formatType?: string | null,
                    fpmmLive?: boolean | null,
                    funded?: boolean | null,
                    fundedTimestamp?: string | null,
                    gameId?: string | null,
                    gameStartTime?: string | null,
                    groupItemRange?: string | null,
                    groupItemThreshold?: string | null,
                    groupItemTitle?: string | null,
                    hasReviewedDates?: boolean | null,
                    holdingRewardsEnabled?: boolean | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    instrumentIndex?: number | null,
                    instrumentKind?: string | null,
                    lastTradePrice?: number | null,
                    line?: number | null,
                    liquidity?: string | null,
                    liquidityAmm?: number | null,
                    liquidityClob?: number | null,
                    liquidityNum?: number | null,
                    lowerBound?: string | null,
                    lowerBoundDate?: string | null,
                    mailchimpTag?: string | null,
                    makerBaseFee?: number | null,
                    makerRebatesFeeShareBps?: number | null,
                    manualActivation?: boolean | null,
                    marketGroup?: number | null,
                    marketMakerAddress?: string | null,
                    marketMetadata?: Record<string, any> | null,
                    marketType?: string | null,
                    markets?: {
                      $schema?: string | null,
                      acceptingOrders?: boolean | null,
                      acceptingOrdersTimestamp?: string | null,
                      acceptingOrdersUntil?: string | null,
                      active?: boolean | null,
                      ammType?: string | null,
                      approved?: boolean | null,
                      archived?: boolean | null,
                      automaticallyActive?: boolean | null,
                      automaticallyResolved?: boolean | null,
                      bestAsk?: number | null,
                      bestBid?: number | null,
                      category?: string | null,
                      categoryMailchimpTag?: string | null,
                      chartColor?: string | null,
                      clearBookOnStart?: boolean | null,
                      clobRewards?: {
                        assetAddress?: string | null,
                        conditionId?: string | null,
                        endDate?: string | null,
                        id?: string | null,
                        rewardsAmount?: number | null,
                        rewardsDailyRate?: number | null,
                        startDate?: string | null
                      }[] | null | null,
                      clobTokenIds?: string | null,
                      closed?: boolean | null,
                      closedTime?: string | null,
                      comboStatus?: string | null,
                      commentsEnabled?: boolean | null,
                      competitive?: number | null,
                      conditionId?: string | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      creator?: string | null,
                      cryptoMarketConfig?: {
                        $schema?: string | null,
                        asset?: string | null,
                        duration?: string | null,
                        id?: string | null,
                        twapEnabled?: boolean | null,
                        twapLookbackSeconds?: number | null
                      } | null,
                      cryptoMarketConfigId?: string | null,
                      curationOrder?: number | null,
                      customLiveness?: number | null,
                      cyom?: boolean | null,
                      denominationToken?: string | null,
                      deploying?: boolean | null,
                      deployingTimestamp?: string | null,
                      description?: string | null,
                      disqusThread?: string | null,
                      enableOrderBook?: boolean | null,
                      endDate?: string | null,
                      endDateIso?: string | null,
                      eventStartTime?: string | null,
                      events?: (recursive)[] | null | null,
                      facets?: {
                        abbreviation?: string | null,
                        appliesTo?: string[] | null | null,
                        label?: string | null,
                        parents?: string[] | null | null,
                        slug?: string | null
                      }[] | null | null,
                      fallbackResolutionType?: string | null,
                      featured?: boolean | null,
                      fee?: string | null,
                      feeExponent?: number | null,
                      feeRate?: number | null,
                      feeSchedule?: {
                        exponent?: number | null,
                        rate?: number | null,
                        rebateRate?: number | null,
                        takerOnly?: boolean | null
                      } | null,
                      feeType?: string | null | null,
                      feesEnabled?: boolean | null,
                      formatType?: string | null,
                      fpmmLive?: boolean | null,
                      funded?: boolean | null,
                      fundedTimestamp?: string | null,
                      gameId?: string | null,
                      gameStartTime?: string | null,
                      groupItemRange?: string | null,
                      groupItemThreshold?: string | null,
                      groupItemTitle?: string | null,
                      hasReviewedDates?: boolean | null,
                      holdingRewardsEnabled?: boolean | null,
                      icon?: string | null,
                      id?: string | null,
                      image?: string | null,
                      instrumentIndex?: number | null,
                      instrumentKind?: string | null,
                      lastTradePrice?: number | null,
                      line?: number | null,
                      liquidity?: string | null,
                      liquidityAmm?: number | null,
                      liquidityClob?: number | null,
                      liquidityNum?: number | null,
                      lowerBound?: string | null,
                      lowerBoundDate?: string | null,
                      mailchimpTag?: string | null,
                      makerBaseFee?: number | null,
                      makerRebatesFeeShareBps?: number | null,
                      manualActivation?: boolean | null,
                      marketGroup?: number | null,
                      marketMakerAddress?: string | null,
                      marketMetadata?: Record<string, any> | null,
                      marketType?: string | null,
                      markets?: (recursive)[] | null | null,
                      negRisk?: boolean | null,
                      negRiskMarketID?: string | null,
                      negRiskOther?: boolean | null,
                      negRiskRequestID?: string | null,
                      new?: boolean | null,
                      notificationsEnabled?: boolean | null,
                      onchainEventId?: string | null,
                      oneDayPriceChange?: number | null,
                      oneHourPriceChange?: number | null,
                      oneMonthPriceChange?: number | null,
                      oneWeekPriceChange?: number | null,
                      oneYearPriceChange?: number | null,
                      orderMinSize?: number | null,
                      orderPriceMinTickSize?: number | null,
                      outcomePrices?: string | null,
                      outcomes?: string | null,
                      pastSlugs?: string | null,
                      pendingDeployment?: boolean | null,
                      positionIds?: string[] | null | null,
                      question?: string | null,
                      questionID?: string | null,
                      ready?: boolean | null,
                      readyForCron?: boolean | null,
                      readyTimestamp?: string | null,
                      requestId?: string | null,
                      resolutionMechanism?: string | null | null,
                      resolutionSource?: string | null,
                      resolutionStatus?: string | null,
                      resolvedBy?: string | null,
                      restricted?: boolean | null,
                      rewardsMaxSpread?: number | null,
                      rewardsMinSize?: number | null,
                      rfqEnabled?: boolean | null,
                      scheduledDeploymentTimestamp?: string | null,
                      score?: number | null,
                      secondsDelay?: number | null,
                      sentDiscord?: boolean | null,
                      seriesColor?: string | null,
                      shortOutcomes?: string | null,
                      showGmpOutcome?: boolean | null,
                      showGmpSeries?: boolean | null,
                      slug?: string | null,
                      sponsorImage?: string | null,
                      sponsorName?: string | null,
                      sportsMarketType?: string | null,
                      spread?: number | null,
                      startDate?: string | null,
                      startDateIso?: string | null,
                      subcategory?: string | null,
                      submitted_by?: string | null,
                      tags?: {
                        $schema?: string | null,
                        activeEventsCount?: number | null,
                        createdAt?: string | null,
                        createdBy?: number | null,
                        forceHide?: boolean | null,
                        forceShow?: boolean | null,
                        id?: string | null,
                        isCarousel?: boolean | null,
                        label?: string | null,
                        publishedAt?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null,
                        updatedBy?: number | null
                      }[] | null | null,
                      takerBaseFee?: number | null,
                      teamAID?: string | null,
                      teamBID?: string | null,
                      tradingEligible?: boolean | null | null,
                      twitterCardImage?: string | null,
                      twitterCardLastRefreshed?: string | null,
                      twitterCardLastValidated?: string | null,
                      twitterCardLocation?: string | null,
                      umaBond?: string | null,
                      umaEndDate?: string | null,
                      umaEndDateIso?: string | null,
                      umaResolutionStatus?: string | null,
                      umaResolutionStatuses?: string | null,
                      umaReward?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null,
                      upperBound?: string | null,
                      upperBoundDate?: string | null,
                      version?: string | null,
                      volume?: string | null,
                      volume1mo?: number | null,
                      volume1moAmm?: number | null,
                      volume1moClob?: number | null,
                      volume1wk?: number | null,
                      volume1wkAmm?: number | null,
                      volume1wkClob?: number | null,
                      volume1yr?: number | null,
                      volume1yrAmm?: number | null,
                      volume1yrClob?: number | null,
                      volume24hr?: number | null,
                      volume24hrAmm?: number | null,
                      volume24hrClob?: number | null,
                      volumeAmm?: number | null,
                      volumeClob?: number | null,
                      volumeNum?: number | null,
                      wideFormat?: boolean | null,
                      xAxisValue?: string | null,
                      yAxisValue?: string | null
                    }[] | null | null,
                    negRisk?: boolean | null,
                    negRiskMarketID?: string | null,
                    negRiskOther?: boolean | null,
                    negRiskRequestID?: string | null,
                    new?: boolean | null,
                    notificationsEnabled?: boolean | null,
                    onchainEventId?: string | null,
                    oneDayPriceChange?: number | null,
                    oneHourPriceChange?: number | null,
                    oneMonthPriceChange?: number | null,
                    oneWeekPriceChange?: number | null,
                    oneYearPriceChange?: number | null,
                    orderMinSize?: number | null,
                    orderPriceMinTickSize?: number | null,
                    outcomePrices?: string | null,
                    outcomes?: string | null,
                    pastSlugs?: string | null,
                    pendingDeployment?: boolean | null,
                    positionIds?: string[] | null | null,
                    question?: string | null,
                    questionID?: string | null,
                    ready?: boolean | null,
                    readyForCron?: boolean | null,
                    readyTimestamp?: string | null,
                    requestId?: string | null,
                    resolutionMechanism?: string | null | null,
                    resolutionSource?: string | null,
                    resolutionStatus?: string | null,
                    resolvedBy?: string | null,
                    restricted?: boolean | null,
                    rewardsMaxSpread?: number | null,
                    rewardsMinSize?: number | null,
                    rfqEnabled?: boolean | null,
                    scheduledDeploymentTimestamp?: string | null,
                    score?: number | null,
                    secondsDelay?: number | null,
                    sentDiscord?: boolean | null,
                    seriesColor?: string | null,
                    shortOutcomes?: string | null,
                    showGmpOutcome?: boolean | null,
                    showGmpSeries?: boolean | null,
                    slug?: string | null,
                    sponsorImage?: string | null,
                    sponsorName?: string | null,
                    sportsMarketType?: string | null,
                    spread?: number | null,
                    startDate?: string | null,
                    startDateIso?: string | null,
                    subcategory?: string | null,
                    submitted_by?: string | null,
                    tags?: {
                      $schema?: string | null,
                      activeEventsCount?: number | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      forceHide?: boolean | null,
                      forceShow?: boolean | null,
                      id?: string | null,
                      isCarousel?: boolean | null,
                      label?: string | null,
                      publishedAt?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null
                    }[] | null | null,
                    takerBaseFee?: number | null,
                    teamAID?: string | null,
                    teamBID?: string | null,
                    tradingEligible?: boolean | null | null,
                    twitterCardImage?: string | null,
                    twitterCardLastRefreshed?: string | null,
                    twitterCardLastValidated?: string | null,
                    twitterCardLocation?: string | null,
                    umaBond?: string | null,
                    umaEndDate?: string | null,
                    umaEndDateIso?: string | null,
                    umaResolutionStatus?: string | null,
                    umaResolutionStatuses?: string | null,
                    umaReward?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null,
                    upperBound?: string | null,
                    upperBoundDate?: string | null,
                    version?: string | null,
                    volume?: string | null,
                    volume1mo?: number | null,
                    volume1moAmm?: number | null,
                    volume1moClob?: number | null,
                    volume1wk?: number | null,
                    volume1wkAmm?: number | null,
                    volume1wkClob?: number | null,
                    volume1yr?: number | null,
                    volume1yrAmm?: number | null,
                    volume1yrClob?: number | null,
                    volume24hr?: number | null,
                    volume24hrAmm?: number | null,
                    volume24hrClob?: number | null,
                    volumeAmm?: number | null,
                    volumeClob?: number | null,
                    volumeNum?: number | null,
                    wideFormat?: boolean | null,
                    xAxisValue?: string | null,
                    yAxisValue?: string | null
                  }[] | null | null,
                  maxMarketCount?: number | null,
                  moduleType?: string | null,
                  negRisk?: boolean | null,
                  negRiskAugmented?: boolean | null,
                  negRiskFeeBips?: number | null,
                  negRiskMarketID?: string | null,
                  new?: boolean | null,
                  openInterest?: number | null,
                  parentEventId?: number | null,
                  pendingDeployment?: boolean | null,
                  period?: string | null,
                  published_at?: string | null,
                  rescheduledFromGameId?: number | null,
                  resolutionMode?: string | null,
                  resolutionSource?: string | null,
                  restricted?: boolean | null,
                  scheduledDeploymentTimestamp?: string | null,
                  score?: string | null,
                  series?: {
                    $schema?: string | null,
                    active?: boolean | null,
                    archived?: boolean | null,
                    cgAssetName?: string | null,
                    closed?: boolean | null,
                    commentCount?: number | null,
                    commentsEnabled?: boolean | null,
                    competitive?: string | null,
                    createdAt?: string | null,
                    createdBy?: string | null,
                    description?: string | null,
                    events?: (recursive)[] | null | null,
                    featured?: boolean | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    isTemplate?: boolean | null,
                    layout?: string | null,
                    liquidity?: number | null,
                    new?: boolean | null,
                    publishedAt?: string | null,
                    pythTokenID?: string | null,
                    recurrence?: string | null,
                    restricted?: boolean | null,
                    score?: number | null,
                    seriesType?: string | null,
                    slug?: string | null,
                    startDate?: string | null,
                    subtitle?: string | null,
                    templateVariables?: boolean | null,
                    ticker?: string | null,
                    title?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: string | null,
                    volume?: number | null,
                    volume24hr?: number | null
                  }[] | null | null,
                  seriesSlug?: string | null,
                  showAllOutcomes?: boolean | null,
                  showMarketImages?: boolean | null,
                  slug?: string | null,
                  sortBy?: string | null,
                  sport?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    externalPartners?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      externalId?: string | null,
                      id?: number | null,
                      partner?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        id?: number | null,
                        name?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null
                      } | null,
                      partnerId?: number | null,
                      sportId?: number | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    id?: number | null,
                    image?: string | null,
                    name?: string | null,
                    ordering?: string | null,
                    primaryTagId?: number | null,
                    resolution?: string | null,
                    series?: string | null,
                    sport?: string | null,
                    tags?: string | null,
                    updatedAt?: string | null
                  } | null,
                  spreadsMainLine?: number | null,
                  startDate?: string | null,
                  startTime?: string | null,
                  subEvents?: (string | null)[] | null | null,
                  subcategory?: string | null,
                  subtitle?: string | null,
                  tag_labels?: string[] | null | null,
                  tag_slugs?: string[] | null | null,
                  tags?: {
                    $schema?: string | null,
                    activeEventsCount?: number | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    forceHide?: boolean | null,
                    forceShow?: boolean | null,
                    id?: string | null,
                    isCarousel?: boolean | null,
                    label?: string | null,
                    publishedAt?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null
                  }[] | null | null,
                  teams?: {
                    $schema?: string | null,
                    abbreviation?: string | null,
                    alias?: string | null,
                    color?: string | null,
                    createdAt?: string | null,
                    externalPartners?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      externalId?: string | null,
                      id?: number | null,
                      partner?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        id?: number | null,
                        name?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null
                      } | null,
                      partnerId?: number | null,
                      source?: string | null,
                      teamId?: number | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    id?: number | null,
                    league?: string | null,
                    logo?: string | null,
                    name?: string | null,
                    ordering?: string | null,
                    providerId?: number | null,
                    record?: string | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  templateVariables?: string | null,
                  ticker?: string | null,
                  title?: string | null,
                  totalsMainLine?: number | null,
                  turnProviderId?: string | null,
                  tweetCount?: number | null,
                  updatedAt?: string | null,
                  updatedBy?: string | null,
                  usId?: string | null,
                  version?: string | null,
                  volume?: number | null,
                  volume1mo?: number | null,
                  volume1wk?: number | null,
                  volume1yr?: number | null,
                  volume24hr?: number | null
                }[] | null | null,
                featured?: boolean | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                isTemplate?: boolean | null,
                layout?: string | null,
                liquidity?: number | null,
                new?: boolean | null,
                publishedAt?: string | null,
                pythTokenID?: string | null,
                recurrence?: string | null,
                restricted?: boolean | null,
                score?: number | null,
                seriesType?: string | null,
                slug?: string | null,
                startDate?: string | null,
                subtitle?: string | null,
                templateVariables?: boolean | null,
                ticker?: string | null,
                title?: string | null,
                updatedAt?: string | null,
                updatedBy?: string | null,
                volume?: number | null,
                volume24hr?: number | null
              }[] | null | null,
              seriesSlug?: string | null,
              showAllOutcomes?: boolean | null,
              showMarketImages?: boolean | null,
              slug?: string | null,
              sortBy?: string | null,
              sport?: {
                $schema?: string | null,
                createdAt?: string | null,
                externalPartners?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  externalId?: string | null,
                  id?: number | null,
                  partner?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    id?: number | null,
                    name?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null
                  } | null,
                  partnerId?: number | null,
                  sportId?: number | null,
                  updatedAt?: string | null
                }[] | null | null,
                id?: number | null,
                image?: string | null,
                name?: string | null,
                ordering?: string | null,
                primaryTagId?: number | null,
                resolution?: string | null,
                series?: string | null,
                sport?: string | null,
                tags?: string | null,
                updatedAt?: string | null
              } | null,
              spreadsMainLine?: number | null,
              startDate?: string | null,
              startTime?: string | null,
              subEvents?: (string | null)[] | null | null,
              subcategory?: string | null,
              subtitle?: string | null,
              tag_labels?: string[] | null | null,
              tag_slugs?: string[] | null | null,
              tags?: {
                $schema?: string | null,
                activeEventsCount?: number | null,
                createdAt?: string | null,
                createdBy?: number | null,
                forceHide?: boolean | null,
                forceShow?: boolean | null,
                id?: string | null,
                isCarousel?: boolean | null,
                label?: string | null,
                publishedAt?: string | null,
                slug?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null
              }[] | null | null,
              teams?: {
                $schema?: string | null,
                abbreviation?: string | null,
                alias?: string | null,
                color?: string | null,
                createdAt?: string | null,
                externalPartners?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  externalId?: string | null,
                  id?: number | null,
                  partner?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    id?: number | null,
                    name?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null
                  } | null,
                  partnerId?: number | null,
                  source?: string | null,
                  teamId?: number | null,
                  updatedAt?: string | null
                }[] | null | null,
                id?: number | null,
                league?: string | null,
                logo?: string | null,
                name?: string | null,
                ordering?: string | null,
                providerId?: number | null,
                record?: string | null,
                updatedAt?: string | null
              }[] | null | null,
              templateVariables?: string | null,
              ticker?: string | null,
              title?: string | null,
              totalsMainLine?: number | null,
              turnProviderId?: string | null,
              tweetCount?: number | null,
              updatedAt?: string | null,
              updatedBy?: string | null,
              usId?: string | null,
              version?: string | null,
              volume?: number | null,
              volume1mo?: number | null,
              volume1wk?: number | null,
              volume1yr?: number | null,
              volume24hr?: number | null
            }[] | null | null,
            facets?: {
              abbreviation?: string | null,
              appliesTo?: string[] | null | null,
              label?: string | null,
              parents?: string[] | null | null,
              slug?: string | null
            }[] | null | null,
            fallbackResolutionType?: string | null,
            featured?: boolean | null,
            fee?: string | null,
            feeExponent?: number | null,
            feeRate?: number | null,
            feeSchedule?: {
              exponent?: number | null,
              rate?: number | null,
              rebateRate?: number | null,
              takerOnly?: boolean | null
            } | null,
            feeType?: string | null | null,
            feesEnabled?: boolean | null,
            formatType?: string | null,
            fpmmLive?: boolean | null,
            funded?: boolean | null,
            fundedTimestamp?: string | null,
            gameId?: string | null,
            gameStartTime?: string | null,
            groupItemRange?: string | null,
            groupItemThreshold?: string | null,
            groupItemTitle?: string | null,
            hasReviewedDates?: boolean | null,
            holdingRewardsEnabled?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            instrumentIndex?: number | null,
            instrumentKind?: string | null,
            lastTradePrice?: number | null,
            line?: number | null,
            liquidity?: string | null,
            liquidityAmm?: number | null,
            liquidityClob?: number | null,
            liquidityNum?: number | null,
            lowerBound?: string | null,
            lowerBoundDate?: string | null,
            mailchimpTag?: string | null,
            makerBaseFee?: number | null,
            makerRebatesFeeShareBps?: number | null,
            manualActivation?: boolean | null,
            marketGroup?: number | null,
            marketMakerAddress?: string | null,
            marketMetadata?: Record<string, any> | null,
            marketType?: string | null,
            markets?: {
              $schema?: string | null,
              acceptingOrders?: boolean | null,
              acceptingOrdersTimestamp?: string | null,
              acceptingOrdersUntil?: string | null,
              active?: boolean | null,
              ammType?: string | null,
              approved?: boolean | null,
              archived?: boolean | null,
              automaticallyActive?: boolean | null,
              automaticallyResolved?: boolean | null,
              bestAsk?: number | null,
              bestBid?: number | null,
              category?: string | null,
              categoryMailchimpTag?: string | null,
              chartColor?: string | null,
              clearBookOnStart?: boolean | null,
              clobRewards?: {
                assetAddress?: string | null,
                conditionId?: string | null,
                endDate?: string | null,
                id?: string | null,
                rewardsAmount?: number | null,
                rewardsDailyRate?: number | null,
                startDate?: string | null
              }[] | null | null,
              clobTokenIds?: string | null,
              closed?: boolean | null,
              closedTime?: string | null,
              comboStatus?: string | null,
              commentsEnabled?: boolean | null,
              competitive?: number | null,
              conditionId?: string | null,
              createdAt?: string | null,
              createdBy?: number | null,
              creator?: string | null,
              cryptoMarketConfig?: {
                $schema?: string | null,
                asset?: string | null,
                duration?: string | null,
                id?: string | null,
                twapEnabled?: boolean | null,
                twapLookbackSeconds?: number | null
              } | null,
              cryptoMarketConfigId?: string | null,
              curationOrder?: number | null,
              customLiveness?: number | null,
              cyom?: boolean | null,
              denominationToken?: string | null,
              deploying?: boolean | null,
              deployingTimestamp?: string | null,
              description?: string | null,
              disqusThread?: string | null,
              enableOrderBook?: boolean | null,
              endDate?: string | null,
              endDateIso?: string | null,
              eventStartTime?: string | null,
              events?: {
                $schema?: string | null,
                active?: boolean | null,
                archived?: boolean | null,
                automaticallyActive?: boolean | null,
                automaticallyResolved?: boolean | null,
                bestLines?: {
                  id?: string | null,
                  line?: number | null,
                  lineType?: string | null
                }[] | null | null,
                cantEstimate?: boolean | null,
                carouselMap?: string | null,
                category?: string | null,
                closed?: boolean | null,
                closedTime?: string | null,
                color?: string | null,
                commentCount?: number | null,
                commentsEnabled?: boolean | null,
                competitive?: number | null,
                countryName?: string | null,
                createdAt?: string | null,
                createdBy?: string | null,
                creationDate?: string | null,
                cumulativeMarkets?: boolean | null,
                cyom?: boolean | null,
                deploying?: boolean | null,
                deployingTimestamp?: string | null,
                description?: string | null,
                disqusThread?: string | null,
                elapsed?: string | null,
                electionType?: string | null,
                enableNegRisk?: boolean | null,
                enableOrderBook?: boolean | null,
                endDate?: string | null,
                ended?: boolean | null,
                estimateValue?: boolean | null,
                estimatedValue?: string | null,
                eventCreators?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  creatorHandle?: string | null,
                  creatorImage?: string | null,
                  creatorName?: string | null,
                  creatorUrl?: string | null,
                  id?: string | null,
                  updatedAt?: string | null
                }[] | null | null,
                eventDate?: string | null,
                eventMetadata?: Record<string, any> | null,
                eventWeek?: number | null,
                externalPartners?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  eventId?: number | null,
                  externalId?: string | null,
                  id?: number | null,
                  partner?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    id?: number | null,
                    name?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null
                  } | null,
                  partnerId?: number | null,
                  updatedAt?: string | null
                }[] | null | null,
                facets?: {
                  abbreviation?: string | null,
                  appliesTo?: string[] | null | null,
                  label?: string | null,
                  parents?: string[] | null | null,
                  slug?: string | null
                }[] | null | null,
                featured?: boolean | null,
                featuredImage?: string | null,
                featuredOrder?: number | null,
                finishedTimestamp?: string | null,
                gameId?: number | null,
                gmpChartMode?: string | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                isTemplate?: boolean | null,
                lastHighlight?: string | null,
                lastHighlightAt?: string | null,
                lastHighlightType?: string | null,
                liquidity?: number | null,
                liquidityAmm?: number | null,
                liquidityClob?: number | null,
                live?: boolean | null,
                markets?: {
                  $schema?: string | null,
                  acceptingOrders?: boolean | null,
                  acceptingOrdersTimestamp?: string | null,
                  acceptingOrdersUntil?: string | null,
                  active?: boolean | null,
                  ammType?: string | null,
                  approved?: boolean | null,
                  archived?: boolean | null,
                  automaticallyActive?: boolean | null,
                  automaticallyResolved?: boolean | null,
                  bestAsk?: number | null,
                  bestBid?: number | null,
                  category?: string | null,
                  categoryMailchimpTag?: string | null,
                  chartColor?: string | null,
                  clearBookOnStart?: boolean | null,
                  clobRewards?: {
                    assetAddress?: string | null,
                    conditionId?: string | null,
                    endDate?: string | null,
                    id?: string | null,
                    rewardsAmount?: number | null,
                    rewardsDailyRate?: number | null,
                    startDate?: string | null
                  }[] | null | null,
                  clobTokenIds?: string | null,
                  closed?: boolean | null,
                  closedTime?: string | null,
                  comboStatus?: string | null,
                  commentsEnabled?: boolean | null,
                  competitive?: number | null,
                  conditionId?: string | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  creator?: string | null,
                  cryptoMarketConfig?: {
                    $schema?: string | null,
                    asset?: string | null,
                    duration?: string | null,
                    id?: string | null,
                    twapEnabled?: boolean | null,
                    twapLookbackSeconds?: number | null
                  } | null,
                  cryptoMarketConfigId?: string | null,
                  curationOrder?: number | null,
                  customLiveness?: number | null,
                  cyom?: boolean | null,
                  denominationToken?: string | null,
                  deploying?: boolean | null,
                  deployingTimestamp?: string | null,
                  description?: string | null,
                  disqusThread?: string | null,
                  enableOrderBook?: boolean | null,
                  endDate?: string | null,
                  endDateIso?: string | null,
                  eventStartTime?: string | null,
                  events?: (recursive)[] | null | null,
                  facets?: {
                    abbreviation?: string | null,
                    appliesTo?: string[] | null | null,
                    label?: string | null,
                    parents?: string[] | null | null,
                    slug?: string | null
                  }[] | null | null,
                  fallbackResolutionType?: string | null,
                  featured?: boolean | null,
                  fee?: string | null,
                  feeExponent?: number | null,
                  feeRate?: number | null,
                  feeSchedule?: {
                    exponent?: number | null,
                    rate?: number | null,
                    rebateRate?: number | null,
                    takerOnly?: boolean | null
                  } | null,
                  feeType?: string | null | null,
                  feesEnabled?: boolean | null,
                  formatType?: string | null,
                  fpmmLive?: boolean | null,
                  funded?: boolean | null,
                  fundedTimestamp?: string | null,
                  gameId?: string | null,
                  gameStartTime?: string | null,
                  groupItemRange?: string | null,
                  groupItemThreshold?: string | null,
                  groupItemTitle?: string | null,
                  hasReviewedDates?: boolean | null,
                  holdingRewardsEnabled?: boolean | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  instrumentIndex?: number | null,
                  instrumentKind?: string | null,
                  lastTradePrice?: number | null,
                  line?: number | null,
                  liquidity?: string | null,
                  liquidityAmm?: number | null,
                  liquidityClob?: number | null,
                  liquidityNum?: number | null,
                  lowerBound?: string | null,
                  lowerBoundDate?: string | null,
                  mailchimpTag?: string | null,
                  makerBaseFee?: number | null,
                  makerRebatesFeeShareBps?: number | null,
                  manualActivation?: boolean | null,
                  marketGroup?: number | null,
                  marketMakerAddress?: string | null,
                  marketMetadata?: Record<string, any> | null,
                  marketType?: string | null,
                  markets?: (recursive)[] | null | null,
                  negRisk?: boolean | null,
                  negRiskMarketID?: string | null,
                  negRiskOther?: boolean | null,
                  negRiskRequestID?: string | null,
                  new?: boolean | null,
                  notificationsEnabled?: boolean | null,
                  onchainEventId?: string | null,
                  oneDayPriceChange?: number | null,
                  oneHourPriceChange?: number | null,
                  oneMonthPriceChange?: number | null,
                  oneWeekPriceChange?: number | null,
                  oneYearPriceChange?: number | null,
                  orderMinSize?: number | null,
                  orderPriceMinTickSize?: number | null,
                  outcomePrices?: string | null,
                  outcomes?: string | null,
                  pastSlugs?: string | null,
                  pendingDeployment?: boolean | null,
                  positionIds?: string[] | null | null,
                  question?: string | null,
                  questionID?: string | null,
                  ready?: boolean | null,
                  readyForCron?: boolean | null,
                  readyTimestamp?: string | null,
                  requestId?: string | null,
                  resolutionMechanism?: string | null | null,
                  resolutionSource?: string | null,
                  resolutionStatus?: string | null,
                  resolvedBy?: string | null,
                  restricted?: boolean | null,
                  rewardsMaxSpread?: number | null,
                  rewardsMinSize?: number | null,
                  rfqEnabled?: boolean | null,
                  scheduledDeploymentTimestamp?: string | null,
                  score?: number | null,
                  secondsDelay?: number | null,
                  sentDiscord?: boolean | null,
                  seriesColor?: string | null,
                  shortOutcomes?: string | null,
                  showGmpOutcome?: boolean | null,
                  showGmpSeries?: boolean | null,
                  slug?: string | null,
                  sponsorImage?: string | null,
                  sponsorName?: string | null,
                  sportsMarketType?: string | null,
                  spread?: number | null,
                  startDate?: string | null,
                  startDateIso?: string | null,
                  subcategory?: string | null,
                  submitted_by?: string | null,
                  tags?: {
                    $schema?: string | null,
                    activeEventsCount?: number | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    forceHide?: boolean | null,
                    forceShow?: boolean | null,
                    id?: string | null,
                    isCarousel?: boolean | null,
                    label?: string | null,
                    publishedAt?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null
                  }[] | null | null,
                  takerBaseFee?: number | null,
                  teamAID?: string | null,
                  teamBID?: string | null,
                  tradingEligible?: boolean | null | null,
                  twitterCardImage?: string | null,
                  twitterCardLastRefreshed?: string | null,
                  twitterCardLastValidated?: string | null,
                  twitterCardLocation?: string | null,
                  umaBond?: string | null,
                  umaEndDate?: string | null,
                  umaEndDateIso?: string | null,
                  umaResolutionStatus?: string | null,
                  umaResolutionStatuses?: string | null,
                  umaReward?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null,
                  upperBound?: string | null,
                  upperBoundDate?: string | null,
                  version?: string | null,
                  volume?: string | null,
                  volume1mo?: number | null,
                  volume1moAmm?: number | null,
                  volume1moClob?: number | null,
                  volume1wk?: number | null,
                  volume1wkAmm?: number | null,
                  volume1wkClob?: number | null,
                  volume1yr?: number | null,
                  volume1yrAmm?: number | null,
                  volume1yrClob?: number | null,
                  volume24hr?: number | null,
                  volume24hrAmm?: number | null,
                  volume24hrClob?: number | null,
                  volumeAmm?: number | null,
                  volumeClob?: number | null,
                  volumeNum?: number | null,
                  wideFormat?: boolean | null,
                  xAxisValue?: string | null,
                  yAxisValue?: string | null
                }[] | null | null,
                maxMarketCount?: number | null,
                moduleType?: string | null,
                negRisk?: boolean | null,
                negRiskAugmented?: boolean | null,
                negRiskFeeBips?: number | null,
                negRiskMarketID?: string | null,
                new?: boolean | null,
                openInterest?: number | null,
                parentEventId?: number | null,
                pendingDeployment?: boolean | null,
                period?: string | null,
                published_at?: string | null,
                rescheduledFromGameId?: number | null,
                resolutionMode?: string | null,
                resolutionSource?: string | null,
                restricted?: boolean | null,
                scheduledDeploymentTimestamp?: string | null,
                score?: string | null,
                series?: {
                  $schema?: string | null,
                  active?: boolean | null,
                  archived?: boolean | null,
                  cgAssetName?: string | null,
                  closed?: boolean | null,
                  commentCount?: number | null,
                  commentsEnabled?: boolean | null,
                  competitive?: string | null,
                  createdAt?: string | null,
                  createdBy?: string | null,
                  description?: string | null,
                  events?: {
                    $schema?: string | null,
                    active?: boolean | null,
                    archived?: boolean | null,
                    automaticallyActive?: boolean | null,
                    automaticallyResolved?: boolean | null,
                    bestLines?: {
                      id?: string | null,
                      line?: number | null,
                      lineType?: string | null
                    }[] | null | null,
                    cantEstimate?: boolean | null,
                    carouselMap?: string | null,
                    category?: string | null,
                    closed?: boolean | null,
                    closedTime?: string | null,
                    color?: string | null,
                    commentCount?: number | null,
                    commentsEnabled?: boolean | null,
                    competitive?: number | null,
                    countryName?: string | null,
                    createdAt?: string | null,
                    createdBy?: string | null,
                    creationDate?: string | null,
                    cumulativeMarkets?: boolean | null,
                    cyom?: boolean | null,
                    deploying?: boolean | null,
                    deployingTimestamp?: string | null,
                    description?: string | null,
                    disqusThread?: string | null,
                    elapsed?: string | null,
                    electionType?: string | null,
                    enableNegRisk?: boolean | null,
                    enableOrderBook?: boolean | null,
                    endDate?: string | null,
                    ended?: boolean | null,
                    estimateValue?: boolean | null,
                    estimatedValue?: string | null,
                    eventCreators?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      creatorHandle?: string | null,
                      creatorImage?: string | null,
                      creatorName?: string | null,
                      creatorUrl?: string | null,
                      id?: string | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    eventDate?: string | null,
                    eventMetadata?: Record<string, any> | null,
                    eventWeek?: number | null,
                    externalPartners?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      eventId?: number | null,
                      externalId?: string | null,
                      id?: number | null,
                      partner?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        id?: number | null,
                        name?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null
                      } | null,
                      partnerId?: number | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    facets?: {
                      abbreviation?: string | null,
                      appliesTo?: string[] | null | null,
                      label?: string | null,
                      parents?: string[] | null | null,
                      slug?: string | null
                    }[] | null | null,
                    featured?: boolean | null,
                    featuredImage?: string | null,
                    featuredOrder?: number | null,
                    finishedTimestamp?: string | null,
                    gameId?: number | null,
                    gmpChartMode?: string | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    isTemplate?: boolean | null,
                    lastHighlight?: string | null,
                    lastHighlightAt?: string | null,
                    lastHighlightType?: string | null,
                    liquidity?: number | null,
                    liquidityAmm?: number | null,
                    liquidityClob?: number | null,
                    live?: boolean | null,
                    markets?: {
                      $schema?: string | null,
                      acceptingOrders?: boolean | null,
                      acceptingOrdersTimestamp?: string | null,
                      acceptingOrdersUntil?: string | null,
                      active?: boolean | null,
                      ammType?: string | null,
                      approved?: boolean | null,
                      archived?: boolean | null,
                      automaticallyActive?: boolean | null,
                      automaticallyResolved?: boolean | null,
                      bestAsk?: number | null,
                      bestBid?: number | null,
                      category?: string | null,
                      categoryMailchimpTag?: string | null,
                      chartColor?: string | null,
                      clearBookOnStart?: boolean | null,
                      clobRewards?: {
                        assetAddress?: string | null,
                        conditionId?: string | null,
                        endDate?: string | null,
                        id?: string | null,
                        rewardsAmount?: number | null,
                        rewardsDailyRate?: number | null,
                        startDate?: string | null
                      }[] | null | null,
                      clobTokenIds?: string | null,
                      closed?: boolean | null,
                      closedTime?: string | null,
                      comboStatus?: string | null,
                      commentsEnabled?: boolean | null,
                      competitive?: number | null,
                      conditionId?: string | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      creator?: string | null,
                      cryptoMarketConfig?: {
                        $schema?: string | null,
                        asset?: string | null,
                        duration?: string | null,
                        id?: string | null,
                        twapEnabled?: boolean | null,
                        twapLookbackSeconds?: number | null
                      } | null,
                      cryptoMarketConfigId?: string | null,
                      curationOrder?: number | null,
                      customLiveness?: number | null,
                      cyom?: boolean | null,
                      denominationToken?: string | null,
                      deploying?: boolean | null,
                      deployingTimestamp?: string | null,
                      description?: string | null,
                      disqusThread?: string | null,
                      enableOrderBook?: boolean | null,
                      endDate?: string | null,
                      endDateIso?: string | null,
                      eventStartTime?: string | null,
                      events?: (recursive)[] | null | null,
                      facets?: {
                        abbreviation?: string | null,
                        appliesTo?: string[] | null | null,
                        label?: string | null,
                        parents?: string[] | null | null,
                        slug?: string | null
                      }[] | null | null,
                      fallbackResolutionType?: string | null,
                      featured?: boolean | null,
                      fee?: string | null,
                      feeExponent?: number | null,
                      feeRate?: number | null,
                      feeSchedule?: {
                        exponent?: number | null,
                        rate?: number | null,
                        rebateRate?: number | null,
                        takerOnly?: boolean | null
                      } | null,
                      feeType?: string | null | null,
                      feesEnabled?: boolean | null,
                      formatType?: string | null,
                      fpmmLive?: boolean | null,
                      funded?: boolean | null,
                      fundedTimestamp?: string | null,
                      gameId?: string | null,
                      gameStartTime?: string | null,
                      groupItemRange?: string | null,
                      groupItemThreshold?: string | null,
                      groupItemTitle?: string | null,
                      hasReviewedDates?: boolean | null,
                      holdingRewardsEnabled?: boolean | null,
                      icon?: string | null,
                      id?: string | null,
                      image?: string | null,
                      instrumentIndex?: number | null,
                      instrumentKind?: string | null,
                      lastTradePrice?: number | null,
                      line?: number | null,
                      liquidity?: string | null,
                      liquidityAmm?: number | null,
                      liquidityClob?: number | null,
                      liquidityNum?: number | null,
                      lowerBound?: string | null,
                      lowerBoundDate?: string | null,
                      mailchimpTag?: string | null,
                      makerBaseFee?: number | null,
                      makerRebatesFeeShareBps?: number | null,
                      manualActivation?: boolean | null,
                      marketGroup?: number | null,
                      marketMakerAddress?: string | null,
                      marketMetadata?: Record<string, any> | null,
                      marketType?: string | null,
                      markets?: (recursive)[] | null | null,
                      negRisk?: boolean | null,
                      negRiskMarketID?: string | null,
                      negRiskOther?: boolean | null,
                      negRiskRequestID?: string | null,
                      new?: boolean | null,
                      notificationsEnabled?: boolean | null,
                      onchainEventId?: string | null,
                      oneDayPriceChange?: number | null,
                      oneHourPriceChange?: number | null,
                      oneMonthPriceChange?: number | null,
                      oneWeekPriceChange?: number | null,
                      oneYearPriceChange?: number | null,
                      orderMinSize?: number | null,
                      orderPriceMinTickSize?: number | null,
                      outcomePrices?: string | null,
                      outcomes?: string | null,
                      pastSlugs?: string | null,
                      pendingDeployment?: boolean | null,
                      positionIds?: string[] | null | null,
                      question?: string | null,
                      questionID?: string | null,
                      ready?: boolean | null,
                      readyForCron?: boolean | null,
                      readyTimestamp?: string | null,
                      requestId?: string | null,
                      resolutionMechanism?: string | null | null,
                      resolutionSource?: string | null,
                      resolutionStatus?: string | null,
                      resolvedBy?: string | null,
                      restricted?: boolean | null,
                      rewardsMaxSpread?: number | null,
                      rewardsMinSize?: number | null,
                      rfqEnabled?: boolean | null,
                      scheduledDeploymentTimestamp?: string | null,
                      score?: number | null,
                      secondsDelay?: number | null,
                      sentDiscord?: boolean | null,
                      seriesColor?: string | null,
                      shortOutcomes?: string | null,
                      showGmpOutcome?: boolean | null,
                      showGmpSeries?: boolean | null,
                      slug?: string | null,
                      sponsorImage?: string | null,
                      sponsorName?: string | null,
                      sportsMarketType?: string | null,
                      spread?: number | null,
                      startDate?: string | null,
                      startDateIso?: string | null,
                      subcategory?: string | null,
                      submitted_by?: string | null,
                      tags?: {
                        $schema?: string | null,
                        activeEventsCount?: number | null,
                        createdAt?: string | null,
                        createdBy?: number | null,
                        forceHide?: boolean | null,
                        forceShow?: boolean | null,
                        id?: string | null,
                        isCarousel?: boolean | null,
                        label?: string | null,
                        publishedAt?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null,
                        updatedBy?: number | null
                      }[] | null | null,
                      takerBaseFee?: number | null,
                      teamAID?: string | null,
                      teamBID?: string | null,
                      tradingEligible?: boolean | null | null,
                      twitterCardImage?: string | null,
                      twitterCardLastRefreshed?: string | null,
                      twitterCardLastValidated?: string | null,
                      twitterCardLocation?: string | null,
                      umaBond?: string | null,
                      umaEndDate?: string | null,
                      umaEndDateIso?: string | null,
                      umaResolutionStatus?: string | null,
                      umaResolutionStatuses?: string | null,
                      umaReward?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null,
                      upperBound?: string | null,
                      upperBoundDate?: string | null,
                      version?: string | null,
                      volume?: string | null,
                      volume1mo?: number | null,
                      volume1moAmm?: number | null,
                      volume1moClob?: number | null,
                      volume1wk?: number | null,
                      volume1wkAmm?: number | null,
                      volume1wkClob?: number | null,
                      volume1yr?: number | null,
                      volume1yrAmm?: number | null,
                      volume1yrClob?: number | null,
                      volume24hr?: number | null,
                      volume24hrAmm?: number | null,
                      volume24hrClob?: number | null,
                      volumeAmm?: number | null,
                      volumeClob?: number | null,
                      volumeNum?: number | null,
                      wideFormat?: boolean | null,
                      xAxisValue?: string | null,
                      yAxisValue?: string | null
                    }[] | null | null,
                    maxMarketCount?: number | null,
                    moduleType?: string | null,
                    negRisk?: boolean | null,
                    negRiskAugmented?: boolean | null,
                    negRiskFeeBips?: number | null,
                    negRiskMarketID?: string | null,
                    new?: boolean | null,
                    openInterest?: number | null,
                    parentEventId?: number | null,
                    pendingDeployment?: boolean | null,
                    period?: string | null,
                    published_at?: string | null,
                    rescheduledFromGameId?: number | null,
                    resolutionMode?: string | null,
                    resolutionSource?: string | null,
                    restricted?: boolean | null,
                    scheduledDeploymentTimestamp?: string | null,
                    score?: string | null,
                    series?: {
                      $schema?: string | null,
                      active?: boolean | null,
                      archived?: boolean | null,
                      cgAssetName?: string | null,
                      closed?: boolean | null,
                      commentCount?: number | null,
                      commentsEnabled?: boolean | null,
                      competitive?: string | null,
                      createdAt?: string | null,
                      createdBy?: string | null,
                      description?: string | null,
                      events?: (recursive)[] | null | null,
                      featured?: boolean | null,
                      icon?: string | null,
                      id?: string | null,
                      image?: string | null,
                      isTemplate?: boolean | null,
                      layout?: string | null,
                      liquidity?: number | null,
                      new?: boolean | null,
                      publishedAt?: string | null,
                      pythTokenID?: string | null,
                      recurrence?: string | null,
                      restricted?: boolean | null,
                      score?: number | null,
                      seriesType?: string | null,
                      slug?: string | null,
                      startDate?: string | null,
                      subtitle?: string | null,
                      templateVariables?: boolean | null,
                      ticker?: string | null,
                      title?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: string | null,
                      volume?: number | null,
                      volume24hr?: number | null
                    }[] | null | null,
                    seriesSlug?: string | null,
                    showAllOutcomes?: boolean | null,
                    showMarketImages?: boolean | null,
                    slug?: string | null,
                    sortBy?: string | null,
                    sport?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      externalPartners?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        externalId?: string | null,
                        id?: number | null,
                        partner?: {
                          $schema?: string | null,
                          createdAt?: string | null,
                          id?: number | null,
                          name?: string | null,
                          slug?: string | null,
                          updatedAt?: string | null
                        } | null,
                        partnerId?: number | null,
                        sportId?: number | null,
                        updatedAt?: string | null
                      }[] | null | null,
                      id?: number | null,
                      image?: string | null,
                      name?: string | null,
                      ordering?: string | null,
                      primaryTagId?: number | null,
                      resolution?: string | null,
                      series?: string | null,
                      sport?: string | null,
                      tags?: string | null,
                      updatedAt?: string | null
                    } | null,
                    spreadsMainLine?: number | null,
                    startDate?: string | null,
                    startTime?: string | null,
                    subEvents?: (string | null)[] | null | null,
                    subcategory?: string | null,
                    subtitle?: string | null,
                    tag_labels?: string[] | null | null,
                    tag_slugs?: string[] | null | null,
                    tags?: {
                      $schema?: string | null,
                      activeEventsCount?: number | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      forceHide?: boolean | null,
                      forceShow?: boolean | null,
                      id?: string | null,
                      isCarousel?: boolean | null,
                      label?: string | null,
                      publishedAt?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null
                    }[] | null | null,
                    teams?: {
                      $schema?: string | null,
                      abbreviation?: string | null,
                      alias?: string | null,
                      color?: string | null,
                      createdAt?: string | null,
                      externalPartners?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        externalId?: string | null,
                        id?: number | null,
                        partner?: {
                          $schema?: string | null,
                          createdAt?: string | null,
                          id?: number | null,
                          name?: string | null,
                          slug?: string | null,
                          updatedAt?: string | null
                        } | null,
                        partnerId?: number | null,
                        source?: string | null,
                        teamId?: number | null,
                        updatedAt?: string | null
                      }[] | null | null,
                      id?: number | null,
                      league?: string | null,
                      logo?: string | null,
                      name?: string | null,
                      ordering?: string | null,
                      providerId?: number | null,
                      record?: string | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    templateVariables?: string | null,
                    ticker?: string | null,
                    title?: string | null,
                    totalsMainLine?: number | null,
                    turnProviderId?: string | null,
                    tweetCount?: number | null,
                    updatedAt?: string | null,
                    updatedBy?: string | null,
                    usId?: string | null,
                    version?: string | null,
                    volume?: number | null,
                    volume1mo?: number | null,
                    volume1wk?: number | null,
                    volume1yr?: number | null,
                    volume24hr?: number | null
                  }[] | null | null,
                  featured?: boolean | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  isTemplate?: boolean | null,
                  layout?: string | null,
                  liquidity?: number | null,
                  new?: boolean | null,
                  publishedAt?: string | null,
                  pythTokenID?: string | null,
                  recurrence?: string | null,
                  restricted?: boolean | null,
                  score?: number | null,
                  seriesType?: string | null,
                  slug?: string | null,
                  startDate?: string | null,
                  subtitle?: string | null,
                  templateVariables?: boolean | null,
                  ticker?: string | null,
                  title?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: string | null,
                  volume?: number | null,
                  volume24hr?: number | null
                }[] | null | null,
                seriesSlug?: string | null,
                showAllOutcomes?: boolean | null,
                showMarketImages?: boolean | null,
                slug?: string | null,
                sortBy?: string | null,
                sport?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  externalPartners?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    externalId?: string | null,
                    id?: number | null,
                    partner?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      id?: number | null,
                      name?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null
                    } | null,
                    partnerId?: number | null,
                    sportId?: number | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  id?: number | null,
                  image?: string | null,
                  name?: string | null,
                  ordering?: string | null,
                  primaryTagId?: number | null,
                  resolution?: string | null,
                  series?: string | null,
                  sport?: string | null,
                  tags?: string | null,
                  updatedAt?: string | null
                } | null,
                spreadsMainLine?: number | null,
                startDate?: string | null,
                startTime?: string | null,
                subEvents?: (string | null)[] | null | null,
                subcategory?: string | null,
                subtitle?: string | null,
                tag_labels?: string[] | null | null,
                tag_slugs?: string[] | null | null,
                tags?: {
                  $schema?: string | null,
                  activeEventsCount?: number | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  forceHide?: boolean | null,
                  forceShow?: boolean | null,
                  id?: string | null,
                  isCarousel?: boolean | null,
                  label?: string | null,
                  publishedAt?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null
                }[] | null | null,
                teams?: {
                  $schema?: string | null,
                  abbreviation?: string | null,
                  alias?: string | null,
                  color?: string | null,
                  createdAt?: string | null,
                  externalPartners?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    externalId?: string | null,
                    id?: number | null,
                    partner?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      id?: number | null,
                      name?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null
                    } | null,
                    partnerId?: number | null,
                    source?: string | null,
                    teamId?: number | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  id?: number | null,
                  league?: string | null,
                  logo?: string | null,
                  name?: string | null,
                  ordering?: string | null,
                  providerId?: number | null,
                  record?: string | null,
                  updatedAt?: string | null
                }[] | null | null,
                templateVariables?: string | null,
                ticker?: string | null,
                title?: string | null,
                totalsMainLine?: number | null,
                turnProviderId?: string | null,
                tweetCount?: number | null,
                updatedAt?: string | null,
                updatedBy?: string | null,
                usId?: string | null,
                version?: string | null,
                volume?: number | null,
                volume1mo?: number | null,
                volume1wk?: number | null,
                volume1yr?: number | null,
                volume24hr?: number | null
              }[] | null | null,
              facets?: {
                abbreviation?: string | null,
                appliesTo?: string[] | null | null,
                label?: string | null,
                parents?: string[] | null | null,
                slug?: string | null
              }[] | null | null,
              fallbackResolutionType?: string | null,
              featured?: boolean | null,
              fee?: string | null,
              feeExponent?: number | null,
              feeRate?: number | null,
              feeSchedule?: {
                exponent?: number | null,
                rate?: number | null,
                rebateRate?: number | null,
                takerOnly?: boolean | null
              } | null,
              feeType?: string | null | null,
              feesEnabled?: boolean | null,
              formatType?: string | null,
              fpmmLive?: boolean | null,
              funded?: boolean | null,
              fundedTimestamp?: string | null,
              gameId?: string | null,
              gameStartTime?: string | null,
              groupItemRange?: string | null,
              groupItemThreshold?: string | null,
              groupItemTitle?: string | null,
              hasReviewedDates?: boolean | null,
              holdingRewardsEnabled?: boolean | null,
              icon?: string | null,
              id?: string | null,
              image?: string | null,
              instrumentIndex?: number | null,
              instrumentKind?: string | null,
              lastTradePrice?: number | null,
              line?: number | null,
              liquidity?: string | null,
              liquidityAmm?: number | null,
              liquidityClob?: number | null,
              liquidityNum?: number | null,
              lowerBound?: string | null,
              lowerBoundDate?: string | null,
              mailchimpTag?: string | null,
              makerBaseFee?: number | null,
              makerRebatesFeeShareBps?: number | null,
              manualActivation?: boolean | null,
              marketGroup?: number | null,
              marketMakerAddress?: string | null,
              marketMetadata?: Record<string, any> | null,
              marketType?: string | null,
              markets?: (recursive)[] | null | null,
              negRisk?: boolean | null,
              negRiskMarketID?: string | null,
              negRiskOther?: boolean | null,
              negRiskRequestID?: string | null,
              new?: boolean | null,
              notificationsEnabled?: boolean | null,
              onchainEventId?: string | null,
              oneDayPriceChange?: number | null,
              oneHourPriceChange?: number | null,
              oneMonthPriceChange?: number | null,
              oneWeekPriceChange?: number | null,
              oneYearPriceChange?: number | null,
              orderMinSize?: number | null,
              orderPriceMinTickSize?: number | null,
              outcomePrices?: string | null,
              outcomes?: string | null,
              pastSlugs?: string | null,
              pendingDeployment?: boolean | null,
              positionIds?: string[] | null | null,
              question?: string | null,
              questionID?: string | null,
              ready?: boolean | null,
              readyForCron?: boolean | null,
              readyTimestamp?: string | null,
              requestId?: string | null,
              resolutionMechanism?: string | null | null,
              resolutionSource?: string | null,
              resolutionStatus?: string | null,
              resolvedBy?: string | null,
              restricted?: boolean | null,
              rewardsMaxSpread?: number | null,
              rewardsMinSize?: number | null,
              rfqEnabled?: boolean | null,
              scheduledDeploymentTimestamp?: string | null,
              score?: number | null,
              secondsDelay?: number | null,
              sentDiscord?: boolean | null,
              seriesColor?: string | null,
              shortOutcomes?: string | null,
              showGmpOutcome?: boolean | null,
              showGmpSeries?: boolean | null,
              slug?: string | null,
              sponsorImage?: string | null,
              sponsorName?: string | null,
              sportsMarketType?: string | null,
              spread?: number | null,
              startDate?: string | null,
              startDateIso?: string | null,
              subcategory?: string | null,
              submitted_by?: string | null,
              tags?: {
                $schema?: string | null,
                activeEventsCount?: number | null,
                createdAt?: string | null,
                createdBy?: number | null,
                forceHide?: boolean | null,
                forceShow?: boolean | null,
                id?: string | null,
                isCarousel?: boolean | null,
                label?: string | null,
                publishedAt?: string | null,
                slug?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null
              }[] | null | null,
              takerBaseFee?: number | null,
              teamAID?: string | null,
              teamBID?: string | null,
              tradingEligible?: boolean | null | null,
              twitterCardImage?: string | null,
              twitterCardLastRefreshed?: string | null,
              twitterCardLastValidated?: string | null,
              twitterCardLocation?: string | null,
              umaBond?: string | null,
              umaEndDate?: string | null,
              umaEndDateIso?: string | null,
              umaResolutionStatus?: string | null,
              umaResolutionStatuses?: string | null,
              umaReward?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null,
              upperBound?: string | null,
              upperBoundDate?: string | null,
              version?: string | null,
              volume?: string | null,
              volume1mo?: number | null,
              volume1moAmm?: number | null,
              volume1moClob?: number | null,
              volume1wk?: number | null,
              volume1wkAmm?: number | null,
              volume1wkClob?: number | null,
              volume1yr?: number | null,
              volume1yrAmm?: number | null,
              volume1yrClob?: number | null,
              volume24hr?: number | null,
              volume24hrAmm?: number | null,
              volume24hrClob?: number | null,
              volumeAmm?: number | null,
              volumeClob?: number | null,
              volumeNum?: number | null,
              wideFormat?: boolean | null,
              xAxisValue?: string | null,
              yAxisValue?: string | null
            }[] | null | null,
            negRisk?: boolean | null,
            negRiskMarketID?: string | null,
            negRiskOther?: boolean | null,
            negRiskRequestID?: string | null,
            new?: boolean | null,
            notificationsEnabled?: boolean | null,
            onchainEventId?: string | null,
            oneDayPriceChange?: number | null,
            oneHourPriceChange?: number | null,
            oneMonthPriceChange?: number | null,
            oneWeekPriceChange?: number | null,
            oneYearPriceChange?: number | null,
            orderMinSize?: number | null,
            orderPriceMinTickSize?: number | null,
            outcomePrices?: string | null,
            outcomes?: string | null,
            pastSlugs?: string | null,
            pendingDeployment?: boolean | null,
            positionIds?: string[] | null | null,
            question?: string | null,
            questionID?: string | null,
            ready?: boolean | null,
            readyForCron?: boolean | null,
            readyTimestamp?: string | null,
            requestId?: string | null,
            resolutionMechanism?: string | null | null,
            resolutionSource?: string | null,
            resolutionStatus?: string | null,
            resolvedBy?: string | null,
            restricted?: boolean | null,
            rewardsMaxSpread?: number | null,
            rewardsMinSize?: number | null,
            rfqEnabled?: boolean | null,
            scheduledDeploymentTimestamp?: string | null,
            score?: number | null,
            secondsDelay?: number | null,
            sentDiscord?: boolean | null,
            seriesColor?: string | null,
            shortOutcomes?: string | null,
            showGmpOutcome?: boolean | null,
            showGmpSeries?: boolean | null,
            slug?: string | null,
            sponsorImage?: string | null,
            sponsorName?: string | null,
            sportsMarketType?: string | null,
            spread?: number | null,
            startDate?: string | null,
            startDateIso?: string | null,
            subcategory?: string | null,
            submitted_by?: string | null,
            tags?: {
              $schema?: string | null,
              activeEventsCount?: number | null,
              createdAt?: string | null,
              createdBy?: number | null,
              forceHide?: boolean | null,
              forceShow?: boolean | null,
              id?: string | null,
              isCarousel?: boolean | null,
              label?: string | null,
              publishedAt?: string | null,
              slug?: string | null,
              updatedAt?: string | null,
              updatedBy?: number | null
            }[] | null | null,
            takerBaseFee?: number | null,
            teamAID?: string | null,
            teamBID?: string | null,
            tradingEligible?: boolean | null | null,
            twitterCardImage?: string | null,
            twitterCardLastRefreshed?: string | null,
            twitterCardLastValidated?: string | null,
            twitterCardLocation?: string | null,
            umaBond?: string | null,
            umaEndDate?: string | null,
            umaEndDateIso?: string | null,
            umaResolutionStatus?: string | null,
            umaResolutionStatuses?: string | null,
            umaReward?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null,
            upperBound?: string | null,
            upperBoundDate?: string | null,
            version?: string | null,
            volume?: string | null,
            volume1mo?: number | null,
            volume1moAmm?: number | null,
            volume1moClob?: number | null,
            volume1wk?: number | null,
            volume1wkAmm?: number | null,
            volume1wkClob?: number | null,
            volume1yr?: number | null,
            volume1yrAmm?: number | null,
            volume1yrClob?: number | null,
            volume24hr?: number | null,
            volume24hrAmm?: number | null,
            volume24hrClob?: number | null,
            volumeAmm?: number | null,
            volumeClob?: number | null,
            volumeNum?: number | null,
            wideFormat?: boolean | null,
            xAxisValue?: string | null,
            yAxisValue?: string | null
          }[] | null | null,
          maxMarketCount?: number | null,
          moduleType?: string | null,
          negRisk?: boolean | null,
          negRiskAugmented?: boolean | null,
          negRiskFeeBips?: number | null,
          negRiskMarketID?: string | null,
          new?: boolean | null,
          openInterest?: number | null,
          parentEventId?: number | null,
          pendingDeployment?: boolean | null,
          period?: string | null,
          published_at?: string | null,
          rescheduledFromGameId?: number | null,
          resolutionMode?: string | null,
          resolutionSource?: string | null,
          restricted?: boolean | null,
          scheduledDeploymentTimestamp?: string | null,
          score?: string | null,
          series?: {
            $schema?: string | null,
            active?: boolean | null,
            archived?: boolean | null,
            cgAssetName?: string | null,
            closed?: boolean | null,
            commentCount?: number | null,
            commentsEnabled?: boolean | null,
            competitive?: string | null,
            createdAt?: string | null,
            createdBy?: string | null,
            description?: string | null,
            events?: {
              $schema?: string | null,
              active?: boolean | null,
              archived?: boolean | null,
              automaticallyActive?: boolean | null,
              automaticallyResolved?: boolean | null,
              bestLines?: {
                id?: string | null,
                line?: number | null,
                lineType?: string | null
              }[] | null | null,
              cantEstimate?: boolean | null,
              carouselMap?: string | null,
              category?: string | null,
              closed?: boolean | null,
              closedTime?: string | null,
              color?: string | null,
              commentCount?: number | null,
              commentsEnabled?: boolean | null,
              competitive?: number | null,
              countryName?: string | null,
              createdAt?: string | null,
              createdBy?: string | null,
              creationDate?: string | null,
              cumulativeMarkets?: boolean | null,
              cyom?: boolean | null,
              deploying?: boolean | null,
              deployingTimestamp?: string | null,
              description?: string | null,
              disqusThread?: string | null,
              elapsed?: string | null,
              electionType?: string | null,
              enableNegRisk?: boolean | null,
              enableOrderBook?: boolean | null,
              endDate?: string | null,
              ended?: boolean | null,
              estimateValue?: boolean | null,
              estimatedValue?: string | null,
              eventCreators?: {
                $schema?: string | null,
                createdAt?: string | null,
                creatorHandle?: string | null,
                creatorImage?: string | null,
                creatorName?: string | null,
                creatorUrl?: string | null,
                id?: string | null,
                updatedAt?: string | null
              }[] | null | null,
              eventDate?: string | null,
              eventMetadata?: Record<string, any> | null,
              eventWeek?: number | null,
              externalPartners?: {
                $schema?: string | null,
                createdAt?: string | null,
                eventId?: number | null,
                externalId?: string | null,
                id?: number | null,
                partner?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  id?: number | null,
                  name?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null
                } | null,
                partnerId?: number | null,
                updatedAt?: string | null
              }[] | null | null,
              facets?: {
                abbreviation?: string | null,
                appliesTo?: string[] | null | null,
                label?: string | null,
                parents?: string[] | null | null,
                slug?: string | null
              }[] | null | null,
              featured?: boolean | null,
              featuredImage?: string | null,
              featuredOrder?: number | null,
              finishedTimestamp?: string | null,
              gameId?: number | null,
              gmpChartMode?: string | null,
              icon?: string | null,
              id?: string | null,
              image?: string | null,
              isTemplate?: boolean | null,
              lastHighlight?: string | null,
              lastHighlightAt?: string | null,
              lastHighlightType?: string | null,
              liquidity?: number | null,
              liquidityAmm?: number | null,
              liquidityClob?: number | null,
              live?: boolean | null,
              markets?: {
                $schema?: string | null,
                acceptingOrders?: boolean | null,
                acceptingOrdersTimestamp?: string | null,
                acceptingOrdersUntil?: string | null,
                active?: boolean | null,
                ammType?: string | null,
                approved?: boolean | null,
                archived?: boolean | null,
                automaticallyActive?: boolean | null,
                automaticallyResolved?: boolean | null,
                bestAsk?: number | null,
                bestBid?: number | null,
                category?: string | null,
                categoryMailchimpTag?: string | null,
                chartColor?: string | null,
                clearBookOnStart?: boolean | null,
                clobRewards?: {
                  assetAddress?: string | null,
                  conditionId?: string | null,
                  endDate?: string | null,
                  id?: string | null,
                  rewardsAmount?: number | null,
                  rewardsDailyRate?: number | null,
                  startDate?: string | null
                }[] | null | null,
                clobTokenIds?: string | null,
                closed?: boolean | null,
                closedTime?: string | null,
                comboStatus?: string | null,
                commentsEnabled?: boolean | null,
                competitive?: number | null,
                conditionId?: string | null,
                createdAt?: string | null,
                createdBy?: number | null,
                creator?: string | null,
                cryptoMarketConfig?: {
                  $schema?: string | null,
                  asset?: string | null,
                  duration?: string | null,
                  id?: string | null,
                  twapEnabled?: boolean | null,
                  twapLookbackSeconds?: number | null
                } | null,
                cryptoMarketConfigId?: string | null,
                curationOrder?: number | null,
                customLiveness?: number | null,
                cyom?: boolean | null,
                denominationToken?: string | null,
                deploying?: boolean | null,
                deployingTimestamp?: string | null,
                description?: string | null,
                disqusThread?: string | null,
                enableOrderBook?: boolean | null,
                endDate?: string | null,
                endDateIso?: string | null,
                eventStartTime?: string | null,
                events?: {
                  $schema?: string | null,
                  active?: boolean | null,
                  archived?: boolean | null,
                  automaticallyActive?: boolean | null,
                  automaticallyResolved?: boolean | null,
                  bestLines?: {
                    id?: string | null,
                    line?: number | null,
                    lineType?: string | null
                  }[] | null | null,
                  cantEstimate?: boolean | null,
                  carouselMap?: string | null,
                  category?: string | null,
                  closed?: boolean | null,
                  closedTime?: string | null,
                  color?: string | null,
                  commentCount?: number | null,
                  commentsEnabled?: boolean | null,
                  competitive?: number | null,
                  countryName?: string | null,
                  createdAt?: string | null,
                  createdBy?: string | null,
                  creationDate?: string | null,
                  cumulativeMarkets?: boolean | null,
                  cyom?: boolean | null,
                  deploying?: boolean | null,
                  deployingTimestamp?: string | null,
                  description?: string | null,
                  disqusThread?: string | null,
                  elapsed?: string | null,
                  electionType?: string | null,
                  enableNegRisk?: boolean | null,
                  enableOrderBook?: boolean | null,
                  endDate?: string | null,
                  ended?: boolean | null,
                  estimateValue?: boolean | null,
                  estimatedValue?: string | null,
                  eventCreators?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    creatorHandle?: string | null,
                    creatorImage?: string | null,
                    creatorName?: string | null,
                    creatorUrl?: string | null,
                    id?: string | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  eventDate?: string | null,
                  eventMetadata?: Record<string, any> | null,
                  eventWeek?: number | null,
                  externalPartners?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    eventId?: number | null,
                    externalId?: string | null,
                    id?: number | null,
                    partner?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      id?: number | null,
                      name?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null
                    } | null,
                    partnerId?: number | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  facets?: {
                    abbreviation?: string | null,
                    appliesTo?: string[] | null | null,
                    label?: string | null,
                    parents?: string[] | null | null,
                    slug?: string | null
                  }[] | null | null,
                  featured?: boolean | null,
                  featuredImage?: string | null,
                  featuredOrder?: number | null,
                  finishedTimestamp?: string | null,
                  gameId?: number | null,
                  gmpChartMode?: string | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  isTemplate?: boolean | null,
                  lastHighlight?: string | null,
                  lastHighlightAt?: string | null,
                  lastHighlightType?: string | null,
                  liquidity?: number | null,
                  liquidityAmm?: number | null,
                  liquidityClob?: number | null,
                  live?: boolean | null,
                  markets?: {
                    $schema?: string | null,
                    acceptingOrders?: boolean | null,
                    acceptingOrdersTimestamp?: string | null,
                    acceptingOrdersUntil?: string | null,
                    active?: boolean | null,
                    ammType?: string | null,
                    approved?: boolean | null,
                    archived?: boolean | null,
                    automaticallyActive?: boolean | null,
                    automaticallyResolved?: boolean | null,
                    bestAsk?: number | null,
                    bestBid?: number | null,
                    category?: string | null,
                    categoryMailchimpTag?: string | null,
                    chartColor?: string | null,
                    clearBookOnStart?: boolean | null,
                    clobRewards?: {
                      assetAddress?: string | null,
                      conditionId?: string | null,
                      endDate?: string | null,
                      id?: string | null,
                      rewardsAmount?: number | null,
                      rewardsDailyRate?: number | null,
                      startDate?: string | null
                    }[] | null | null,
                    clobTokenIds?: string | null,
                    closed?: boolean | null,
                    closedTime?: string | null,
                    comboStatus?: string | null,
                    commentsEnabled?: boolean | null,
                    competitive?: number | null,
                    conditionId?: string | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    creator?: string | null,
                    cryptoMarketConfig?: {
                      $schema?: string | null,
                      asset?: string | null,
                      duration?: string | null,
                      id?: string | null,
                      twapEnabled?: boolean | null,
                      twapLookbackSeconds?: number | null
                    } | null,
                    cryptoMarketConfigId?: string | null,
                    curationOrder?: number | null,
                    customLiveness?: number | null,
                    cyom?: boolean | null,
                    denominationToken?: string | null,
                    deploying?: boolean | null,
                    deployingTimestamp?: string | null,
                    description?: string | null,
                    disqusThread?: string | null,
                    enableOrderBook?: boolean | null,
                    endDate?: string | null,
                    endDateIso?: string | null,
                    eventStartTime?: string | null,
                    events?: (recursive)[] | null | null,
                    facets?: {
                      abbreviation?: string | null,
                      appliesTo?: string[] | null | null,
                      label?: string | null,
                      parents?: string[] | null | null,
                      slug?: string | null
                    }[] | null | null,
                    fallbackResolutionType?: string | null,
                    featured?: boolean | null,
                    fee?: string | null,
                    feeExponent?: number | null,
                    feeRate?: number | null,
                    feeSchedule?: {
                      exponent?: number | null,
                      rate?: number | null,
                      rebateRate?: number | null,
                      takerOnly?: boolean | null
                    } | null,
                    feeType?: string | null | null,
                    feesEnabled?: boolean | null,
                    formatType?: string | null,
                    fpmmLive?: boolean | null,
                    funded?: boolean | null,
                    fundedTimestamp?: string | null,
                    gameId?: string | null,
                    gameStartTime?: string | null,
                    groupItemRange?: string | null,
                    groupItemThreshold?: string | null,
                    groupItemTitle?: string | null,
                    hasReviewedDates?: boolean | null,
                    holdingRewardsEnabled?: boolean | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    instrumentIndex?: number | null,
                    instrumentKind?: string | null,
                    lastTradePrice?: number | null,
                    line?: number | null,
                    liquidity?: string | null,
                    liquidityAmm?: number | null,
                    liquidityClob?: number | null,
                    liquidityNum?: number | null,
                    lowerBound?: string | null,
                    lowerBoundDate?: string | null,
                    mailchimpTag?: string | null,
                    makerBaseFee?: number | null,
                    makerRebatesFeeShareBps?: number | null,
                    manualActivation?: boolean | null,
                    marketGroup?: number | null,
                    marketMakerAddress?: string | null,
                    marketMetadata?: Record<string, any> | null,
                    marketType?: string | null,
                    markets?: {
                      $schema?: string | null,
                      acceptingOrders?: boolean | null,
                      acceptingOrdersTimestamp?: string | null,
                      acceptingOrdersUntil?: string | null,
                      active?: boolean | null,
                      ammType?: string | null,
                      approved?: boolean | null,
                      archived?: boolean | null,
                      automaticallyActive?: boolean | null,
                      automaticallyResolved?: boolean | null,
                      bestAsk?: number | null,
                      bestBid?: number | null,
                      category?: string | null,
                      categoryMailchimpTag?: string | null,
                      chartColor?: string | null,
                      clearBookOnStart?: boolean | null,
                      clobRewards?: {
                        assetAddress?: string | null,
                        conditionId?: string | null,
                        endDate?: string | null,
                        id?: string | null,
                        rewardsAmount?: number | null,
                        rewardsDailyRate?: number | null,
                        startDate?: string | null
                      }[] | null | null,
                      clobTokenIds?: string | null,
                      closed?: boolean | null,
                      closedTime?: string | null,
                      comboStatus?: string | null,
                      commentsEnabled?: boolean | null,
                      competitive?: number | null,
                      conditionId?: string | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      creator?: string | null,
                      cryptoMarketConfig?: {
                        $schema?: string | null,
                        asset?: string | null,
                        duration?: string | null,
                        id?: string | null,
                        twapEnabled?: boolean | null,
                        twapLookbackSeconds?: number | null
                      } | null,
                      cryptoMarketConfigId?: string | null,
                      curationOrder?: number | null,
                      customLiveness?: number | null,
                      cyom?: boolean | null,
                      denominationToken?: string | null,
                      deploying?: boolean | null,
                      deployingTimestamp?: string | null,
                      description?: string | null,
                      disqusThread?: string | null,
                      enableOrderBook?: boolean | null,
                      endDate?: string | null,
                      endDateIso?: string | null,
                      eventStartTime?: string | null,
                      events?: (recursive)[] | null | null,
                      facets?: {
                        abbreviation?: string | null,
                        appliesTo?: string[] | null | null,
                        label?: string | null,
                        parents?: string[] | null | null,
                        slug?: string | null
                      }[] | null | null,
                      fallbackResolutionType?: string | null,
                      featured?: boolean | null,
                      fee?: string | null,
                      feeExponent?: number | null,
                      feeRate?: number | null,
                      feeSchedule?: {
                        exponent?: number | null,
                        rate?: number | null,
                        rebateRate?: number | null,
                        takerOnly?: boolean | null
                      } | null,
                      feeType?: string | null | null,
                      feesEnabled?: boolean | null,
                      formatType?: string | null,
                      fpmmLive?: boolean | null,
                      funded?: boolean | null,
                      fundedTimestamp?: string | null,
                      gameId?: string | null,
                      gameStartTime?: string | null,
                      groupItemRange?: string | null,
                      groupItemThreshold?: string | null,
                      groupItemTitle?: string | null,
                      hasReviewedDates?: boolean | null,
                      holdingRewardsEnabled?: boolean | null,
                      icon?: string | null,
                      id?: string | null,
                      image?: string | null,
                      instrumentIndex?: number | null,
                      instrumentKind?: string | null,
                      lastTradePrice?: number | null,
                      line?: number | null,
                      liquidity?: string | null,
                      liquidityAmm?: number | null,
                      liquidityClob?: number | null,
                      liquidityNum?: number | null,
                      lowerBound?: string | null,
                      lowerBoundDate?: string | null,
                      mailchimpTag?: string | null,
                      makerBaseFee?: number | null,
                      makerRebatesFeeShareBps?: number | null,
                      manualActivation?: boolean | null,
                      marketGroup?: number | null,
                      marketMakerAddress?: string | null,
                      marketMetadata?: Record<string, any> | null,
                      marketType?: string | null,
                      markets?: (recursive)[] | null | null,
                      negRisk?: boolean | null,
                      negRiskMarketID?: string | null,
                      negRiskOther?: boolean | null,
                      negRiskRequestID?: string | null,
                      new?: boolean | null,
                      notificationsEnabled?: boolean | null,
                      onchainEventId?: string | null,
                      oneDayPriceChange?: number | null,
                      oneHourPriceChange?: number | null,
                      oneMonthPriceChange?: number | null,
                      oneWeekPriceChange?: number | null,
                      oneYearPriceChange?: number | null,
                      orderMinSize?: number | null,
                      orderPriceMinTickSize?: number | null,
                      outcomePrices?: string | null,
                      outcomes?: string | null,
                      pastSlugs?: string | null,
                      pendingDeployment?: boolean | null,
                      positionIds?: string[] | null | null,
                      question?: string | null,
                      questionID?: string | null,
                      ready?: boolean | null,
                      readyForCron?: boolean | null,
                      readyTimestamp?: string | null,
                      requestId?: string | null,
                      resolutionMechanism?: string | null | null,
                      resolutionSource?: string | null,
                      resolutionStatus?: string | null,
                      resolvedBy?: string | null,
                      restricted?: boolean | null,
                      rewardsMaxSpread?: number | null,
                      rewardsMinSize?: number | null,
                      rfqEnabled?: boolean | null,
                      scheduledDeploymentTimestamp?: string | null,
                      score?: number | null,
                      secondsDelay?: number | null,
                      sentDiscord?: boolean | null,
                      seriesColor?: string | null,
                      shortOutcomes?: string | null,
                      showGmpOutcome?: boolean | null,
                      showGmpSeries?: boolean | null,
                      slug?: string | null,
                      sponsorImage?: string | null,
                      sponsorName?: string | null,
                      sportsMarketType?: string | null,
                      spread?: number | null,
                      startDate?: string | null,
                      startDateIso?: string | null,
                      subcategory?: string | null,
                      submitted_by?: string | null,
                      tags?: {
                        $schema?: string | null,
                        activeEventsCount?: number | null,
                        createdAt?: string | null,
                        createdBy?: number | null,
                        forceHide?: boolean | null,
                        forceShow?: boolean | null,
                        id?: string | null,
                        isCarousel?: boolean | null,
                        label?: string | null,
                        publishedAt?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null,
                        updatedBy?: number | null
                      }[] | null | null,
                      takerBaseFee?: number | null,
                      teamAID?: string | null,
                      teamBID?: string | null,
                      tradingEligible?: boolean | null | null,
                      twitterCardImage?: string | null,
                      twitterCardLastRefreshed?: string | null,
                      twitterCardLastValidated?: string | null,
                      twitterCardLocation?: string | null,
                      umaBond?: string | null,
                      umaEndDate?: string | null,
                      umaEndDateIso?: string | null,
                      umaResolutionStatus?: string | null,
                      umaResolutionStatuses?: string | null,
                      umaReward?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null,
                      upperBound?: string | null,
                      upperBoundDate?: string | null,
                      version?: string | null,
                      volume?: string | null,
                      volume1mo?: number | null,
                      volume1moAmm?: number | null,
                      volume1moClob?: number | null,
                      volume1wk?: number | null,
                      volume1wkAmm?: number | null,
                      volume1wkClob?: number | null,
                      volume1yr?: number | null,
                      volume1yrAmm?: number | null,
                      volume1yrClob?: number | null,
                      volume24hr?: number | null,
                      volume24hrAmm?: number | null,
                      volume24hrClob?: number | null,
                      volumeAmm?: number | null,
                      volumeClob?: number | null,
                      volumeNum?: number | null,
                      wideFormat?: boolean | null,
                      xAxisValue?: string | null,
                      yAxisValue?: string | null
                    }[] | null | null,
                    negRisk?: boolean | null,
                    negRiskMarketID?: string | null,
                    negRiskOther?: boolean | null,
                    negRiskRequestID?: string | null,
                    new?: boolean | null,
                    notificationsEnabled?: boolean | null,
                    onchainEventId?: string | null,
                    oneDayPriceChange?: number | null,
                    oneHourPriceChange?: number | null,
                    oneMonthPriceChange?: number | null,
                    oneWeekPriceChange?: number | null,
                    oneYearPriceChange?: number | null,
                    orderMinSize?: number | null,
                    orderPriceMinTickSize?: number | null,
                    outcomePrices?: string | null,
                    outcomes?: string | null,
                    pastSlugs?: string | null,
                    pendingDeployment?: boolean | null,
                    positionIds?: string[] | null | null,
                    question?: string | null,
                    questionID?: string | null,
                    ready?: boolean | null,
                    readyForCron?: boolean | null,
                    readyTimestamp?: string | null,
                    requestId?: string | null,
                    resolutionMechanism?: string | null | null,
                    resolutionSource?: string | null,
                    resolutionStatus?: string | null,
                    resolvedBy?: string | null,
                    restricted?: boolean | null,
                    rewardsMaxSpread?: number | null,
                    rewardsMinSize?: number | null,
                    rfqEnabled?: boolean | null,
                    scheduledDeploymentTimestamp?: string | null,
                    score?: number | null,
                    secondsDelay?: number | null,
                    sentDiscord?: boolean | null,
                    seriesColor?: string | null,
                    shortOutcomes?: string | null,
                    showGmpOutcome?: boolean | null,
                    showGmpSeries?: boolean | null,
                    slug?: string | null,
                    sponsorImage?: string | null,
                    sponsorName?: string | null,
                    sportsMarketType?: string | null,
                    spread?: number | null,
                    startDate?: string | null,
                    startDateIso?: string | null,
                    subcategory?: string | null,
                    submitted_by?: string | null,
                    tags?: {
                      $schema?: string | null,
                      activeEventsCount?: number | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      forceHide?: boolean | null,
                      forceShow?: boolean | null,
                      id?: string | null,
                      isCarousel?: boolean | null,
                      label?: string | null,
                      publishedAt?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null
                    }[] | null | null,
                    takerBaseFee?: number | null,
                    teamAID?: string | null,
                    teamBID?: string | null,
                    tradingEligible?: boolean | null | null,
                    twitterCardImage?: string | null,
                    twitterCardLastRefreshed?: string | null,
                    twitterCardLastValidated?: string | null,
                    twitterCardLocation?: string | null,
                    umaBond?: string | null,
                    umaEndDate?: string | null,
                    umaEndDateIso?: string | null,
                    umaResolutionStatus?: string | null,
                    umaResolutionStatuses?: string | null,
                    umaReward?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null,
                    upperBound?: string | null,
                    upperBoundDate?: string | null,
                    version?: string | null,
                    volume?: string | null,
                    volume1mo?: number | null,
                    volume1moAmm?: number | null,
                    volume1moClob?: number | null,
                    volume1wk?: number | null,
                    volume1wkAmm?: number | null,
                    volume1wkClob?: number | null,
                    volume1yr?: number | null,
                    volume1yrAmm?: number | null,
                    volume1yrClob?: number | null,
                    volume24hr?: number | null,
                    volume24hrAmm?: number | null,
                    volume24hrClob?: number | null,
                    volumeAmm?: number | null,
                    volumeClob?: number | null,
                    volumeNum?: number | null,
                    wideFormat?: boolean | null,
                    xAxisValue?: string | null,
                    yAxisValue?: string | null
                  }[] | null | null,
                  maxMarketCount?: number | null,
                  moduleType?: string | null,
                  negRisk?: boolean | null,
                  negRiskAugmented?: boolean | null,
                  negRiskFeeBips?: number | null,
                  negRiskMarketID?: string | null,
                  new?: boolean | null,
                  openInterest?: number | null,
                  parentEventId?: number | null,
                  pendingDeployment?: boolean | null,
                  period?: string | null,
                  published_at?: string | null,
                  rescheduledFromGameId?: number | null,
                  resolutionMode?: string | null,
                  resolutionSource?: string | null,
                  restricted?: boolean | null,
                  scheduledDeploymentTimestamp?: string | null,
                  score?: string | null,
                  series?: {
                    $schema?: string | null,
                    active?: boolean | null,
                    archived?: boolean | null,
                    cgAssetName?: string | null,
                    closed?: boolean | null,
                    commentCount?: number | null,
                    commentsEnabled?: boolean | null,
                    competitive?: string | null,
                    createdAt?: string | null,
                    createdBy?: string | null,
                    description?: string | null,
                    events?: (recursive)[] | null | null,
                    featured?: boolean | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    isTemplate?: boolean | null,
                    layout?: string | null,
                    liquidity?: number | null,
                    new?: boolean | null,
                    publishedAt?: string | null,
                    pythTokenID?: string | null,
                    recurrence?: string | null,
                    restricted?: boolean | null,
                    score?: number | null,
                    seriesType?: string | null,
                    slug?: string | null,
                    startDate?: string | null,
                    subtitle?: string | null,
                    templateVariables?: boolean | null,
                    ticker?: string | null,
                    title?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: string | null,
                    volume?: number | null,
                    volume24hr?: number | null
                  }[] | null | null,
                  seriesSlug?: string | null,
                  showAllOutcomes?: boolean | null,
                  showMarketImages?: boolean | null,
                  slug?: string | null,
                  sortBy?: string | null,
                  sport?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    externalPartners?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      externalId?: string | null,
                      id?: number | null,
                      partner?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        id?: number | null,
                        name?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null
                      } | null,
                      partnerId?: number | null,
                      sportId?: number | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    id?: number | null,
                    image?: string | null,
                    name?: string | null,
                    ordering?: string | null,
                    primaryTagId?: number | null,
                    resolution?: string | null,
                    series?: string | null,
                    sport?: string | null,
                    tags?: string | null,
                    updatedAt?: string | null
                  } | null,
                  spreadsMainLine?: number | null,
                  startDate?: string | null,
                  startTime?: string | null,
                  subEvents?: (string | null)[] | null | null,
                  subcategory?: string | null,
                  subtitle?: string | null,
                  tag_labels?: string[] | null | null,
                  tag_slugs?: string[] | null | null,
                  tags?: {
                    $schema?: string | null,
                    activeEventsCount?: number | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    forceHide?: boolean | null,
                    forceShow?: boolean | null,
                    id?: string | null,
                    isCarousel?: boolean | null,
                    label?: string | null,
                    publishedAt?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null
                  }[] | null | null,
                  teams?: {
                    $schema?: string | null,
                    abbreviation?: string | null,
                    alias?: string | null,
                    color?: string | null,
                    createdAt?: string | null,
                    externalPartners?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      externalId?: string | null,
                      id?: number | null,
                      partner?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        id?: number | null,
                        name?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null
                      } | null,
                      partnerId?: number | null,
                      source?: string | null,
                      teamId?: number | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    id?: number | null,
                    league?: string | null,
                    logo?: string | null,
                    name?: string | null,
                    ordering?: string | null,
                    providerId?: number | null,
                    record?: string | null,
                    updatedAt?: string | null
                  }[] | null | null,
                  templateVariables?: string | null,
                  ticker?: string | null,
                  title?: string | null,
                  totalsMainLine?: number | null,
                  turnProviderId?: string | null,
                  tweetCount?: number | null,
                  updatedAt?: string | null,
                  updatedBy?: string | null,
                  usId?: string | null,
                  version?: string | null,
                  volume?: number | null,
                  volume1mo?: number | null,
                  volume1wk?: number | null,
                  volume1yr?: number | null,
                  volume24hr?: number | null
                }[] | null | null,
                facets?: {
                  abbreviation?: string | null,
                  appliesTo?: string[] | null | null,
                  label?: string | null,
                  parents?: string[] | null | null,
                  slug?: string | null
                }[] | null | null,
                fallbackResolutionType?: string | null,
                featured?: boolean | null,
                fee?: string | null,
                feeExponent?: number | null,
                feeRate?: number | null,
                feeSchedule?: {
                  exponent?: number | null,
                  rate?: number | null,
                  rebateRate?: number | null,
                  takerOnly?: boolean | null
                } | null,
                feeType?: string | null | null,
                feesEnabled?: boolean | null,
                formatType?: string | null,
                fpmmLive?: boolean | null,
                funded?: boolean | null,
                fundedTimestamp?: string | null,
                gameId?: string | null,
                gameStartTime?: string | null,
                groupItemRange?: string | null,
                groupItemThreshold?: string | null,
                groupItemTitle?: string | null,
                hasReviewedDates?: boolean | null,
                holdingRewardsEnabled?: boolean | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                instrumentIndex?: number | null,
                instrumentKind?: string | null,
                lastTradePrice?: number | null,
                line?: number | null,
                liquidity?: string | null,
                liquidityAmm?: number | null,
                liquidityClob?: number | null,
                liquidityNum?: number | null,
                lowerBound?: string | null,
                lowerBoundDate?: string | null,
                mailchimpTag?: string | null,
                makerBaseFee?: number | null,
                makerRebatesFeeShareBps?: number | null,
                manualActivation?: boolean | null,
                marketGroup?: number | null,
                marketMakerAddress?: string | null,
                marketMetadata?: Record<string, any> | null,
                marketType?: string | null,
                markets?: {
                  $schema?: string | null,
                  acceptingOrders?: boolean | null,
                  acceptingOrdersTimestamp?: string | null,
                  acceptingOrdersUntil?: string | null,
                  active?: boolean | null,
                  ammType?: string | null,
                  approved?: boolean | null,
                  archived?: boolean | null,
                  automaticallyActive?: boolean | null,
                  automaticallyResolved?: boolean | null,
                  bestAsk?: number | null,
                  bestBid?: number | null,
                  category?: string | null,
                  categoryMailchimpTag?: string | null,
                  chartColor?: string | null,
                  clearBookOnStart?: boolean | null,
                  clobRewards?: {
                    assetAddress?: string | null,
                    conditionId?: string | null,
                    endDate?: string | null,
                    id?: string | null,
                    rewardsAmount?: number | null,
                    rewardsDailyRate?: number | null,
                    startDate?: string | null
                  }[] | null | null,
                  clobTokenIds?: string | null,
                  closed?: boolean | null,
                  closedTime?: string | null,
                  comboStatus?: string | null,
                  commentsEnabled?: boolean | null,
                  competitive?: number | null,
                  conditionId?: string | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  creator?: string | null,
                  cryptoMarketConfig?: {
                    $schema?: string | null,
                    asset?: string | null,
                    duration?: string | null,
                    id?: string | null,
                    twapEnabled?: boolean | null,
                    twapLookbackSeconds?: number | null
                  } | null,
                  cryptoMarketConfigId?: string | null,
                  curationOrder?: number | null,
                  customLiveness?: number | null,
                  cyom?: boolean | null,
                  denominationToken?: string | null,
                  deploying?: boolean | null,
                  deployingTimestamp?: string | null,
                  description?: string | null,
                  disqusThread?: string | null,
                  enableOrderBook?: boolean | null,
                  endDate?: string | null,
                  endDateIso?: string | null,
                  eventStartTime?: string | null,
                  events?: {
                    $schema?: string | null,
                    active?: boolean | null,
                    archived?: boolean | null,
                    automaticallyActive?: boolean | null,
                    automaticallyResolved?: boolean | null,
                    bestLines?: {
                      id?: string | null,
                      line?: number | null,
                      lineType?: string | null
                    }[] | null | null,
                    cantEstimate?: boolean | null,
                    carouselMap?: string | null,
                    category?: string | null,
                    closed?: boolean | null,
                    closedTime?: string | null,
                    color?: string | null,
                    commentCount?: number | null,
                    commentsEnabled?: boolean | null,
                    competitive?: number | null,
                    countryName?: string | null,
                    createdAt?: string | null,
                    createdBy?: string | null,
                    creationDate?: string | null,
                    cumulativeMarkets?: boolean | null,
                    cyom?: boolean | null,
                    deploying?: boolean | null,
                    deployingTimestamp?: string | null,
                    description?: string | null,
                    disqusThread?: string | null,
                    elapsed?: string | null,
                    electionType?: string | null,
                    enableNegRisk?: boolean | null,
                    enableOrderBook?: boolean | null,
                    endDate?: string | null,
                    ended?: boolean | null,
                    estimateValue?: boolean | null,
                    estimatedValue?: string | null,
                    eventCreators?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      creatorHandle?: string | null,
                      creatorImage?: string | null,
                      creatorName?: string | null,
                      creatorUrl?: string | null,
                      id?: string | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    eventDate?: string | null,
                    eventMetadata?: Record<string, any> | null,
                    eventWeek?: number | null,
                    externalPartners?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      eventId?: number | null,
                      externalId?: string | null,
                      id?: number | null,
                      partner?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        id?: number | null,
                        name?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null
                      } | null,
                      partnerId?: number | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    facets?: {
                      abbreviation?: string | null,
                      appliesTo?: string[] | null | null,
                      label?: string | null,
                      parents?: string[] | null | null,
                      slug?: string | null
                    }[] | null | null,
                    featured?: boolean | null,
                    featuredImage?: string | null,
                    featuredOrder?: number | null,
                    finishedTimestamp?: string | null,
                    gameId?: number | null,
                    gmpChartMode?: string | null,
                    icon?: string | null,
                    id?: string | null,
                    image?: string | null,
                    isTemplate?: boolean | null,
                    lastHighlight?: string | null,
                    lastHighlightAt?: string | null,
                    lastHighlightType?: string | null,
                    liquidity?: number | null,
                    liquidityAmm?: number | null,
                    liquidityClob?: number | null,
                    live?: boolean | null,
                    markets?: {
                      $schema?: string | null,
                      acceptingOrders?: boolean | null,
                      acceptingOrdersTimestamp?: string | null,
                      acceptingOrdersUntil?: string | null,
                      active?: boolean | null,
                      ammType?: string | null,
                      approved?: boolean | null,
                      archived?: boolean | null,
                      automaticallyActive?: boolean | null,
                      automaticallyResolved?: boolean | null,
                      bestAsk?: number | null,
                      bestBid?: number | null,
                      category?: string | null,
                      categoryMailchimpTag?: string | null,
                      chartColor?: string | null,
                      clearBookOnStart?: boolean | null,
                      clobRewards?: {
                        assetAddress?: string | null,
                        conditionId?: string | null,
                        endDate?: string | null,
                        id?: string | null,
                        rewardsAmount?: number | null,
                        rewardsDailyRate?: number | null,
                        startDate?: string | null
                      }[] | null | null,
                      clobTokenIds?: string | null,
                      closed?: boolean | null,
                      closedTime?: string | null,
                      comboStatus?: string | null,
                      commentsEnabled?: boolean | null,
                      competitive?: number | null,
                      conditionId?: string | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      creator?: string | null,
                      cryptoMarketConfig?: {
                        $schema?: string | null,
                        asset?: string | null,
                        duration?: string | null,
                        id?: string | null,
                        twapEnabled?: boolean | null,
                        twapLookbackSeconds?: number | null
                      } | null,
                      cryptoMarketConfigId?: string | null,
                      curationOrder?: number | null,
                      customLiveness?: number | null,
                      cyom?: boolean | null,
                      denominationToken?: string | null,
                      deploying?: boolean | null,
                      deployingTimestamp?: string | null,
                      description?: string | null,
                      disqusThread?: string | null,
                      enableOrderBook?: boolean | null,
                      endDate?: string | null,
                      endDateIso?: string | null,
                      eventStartTime?: string | null,
                      events?: (recursive)[] | null | null,
                      facets?: {
                        abbreviation?: string | null,
                        appliesTo?: string[] | null | null,
                        label?: string | null,
                        parents?: string[] | null | null,
                        slug?: string | null
                      }[] | null | null,
                      fallbackResolutionType?: string | null,
                      featured?: boolean | null,
                      fee?: string | null,
                      feeExponent?: number | null,
                      feeRate?: number | null,
                      feeSchedule?: {
                        exponent?: number | null,
                        rate?: number | null,
                        rebateRate?: number | null,
                        takerOnly?: boolean | null
                      } | null,
                      feeType?: string | null | null,
                      feesEnabled?: boolean | null,
                      formatType?: string | null,
                      fpmmLive?: boolean | null,
                      funded?: boolean | null,
                      fundedTimestamp?: string | null,
                      gameId?: string | null,
                      gameStartTime?: string | null,
                      groupItemRange?: string | null,
                      groupItemThreshold?: string | null,
                      groupItemTitle?: string | null,
                      hasReviewedDates?: boolean | null,
                      holdingRewardsEnabled?: boolean | null,
                      icon?: string | null,
                      id?: string | null,
                      image?: string | null,
                      instrumentIndex?: number | null,
                      instrumentKind?: string | null,
                      lastTradePrice?: number | null,
                      line?: number | null,
                      liquidity?: string | null,
                      liquidityAmm?: number | null,
                      liquidityClob?: number | null,
                      liquidityNum?: number | null,
                      lowerBound?: string | null,
                      lowerBoundDate?: string | null,
                      mailchimpTag?: string | null,
                      makerBaseFee?: number | null,
                      makerRebatesFeeShareBps?: number | null,
                      manualActivation?: boolean | null,
                      marketGroup?: number | null,
                      marketMakerAddress?: string | null,
                      marketMetadata?: Record<string, any> | null,
                      marketType?: string | null,
                      markets?: (recursive)[] | null | null,
                      negRisk?: boolean | null,
                      negRiskMarketID?: string | null,
                      negRiskOther?: boolean | null,
                      negRiskRequestID?: string | null,
                      new?: boolean | null,
                      notificationsEnabled?: boolean | null,
                      onchainEventId?: string | null,
                      oneDayPriceChange?: number | null,
                      oneHourPriceChange?: number | null,
                      oneMonthPriceChange?: number | null,
                      oneWeekPriceChange?: number | null,
                      oneYearPriceChange?: number | null,
                      orderMinSize?: number | null,
                      orderPriceMinTickSize?: number | null,
                      outcomePrices?: string | null,
                      outcomes?: string | null,
                      pastSlugs?: string | null,
                      pendingDeployment?: boolean | null,
                      positionIds?: string[] | null | null,
                      question?: string | null,
                      questionID?: string | null,
                      ready?: boolean | null,
                      readyForCron?: boolean | null,
                      readyTimestamp?: string | null,
                      requestId?: string | null,
                      resolutionMechanism?: string | null | null,
                      resolutionSource?: string | null,
                      resolutionStatus?: string | null,
                      resolvedBy?: string | null,
                      restricted?: boolean | null,
                      rewardsMaxSpread?: number | null,
                      rewardsMinSize?: number | null,
                      rfqEnabled?: boolean | null,
                      scheduledDeploymentTimestamp?: string | null,
                      score?: number | null,
                      secondsDelay?: number | null,
                      sentDiscord?: boolean | null,
                      seriesColor?: string | null,
                      shortOutcomes?: string | null,
                      showGmpOutcome?: boolean | null,
                      showGmpSeries?: boolean | null,
                      slug?: string | null,
                      sponsorImage?: string | null,
                      sponsorName?: string | null,
                      sportsMarketType?: string | null,
                      spread?: number | null,
                      startDate?: string | null,
                      startDateIso?: string | null,
                      subcategory?: string | null,
                      submitted_by?: string | null,
                      tags?: {
                        $schema?: string | null,
                        activeEventsCount?: number | null,
                        createdAt?: string | null,
                        createdBy?: number | null,
                        forceHide?: boolean | null,
                        forceShow?: boolean | null,
                        id?: string | null,
                        isCarousel?: boolean | null,
                        label?: string | null,
                        publishedAt?: string | null,
                        slug?: string | null,
                        updatedAt?: string | null,
                        updatedBy?: number | null
                      }[] | null | null,
                      takerBaseFee?: number | null,
                      teamAID?: string | null,
                      teamBID?: string | null,
                      tradingEligible?: boolean | null | null,
                      twitterCardImage?: string | null,
                      twitterCardLastRefreshed?: string | null,
                      twitterCardLastValidated?: string | null,
                      twitterCardLocation?: string | null,
                      umaBond?: string | null,
                      umaEndDate?: string | null,
                      umaEndDateIso?: string | null,
                      umaResolutionStatus?: string | null,
                      umaResolutionStatuses?: string | null,
                      umaReward?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null,
                      upperBound?: string | null,
                      upperBoundDate?: string | null,
                      version?: string | null,
                      volume?: string | null,
                      volume1mo?: number | null,
                      volume1moAmm?: number | null,
                      volume1moClob?: number | null,
                      volume1wk?: number | null,
                      volume1wkAmm?: number | null,
                      volume1wkClob?: number | null,
                      volume1yr?: number | null,
                      volume1yrAmm?: number | null,
                      volume1yrClob?: number | null,
                      volume24hr?: number | null,
                      volume24hrAmm?: number | null,
                      volume24hrClob?: number | null,
                      volumeAmm?: number | null,
                      volumeClob?: number | null,
                      volumeNum?: number | null,
                      wideFormat?: boolean | null,
                      xAxisValue?: string | null,
                      yAxisValue?: string | null
                    }[] | null | null,
                    maxMarketCount?: number | null,
                    moduleType?: string | null,
                    negRisk?: boolean | null,
                    negRiskAugmented?: boolean | null,
                    negRiskFeeBips?: number | null,
                    negRiskMarketID?: string | null,
                    new?: boolean | null,
                    openInterest?: number | null,
                    parentEventId?: number | null,
                    pendingDeployment?: boolean | null,
                    period?: string | null,
                    published_at?: string | null,
                    rescheduledFromGameId?: number | null,
                    resolutionMode?: string | null,
                    resolutionSource?: string | null,
                    restricted?: boolean | null,
                    scheduledDeploymentTimestamp?: string | null,
                    score?: string | null,
                    series?: {
                      $schema?: string | null,
                      active?: boolean | null,
                      archived?: boolean | null,
                      cgAssetName?: string | null,
                      closed?: boolean | null,
                      commentCount?: number | null,
                      commentsEnabled?: boolean | null,
                      competitive?: string | null,
                      createdAt?: string | null,
                      createdBy?: string | null,
                      description?: string | null,
                      events?: (recursive)[] | null | null,
                      featured?: boolean | null,
                      icon?: string | null,
                      id?: string | null,
                      image?: string | null,
                      isTemplate?: boolean | null,
                      layout?: string | null,
                      liquidity?: number | null,
                      new?: boolean | null,
                      publishedAt?: string | null,
                      pythTokenID?: string | null,
                      recurrence?: string | null,
                      restricted?: boolean | null,
                      score?: number | null,
                      seriesType?: string | null,
                      slug?: string | null,
                      startDate?: string | null,
                      subtitle?: string | null,
                      templateVariables?: boolean | null,
                      ticker?: string | null,
                      title?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: string | null,
                      volume?: number | null,
                      volume24hr?: number | null
                    }[] | null | null,
                    seriesSlug?: string | null,
                    showAllOutcomes?: boolean | null,
                    showMarketImages?: boolean | null,
                    slug?: string | null,
                    sortBy?: string | null,
                    sport?: {
                      $schema?: string | null,
                      createdAt?: string | null,
                      externalPartners?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        externalId?: string | null,
                        id?: number | null,
                        partner?: {
                          $schema?: string | null,
                          createdAt?: string | null,
                          id?: number | null,
                          name?: string | null,
                          slug?: string | null,
                          updatedAt?: string | null
                        } | null,
                        partnerId?: number | null,
                        sportId?: number | null,
                        updatedAt?: string | null
                      }[] | null | null,
                      id?: number | null,
                      image?: string | null,
                      name?: string | null,
                      ordering?: string | null,
                      primaryTagId?: number | null,
                      resolution?: string | null,
                      series?: string | null,
                      sport?: string | null,
                      tags?: string | null,
                      updatedAt?: string | null
                    } | null,
                    spreadsMainLine?: number | null,
                    startDate?: string | null,
                    startTime?: string | null,
                    subEvents?: (string | null)[] | null | null,
                    subcategory?: string | null,
                    subtitle?: string | null,
                    tag_labels?: string[] | null | null,
                    tag_slugs?: string[] | null | null,
                    tags?: {
                      $schema?: string | null,
                      activeEventsCount?: number | null,
                      createdAt?: string | null,
                      createdBy?: number | null,
                      forceHide?: boolean | null,
                      forceShow?: boolean | null,
                      id?: string | null,
                      isCarousel?: boolean | null,
                      label?: string | null,
                      publishedAt?: string | null,
                      slug?: string | null,
                      updatedAt?: string | null,
                      updatedBy?: number | null
                    }[] | null | null,
                    teams?: {
                      $schema?: string | null,
                      abbreviation?: string | null,
                      alias?: string | null,
                      color?: string | null,
                      createdAt?: string | null,
                      externalPartners?: {
                        $schema?: string | null,
                        createdAt?: string | null,
                        externalId?: string | null,
                        id?: number | null,
                        partner?: {
                          $schema?: string | null,
                          createdAt?: string | null,
                          id?: number | null,
                          name?: string | null,
                          slug?: string | null,
                          updatedAt?: string | null
                        } | null,
                        partnerId?: number | null,
                        source?: string | null,
                        teamId?: number | null,
                        updatedAt?: string | null
                      }[] | null | null,
                      id?: number | null,
                      league?: string | null,
                      logo?: string | null,
                      name?: string | null,
                      ordering?: string | null,
                      providerId?: number | null,
                      record?: string | null,
                      updatedAt?: string | null
                    }[] | null | null,
                    templateVariables?: string | null,
                    ticker?: string | null,
                    title?: string | null,
                    totalsMainLine?: number | null,
                    turnProviderId?: string | null,
                    tweetCount?: number | null,
                    updatedAt?: string | null,
                    updatedBy?: string | null,
                    usId?: string | null,
                    version?: string | null,
                    volume?: number | null,
                    volume1mo?: number | null,
                    volume1wk?: number | null,
                    volume1yr?: number | null,
                    volume24hr?: number | null
                  }[] | null | null,
                  facets?: {
                    abbreviation?: string | null,
                    appliesTo?: string[] | null | null,
                    label?: string | null,
                    parents?: string[] | null | null,
                    slug?: string | null
                  }[] | null | null,
                  fallbackResolutionType?: string | null,
                  featured?: boolean | null,
                  fee?: string | null,
                  feeExponent?: number | null,
                  feeRate?: number | null,
                  feeSchedule?: {
                    exponent?: number | null,
                    rate?: number | null,
                    rebateRate?: number | null,
                    takerOnly?: boolean | null
                  } | null,
                  feeType?: string | null | null,
                  feesEnabled?: boolean | null,
                  formatType?: string | null,
                  fpmmLive?: boolean | null,
                  funded?: boolean | null,
                  fundedTimestamp?: string | null,
                  gameId?: string | null,
                  gameStartTime?: string | null,
                  groupItemRange?: string | null,
                  groupItemThreshold?: string | null,
                  groupItemTitle?: string | null,
                  hasReviewedDates?: boolean | null,
                  holdingRewardsEnabled?: boolean | null,
                  icon?: string | null,
                  id?: string | null,
                  image?: string | null,
                  instrumentIndex?: number | null,
                  instrumentKind?: string | null,
                  lastTradePrice?: number | null,
                  line?: number | null,
                  liquidity?: string | null,
                  liquidityAmm?: number | null,
                  liquidityClob?: number | null,
                  liquidityNum?: number | null,
                  lowerBound?: string | null,
                  lowerBoundDate?: string | null,
                  mailchimpTag?: string | null,
                  makerBaseFee?: number | null,
                  makerRebatesFeeShareBps?: number | null,
                  manualActivation?: boolean | null,
                  marketGroup?: number | null,
                  marketMakerAddress?: string | null,
                  marketMetadata?: Record<string, any> | null,
                  marketType?: string | null,
                  markets?: (recursive)[] | null | null,
                  negRisk?: boolean | null,
                  negRiskMarketID?: string | null,
                  negRiskOther?: boolean | null,
                  negRiskRequestID?: string | null,
                  new?: boolean | null,
                  notificationsEnabled?: boolean | null,
                  onchainEventId?: string | null,
                  oneDayPriceChange?: number | null,
                  oneHourPriceChange?: number | null,
                  oneMonthPriceChange?: number | null,
                  oneWeekPriceChange?: number | null,
                  oneYearPriceChange?: number | null,
                  orderMinSize?: number | null,
                  orderPriceMinTickSize?: number | null,
                  outcomePrices?: string | null,
                  outcomes?: string | null,
                  pastSlugs?: string | null,
                  pendingDeployment?: boolean | null,
                  positionIds?: string[] | null | null,
                  question?: string | null,
                  questionID?: string | null,
                  ready?: boolean | null,
                  readyForCron?: boolean | null,
                  readyTimestamp?: string | null,
                  requestId?: string | null,
                  resolutionMechanism?: string | null | null,
                  resolutionSource?: string | null,
                  resolutionStatus?: string | null,
                  resolvedBy?: string | null,
                  restricted?: boolean | null,
                  rewardsMaxSpread?: number | null,
                  rewardsMinSize?: number | null,
                  rfqEnabled?: boolean | null,
                  scheduledDeploymentTimestamp?: string | null,
                  score?: number | null,
                  secondsDelay?: number | null,
                  sentDiscord?: boolean | null,
                  seriesColor?: string | null,
                  shortOutcomes?: string | null,
                  showGmpOutcome?: boolean | null,
                  showGmpSeries?: boolean | null,
                  slug?: string | null,
                  sponsorImage?: string | null,
                  sponsorName?: string | null,
                  sportsMarketType?: string | null,
                  spread?: number | null,
                  startDate?: string | null,
                  startDateIso?: string | null,
                  subcategory?: string | null,
                  submitted_by?: string | null,
                  tags?: {
                    $schema?: string | null,
                    activeEventsCount?: number | null,
                    createdAt?: string | null,
                    createdBy?: number | null,
                    forceHide?: boolean | null,
                    forceShow?: boolean | null,
                    id?: string | null,
                    isCarousel?: boolean | null,
                    label?: string | null,
                    publishedAt?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null,
                    updatedBy?: number | null
                  }[] | null | null,
                  takerBaseFee?: number | null,
                  teamAID?: string | null,
                  teamBID?: string | null,
                  tradingEligible?: boolean | null | null,
                  twitterCardImage?: string | null,
                  twitterCardLastRefreshed?: string | null,
                  twitterCardLastValidated?: string | null,
                  twitterCardLocation?: string | null,
                  umaBond?: string | null,
                  umaEndDate?: string | null,
                  umaEndDateIso?: string | null,
                  umaResolutionStatus?: string | null,
                  umaResolutionStatuses?: string | null,
                  umaReward?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null,
                  upperBound?: string | null,
                  upperBoundDate?: string | null,
                  version?: string | null,
                  volume?: string | null,
                  volume1mo?: number | null,
                  volume1moAmm?: number | null,
                  volume1moClob?: number | null,
                  volume1wk?: number | null,
                  volume1wkAmm?: number | null,
                  volume1wkClob?: number | null,
                  volume1yr?: number | null,
                  volume1yrAmm?: number | null,
                  volume1yrClob?: number | null,
                  volume24hr?: number | null,
                  volume24hrAmm?: number | null,
                  volume24hrClob?: number | null,
                  volumeAmm?: number | null,
                  volumeClob?: number | null,
                  volumeNum?: number | null,
                  wideFormat?: boolean | null,
                  xAxisValue?: string | null,
                  yAxisValue?: string | null
                }[] | null | null,
                negRisk?: boolean | null,
                negRiskMarketID?: string | null,
                negRiskOther?: boolean | null,
                negRiskRequestID?: string | null,
                new?: boolean | null,
                notificationsEnabled?: boolean | null,
                onchainEventId?: string | null,
                oneDayPriceChange?: number | null,
                oneHourPriceChange?: number | null,
                oneMonthPriceChange?: number | null,
                oneWeekPriceChange?: number | null,
                oneYearPriceChange?: number | null,
                orderMinSize?: number | null,
                orderPriceMinTickSize?: number | null,
                outcomePrices?: string | null,
                outcomes?: string | null,
                pastSlugs?: string | null,
                pendingDeployment?: boolean | null,
                positionIds?: string[] | null | null,
                question?: string | null,
                questionID?: string | null,
                ready?: boolean | null,
                readyForCron?: boolean | null,
                readyTimestamp?: string | null,
                requestId?: string | null,
                resolutionMechanism?: string | null | null,
                resolutionSource?: string | null,
                resolutionStatus?: string | null,
                resolvedBy?: string | null,
                restricted?: boolean | null,
                rewardsMaxSpread?: number | null,
                rewardsMinSize?: number | null,
                rfqEnabled?: boolean | null,
                scheduledDeploymentTimestamp?: string | null,
                score?: number | null,
                secondsDelay?: number | null,
                sentDiscord?: boolean | null,
                seriesColor?: string | null,
                shortOutcomes?: string | null,
                showGmpOutcome?: boolean | null,
                showGmpSeries?: boolean | null,
                slug?: string | null,
                sponsorImage?: string | null,
                sponsorName?: string | null,
                sportsMarketType?: string | null,
                spread?: number | null,
                startDate?: string | null,
                startDateIso?: string | null,
                subcategory?: string | null,
                submitted_by?: string | null,
                tags?: {
                  $schema?: string | null,
                  activeEventsCount?: number | null,
                  createdAt?: string | null,
                  createdBy?: number | null,
                  forceHide?: boolean | null,
                  forceShow?: boolean | null,
                  id?: string | null,
                  isCarousel?: boolean | null,
                  label?: string | null,
                  publishedAt?: string | null,
                  slug?: string | null,
                  updatedAt?: string | null,
                  updatedBy?: number | null
                }[] | null | null,
                takerBaseFee?: number | null,
                teamAID?: string | null,
                teamBID?: string | null,
                tradingEligible?: boolean | null | null,
                twitterCardImage?: string | null,
                twitterCardLastRefreshed?: string | null,
                twitterCardLastValidated?: string | null,
                twitterCardLocation?: string | null,
                umaBond?: string | null,
                umaEndDate?: string | null,
                umaEndDateIso?: string | null,
                umaResolutionStatus?: string | null,
                umaResolutionStatuses?: string | null,
                umaReward?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null,
                upperBound?: string | null,
                upperBoundDate?: string | null,
                version?: string | null,
                volume?: string | null,
                volume1mo?: number | null,
                volume1moAmm?: number | null,
                volume1moClob?: number | null,
                volume1wk?: number | null,
                volume1wkAmm?: number | null,
                volume1wkClob?: number | null,
                volume1yr?: number | null,
                volume1yrAmm?: number | null,
                volume1yrClob?: number | null,
                volume24hr?: number | null,
                volume24hrAmm?: number | null,
                volume24hrClob?: number | null,
                volumeAmm?: number | null,
                volumeClob?: number | null,
                volumeNum?: number | null,
                wideFormat?: boolean | null,
                xAxisValue?: string | null,
                yAxisValue?: string | null
              }[] | null | null,
              maxMarketCount?: number | null,
              moduleType?: string | null,
              negRisk?: boolean | null,
              negRiskAugmented?: boolean | null,
              negRiskFeeBips?: number | null,
              negRiskMarketID?: string | null,
              new?: boolean | null,
              openInterest?: number | null,
              parentEventId?: number | null,
              pendingDeployment?: boolean | null,
              period?: string | null,
              published_at?: string | null,
              rescheduledFromGameId?: number | null,
              resolutionMode?: string | null,
              resolutionSource?: string | null,
              restricted?: boolean | null,
              scheduledDeploymentTimestamp?: string | null,
              score?: string | null,
              series?: {
                $schema?: string | null,
                active?: boolean | null,
                archived?: boolean | null,
                cgAssetName?: string | null,
                closed?: boolean | null,
                commentCount?: number | null,
                commentsEnabled?: boolean | null,
                competitive?: string | null,
                createdAt?: string | null,
                createdBy?: string | null,
                description?: string | null,
                events?: (recursive)[] | null | null,
                featured?: boolean | null,
                icon?: string | null,
                id?: string | null,
                image?: string | null,
                isTemplate?: boolean | null,
                layout?: string | null,
                liquidity?: number | null,
                new?: boolean | null,
                publishedAt?: string | null,
                pythTokenID?: string | null,
                recurrence?: string | null,
                restricted?: boolean | null,
                score?: number | null,
                seriesType?: string | null,
                slug?: string | null,
                startDate?: string | null,
                subtitle?: string | null,
                templateVariables?: boolean | null,
                ticker?: string | null,
                title?: string | null,
                updatedAt?: string | null,
                updatedBy?: string | null,
                volume?: number | null,
                volume24hr?: number | null
              }[] | null | null,
              seriesSlug?: string | null,
              showAllOutcomes?: boolean | null,
              showMarketImages?: boolean | null,
              slug?: string | null,
              sortBy?: string | null,
              sport?: {
                $schema?: string | null,
                createdAt?: string | null,
                externalPartners?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  externalId?: string | null,
                  id?: number | null,
                  partner?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    id?: number | null,
                    name?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null
                  } | null,
                  partnerId?: number | null,
                  sportId?: number | null,
                  updatedAt?: string | null
                }[] | null | null,
                id?: number | null,
                image?: string | null,
                name?: string | null,
                ordering?: string | null,
                primaryTagId?: number | null,
                resolution?: string | null,
                series?: string | null,
                sport?: string | null,
                tags?: string | null,
                updatedAt?: string | null
              } | null,
              spreadsMainLine?: number | null,
              startDate?: string | null,
              startTime?: string | null,
              subEvents?: (string | null)[] | null | null,
              subcategory?: string | null,
              subtitle?: string | null,
              tag_labels?: string[] | null | null,
              tag_slugs?: string[] | null | null,
              tags?: {
                $schema?: string | null,
                activeEventsCount?: number | null,
                createdAt?: string | null,
                createdBy?: number | null,
                forceHide?: boolean | null,
                forceShow?: boolean | null,
                id?: string | null,
                isCarousel?: boolean | null,
                label?: string | null,
                publishedAt?: string | null,
                slug?: string | null,
                updatedAt?: string | null,
                updatedBy?: number | null
              }[] | null | null,
              teams?: {
                $schema?: string | null,
                abbreviation?: string | null,
                alias?: string | null,
                color?: string | null,
                createdAt?: string | null,
                externalPartners?: {
                  $schema?: string | null,
                  createdAt?: string | null,
                  externalId?: string | null,
                  id?: number | null,
                  partner?: {
                    $schema?: string | null,
                    createdAt?: string | null,
                    id?: number | null,
                    name?: string | null,
                    slug?: string | null,
                    updatedAt?: string | null
                  } | null,
                  partnerId?: number | null,
                  source?: string | null,
                  teamId?: number | null,
                  updatedAt?: string | null
                }[] | null | null,
                id?: number | null,
                league?: string | null,
                logo?: string | null,
                name?: string | null,
                ordering?: string | null,
                providerId?: number | null,
                record?: string | null,
                updatedAt?: string | null
              }[] | null | null,
              templateVariables?: string | null,
              ticker?: string | null,
              title?: string | null,
              totalsMainLine?: number | null,
              turnProviderId?: string | null,
              tweetCount?: number | null,
              updatedAt?: string | null,
              updatedBy?: string | null,
              usId?: string | null,
              version?: string | null,
              volume?: number | null,
              volume1mo?: number | null,
              volume1wk?: number | null,
              volume1yr?: number | null,
              volume24hr?: number | null
            }[] | null | null,
            featured?: boolean | null,
            icon?: string | null,
            id?: string | null,
            image?: string | null,
            isTemplate?: boolean | null,
            layout?: string | null,
            liquidity?: number | null,
            new?: boolean | null,
            publishedAt?: string | null,
            pythTokenID?: string | null,
            recurrence?: string | null,
            restricted?: boolean | null,
            score?: number | null,
            seriesType?: string | null,
            slug?: string | null,
            startDate?: string | null,
            subtitle?: string | null,
            templateVariables?: boolean | null,
            ticker?: string | null,
            title?: string | null,
            updatedAt?: string | null,
            updatedBy?: string | null,
            volume?: number | null,
            volume24hr?: number | null
          }[] | null | null,
          seriesSlug?: string | null,
          showAllOutcomes?: boolean | null,
          showMarketImages?: boolean | null,
          slug?: string | null,
          sortBy?: string | null,
          sport?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              sportId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            image?: string | null,
            name?: string | null,
            ordering?: string | null,
            primaryTagId?: number | null,
            resolution?: string | null,
            series?: string | null,
            sport?: string | null,
            tags?: string | null,
            updatedAt?: string | null
          } | null,
          spreadsMainLine?: number | null,
          startDate?: string | null,
          startTime?: string | null,
          subEvents?: (string | null)[] | null | null,
          subcategory?: string | null,
          subtitle?: string | null,
          tag_labels?: string[] | null | null,
          tag_slugs?: string[] | null | null,
          tags?: {
            $schema?: string | null,
            activeEventsCount?: number | null,
            createdAt?: string | null,
            createdBy?: number | null,
            forceHide?: boolean | null,
            forceShow?: boolean | null,
            id?: string | null,
            isCarousel?: boolean | null,
            label?: string | null,
            publishedAt?: string | null,
            slug?: string | null,
            updatedAt?: string | null,
            updatedBy?: number | null
          }[] | null | null,
          teams?: {
            $schema?: string | null,
            abbreviation?: string | null,
            alias?: string | null,
            color?: string | null,
            createdAt?: string | null,
            externalPartners?: {
              $schema?: string | null,
              createdAt?: string | null,
              externalId?: string | null,
              id?: number | null,
              partner?: {
                $schema?: string | null,
                createdAt?: string | null,
                id?: number | null,
                name?: string | null,
                slug?: string | null,
                updatedAt?: string | null
              } | null,
              partnerId?: number | null,
              source?: string | null,
              teamId?: number | null,
              updatedAt?: string | null
            }[] | null | null,
            id?: number | null,
            league?: string | null,
            logo?: string | null,
            name?: string | null,
            ordering?: string | null,
            providerId?: number | null,
            record?: string | null,
            updatedAt?: string | null
          }[] | null | null,
          templateVariables?: string | null,
          ticker?: string | null,
          title?: string | null,
          totalsMainLine?: number | null,
          turnProviderId?: string | null,
          tweetCount?: number | null,
          updatedAt?: string | null,
          updatedBy?: string | null,
          usId?: string | null,
          version?: string | null,
          volume?: number | null,
          volume1mo?: number | null,
          volume1wk?: number | null,
          volume1yr?: number | null,
          volume24hr?: number | null
        } | null,
        eventSlug?: string | null,
        gameIndex?: number | null,
        id?: number | null,
        location?: string | null,
        seedA?: number | null,
        seedB?: number | null,
        startTime?: string | null,
        teamA?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        } | null,
        teamAId?: number | null,
        teamB?: {
          $schema?: string | null,
          abbreviation?: string | null,
          alias?: string | null,
          color?: string | null,
          createdAt?: string | null,
          externalPartners?: {
            $schema?: string | null,
            createdAt?: string | null,
            externalId?: string | null,
            id?: number | null,
            partner?: {
              $schema?: string | null,
              createdAt?: string | null,
              id?: number | null,
              name?: string | null,
              slug?: string | null,
              updatedAt?: string | null
            } | null,
            partnerId?: number | null,
            source?: string | null,
            teamId?: number | null,
            updatedAt?: string | null
          }[] | null | null,
          id?: number | null,
          league?: string | null,
          logo?: string | null,
          name?: string | null,
          ordering?: string | null,
          providerId?: number | null,
          record?: string | null,
          updatedAt?: string | null
        } | null,
        teamBId?: number | null,
        tournamentPhaseId?: number | null,
        updatedAt?: string | null
      }[] | null | null,
      title?: string | null | null
    }[] | null | null,
    sortOrder?: number | null,
    tournamentId?: number | null,
    updatedAt?: string | null
  }[] | null | null,
  updatedAt?: string | null
}[] | null
```

***

### walletType

`gamma.walletType`

Get wallet type

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.gamma.walletType({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839', signer: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | Wallet address |
| `signer` | `string` | Yes | Signer address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `$schema` | `string \| null` | No | A URL to the JSON Schema for this object. |
| `type` | `number \| null` | No | — |
| `typeName` | `string \| null` | No | — |

***

## Perps

### account.applyReferral

`perps.account.applyReferral`

Apply Referral Code

**Risk:** `write`

```ts theme={null}
await corsair.polymarket.api.perps.account.applyReferral({ code: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `code` | `string` | Yes | Referral or invite code |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |

***

### account.approveBuilder

`perps.account.approveBuilder`

Approve or revoke builder fees with an account owner signature

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.account.approveBuilder({
	op: {
		type: 'approveBuilder',
		args: { builder: 'example', max_fee_rate: 'example', approval_version: 1 },
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |

```ts theme={null}
{
  type: approveBuilder,
  args: {
    builder: string,
    max_fee_rate: string,
    approval_version: number
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `trader` | `string \| null` | No | Address |
| `builder` | `string \| null` | No | Address |
| `max_fee_rate` | `string \| null` | No | Additional builder fee as a decimal fraction of executed notional, from 0 through 0.001 (10 basis points). Zero approval revokes future admission. Never a percentage string. |
| `approval_version` | `number \| null` | No | Exactly the previous version plus one, starting at 1. Revocation retains the version and prevents signed approval replay. |
| `timestamp` | `number \| null` | No | Timestamp in milliseconds |
| `sequence` | `number \| null` | No | — |

***

### account.autoCancel

`perps.account.autoCancel`

Get Auto-Cancel Status

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.autoCancel({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `deadline` | `number \| null` | No | Deadline of the armed auto-cancel schedule, in Unix milliseconds. Zero means no schedule is armed. When the deadline passes, the exchange cancels every open order on the account and the schedule clears. |
| `triggered` | `number \| null` | No | Number of times auto-cancel has fired for this account during the current UTC day. Resets to zero at 00:00 UTC. |
| `daily_limit` | `number \| null` | No | Maximum number of auto-cancel triggers allowed per UTC day. |
| `next_reset` | `number \| null` | No | Unix-ms timestamp of the next UTC midnight when the daily trigger count resets to zero. |

***

### account.backstops

`perps.account.backstops`

Get Account Backstop Transfers

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.backstops({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |
| `cursor` | `string` | No | Pass the last row id from the previous page as a decimal string. The server resolves its exact timestamp within the authenticated account. An opaque URL-safe unpadded base64 JSON cursor with ts (native nanoseconds) and id is also accepted. Keep the timestamp window unchanged when paging. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |
| `more` | `boolean \| null` | No | More data available |
| `coverage` | `object \| null` | No | Present when backstop history is unavailable because its schema is pending. |

```ts theme={null}
{
  id?: number | null,
  cross?: boolean | null,
  instrument_id?: number | null | null,
  asset?: string | null,
  transferred?: string | null,
  cash_before?: string | null,
  cash_after?: string | null,
  timestamp?: number | null,
  sequence?: number | null
}[] | null
```

```ts theme={null}
{
  notes?: string[] | null
} | null
```

***

### account.balances

`perps.account.balances`

Get Balances

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.balances({});
```

**Input:** *empty object*

**Output:** `object[]`

```ts theme={null}
{
  asset?: string | null,
  balance?: string | null,
  value?: string | null
}[]
```

***

### account.builderApprovals

`perps.account.builderApprovals`

Read builder approvals, including retained revoked versions

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.builderApprovals({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `builder` | `string` | No | Address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |

```ts theme={null}
{
  trader?: string | null,
  builder?: string | null,
  max_fee_rate?: string | null,
  approval_version?: number | null,
  timestamp?: number | null,
  sequence?: number | null
}[] | null
```

***

### account.builderEarnings

`perps.account.builderEarnings`

Get authenticated builder receipts

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.builderEarnings({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `start_timestamp` | `number` | No | Timestamp in milliseconds |
| `end_timestamp` | `number` | No | Timestamp in milliseconds |
| `as_of_sequence` | `number` | No | Sequence number |
| `cursor` | `string` | No | Pagination cursor. Pass the opaque `cursor` returned by the previous page to fetch the next page. Paging follows the `sort` direction (strictly older fills when `sort=desc`, strictly newer when `sort=asc`). The trade ID of the last fill from the previous page is also accepted for backwards compatibility, except on instrument-filtered `/v1/info/fills`, which requires the returned keyset cursor. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |
| `more` | `boolean \| null` | No | — |
| `cursor` | `string \| null` | No | Opaque continuation preserving account, time window and fully indexed cutoff. Reuse unchanged. |
| `start_timestamp` | `number \| null` | No | Timestamp in milliseconds |
| `end_timestamp` | `number \| null` | No | Timestamp in milliseconds |
| `as_of_sequence` | `number \| null` | No | Complete indexed event prefix shared with the summary. Never the largest row seen. |

```ts theme={null}
{
  earning_id?: string | null,
  trade_id?: number | null,
  order_id?: number | null,
  instrument_id?: number | null,
  side?: string | null,
  timestamp?: number | null,
  sequence?: number | null,
  notional?: string | null,
  fee_asset?: string | null,
  builder_fee?: string | null,
  fee_rate?: string | null,
  trader?: string | null,
  buy?: boolean | null,
  price?: string | null,
  quantity?: string | null,
  client_order_id?: string | null,
  fee?: string | null,
  total_fee?: string | null
}[] | null
```

***

### account.builderEarningsSummary

`perps.account.builderEarningsSummary`

Get authenticated builder settled earnings summary

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.builderEarningsSummary({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `start_timestamp` | `number` | No | Timestamp in milliseconds |
| `end_timestamp` | `number` | No | Timestamp in milliseconds |
| `as_of_sequence` | `number` | No | Sequence number |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |
| `start_timestamp` | `number \| null` | No | Timestamp in milliseconds |
| `end_timestamp` | `number \| null` | No | Timestamp in milliseconds |
| `as_of_sequence` | `number \| null` | No | — |
| `trader_count` | `number \| null` | No | Distinct trading accounts with at least one attributed fill in this window and indexed cutoff, including zero-fee fills and counting once across markets, assets and maker/taker roles. |
| `active_approval_count` | `number \| null` | No | Current positive, unrevoked approvals to this builder. This count is independent of the historical window and cutoff. Disabling a builder or platform admission does not erase grants. |

```ts theme={null}
{
  fee_asset?: string | null,
  fill_count?: number | null,
  notional?: string | null,
  builder_fee?: string | null
}[] | null
```

***

### account.config

`perps.account.config`

Get Instrument Config

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.config({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | No | Instrument ID |

**Output:** `object[]`

```ts theme={null}
{
  instrument_id?: number | null,
  leverage?: number | null,
  cross?: boolean | null
}[]
```

***

### account.createInvite

`perps.account.createInvite`

Create Account Invite

**Risk:** `write`

```ts theme={null}
await corsair.polymarket.api.perps.account.createInvite({
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `object` | Yes | — |

```ts theme={null}
{
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |
| `code` | `string \| null` | No | Referral or invite code |
| `referrals_available` | `number \| null` | No | Remaining lifetime referrals for this invite code. |
| `cooldown_ms` | `number \| null \| null` | No | Milliseconds until referrals become available again. Null for lifetime caps because no windowed cooldown applies. |

***

### account.credentials

`perps.account.credentials`

Get Credentials

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.credentials({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string \| null` | No | Address |
| `keys` | `object[] \| null` | No | — |

```ts theme={null}
{
  proxy?: string | null,
  label?: string | null,
  expiry?: number | null
}[] | null
```

***

### account.deposits

`perps.account.deposits`

Get Deposits

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.deposits({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `deposit_status` | `pending \| confirmed \| removed` | No | Deposit status |
| `hash` | `string` | No | On-chain transaction hash, "0x" if not yet mined |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |
| `more` | `boolean \| null` | No | More data available |

```ts theme={null}
{
  hash?: string | null,
  asset?: string | null,
  amount?: string | null,
  from?: string | null,
  to?: string | null,
  status?: string | null,
  confirmations?: number | null,
  required_confirmations?: number | null,
  created_timestamp?: number | null,
  confirmed_timestamp?: number | null
}[] | null
```

***

### account.equity

`perps.account.equity`

Get Equity

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.equity({ interval: '1d', start_timestamp: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `interval` | `1s \| 1m \| 5m \| 15m \| 30m \| 1h \| 4h \| 6h \| 12h \| 1d \| 1w` | Yes | Kline interval |
| `start_timestamp` | `number` | Yes | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `any[][] \| null` | No | - `1767225600000` - Timestamp - `"10000.00"` - Equity |
| `more` | `boolean \| null` | No | More data available |

***

### account.fills

`perps.account.fills`

Get Fills

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.fills({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | No | Instrument ID — when set, only fills on this instrument are returned |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |
| `cursor` | `string` | No | Pagination cursor. Pass the opaque `cursor` returned by the previous page to fetch the next page. Paging follows the `sort` direction (strictly older fills when `sort=desc`, strictly newer when `sort=asc`). The trade ID of the last fill from the previous page is also accepted for backwards compatibility, except on instrument-filtered `/v1/info/fills`, which requires the returned keyset cursor. |
| `sort` | `desc \| asc` | No | Time sort direction. `desc` (default) returns newest fills first; `asc` returns oldest first. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | Account's trade history |
| `more` | `boolean \| null` | No | More data available |
| `cursor` | `string \| null` | No | Opaque keyset pagination cursor for the next page of fills. Present while `more` is true; pass it as `cursor` on the next request, keeping the other parameters the same across pages. |

```ts theme={null}
{
  trade_id?: number | null,
  order_id?: number | null,
  instrument_id?: number | null,
  side?: string | null,
  price?: string | null,
  quantity?: string | null,
  taker?: boolean | null,
  fee?: string | null,
  fee_asset?: string | null,
  previous_size?: string | null,
  previous_entry_price?: string | null,
  pnl?: string | null,
  liquidation?: boolean | null,
  adl?: boolean | null,
  timestamp?: number | null,
  hash?: string | null,
  builder_fee?: string | null,
  total_fee?: string | null,
  builder?: {
    address?: string | null,
    fee_rate?: string | null
  } | null,
  settlement?: boolean | null,
  liquidation_details?: {
    liquidated_user?: string | null,
    mark?: string | null,
    method?: string | null
  } | null
}[] | null
```

***

### account.funding

`perps.account.funding`

Get Funding Charges

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.funding({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | No | Instrument ID |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |
| `more` | `boolean \| null` | No | More data available |

```ts theme={null}
{
  id?: number | null,
  instrument_id?: number | null,
  size?: string | null,
  funding_rate?: string | null,
  funding_asset?: string | null,
  funding?: string | null,
  timestamp?: number | null
}[] | null
```

***

### account.internalTransfer

`perps.account.internalTransfer`

Internal Transfer

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.account.internalTransfer({
	op: {
		type: 'internalTransfer',
		args: {
			account: 'example',
			token: 'example',
			amount: 'example',
			to: 'example',
		},
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |
| `label` | `string` | No | Human-readable label for a proxy key or internal transfer |

```ts theme={null}
{
  type: internalTransfer,
  args: {
    account: string,
    token: string,
    amount: string,
    to: string
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |
| `transfer_id` | `number \| null` | No | Internal transfer ID |

***

### account.internalTransfers

`perps.account.internalTransfers`

Get Internal Transfers

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.internalTransfers({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `direction` | `in \| out` | No | Transfer direction relative to the authenticated account |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |
| `more` | `boolean \| null` | No | More data available |

```ts theme={null}
{
  transfer_id?: number | null,
  asset?: string | null,
  amount?: string | null,
  direction?: string | null,
  counterparty?: string | null,
  label?: string | null,
  created_timestamp?: number | null
}[] | null
```

***

### account.limits

`perps.account.limits`

Get Account Limits

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.limits({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `actions_per_minute` | `number \| null` | No | Order action tokens used by the account in the current minute |
| `actions_per_minute_limit` | `number \| null` | No | Maximum order action tokens per account per minute |
| `actions_burst` | `number \| null` | No | Additional account action allowance remaining |
| `actions_burst_limit` | `number \| null` | No | Additional account action allowance limit |
| `open_orders` | `number \| null` | No | Current number of open orders |
| `open_orders_limit` | `number \| null` | No | Maximum number of open orders per account |
| `reset` | `number \| null` | No | Timestamp in milliseconds when the current interval resets |
| `messages_per_minute` | `number \| null` | No | Display-only per-minute action/message allowance, equal to actions\_per\_minute\_limit. Not separately configured or enforced. |

***

### account.markNotificationsRead

`perps.account.markNotificationsRead`

Mark Notifications Read

**Risk:** `write`

```ts theme={null}
await corsair.polymarket.api.perps.account.markNotificationsRead({
	body: {
		ids: ['12'],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `body` | `object` | Yes | — |

```ts theme={null}
{
  ids: string[]
} | {
  before: string
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |

***

### account.notifications

`perps.account.notifications`

Get Notifications

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.notifications({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `cursor` | `string \| null` | No | Opaque pagination cursor. Pass the next\_cursor value from the previous page to fetch the next, older page. Null when there are no more pages. |
| `since_seq` | `number` | No | Backfill anchor for gap recovery. Pass the sequence number (sq) of the last notifications data frame you processed before the gap, never the sq of a resync frame. The bound is inclusive, so the response repeats the boundary event in full; deduplicate by notification id. |
| `limit` | `number` | No | Maximum number of entries to return |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `items` | `object[] \| null` | No | — |
| `unread` | `number \| null` | No | Count of the authenticated owner's unread notifications within the retention window. |
| `durable_source_seq` | `number \| null` | No | Highest notification sequence the store has persisted for your account. If it is still below the sequence you are catching up to, the store is lagging; retry the backfill until it catches up. |
| `has_more` | `boolean \| null` | No | Whether older notifications exist beyond this page. |
| `next_cursor` | `string \| null \| null` | No | Opaque pagination cursor. Pass the next\_cursor value from the previous page to fetch the next, older page. Null when there are no more pages. |

```ts theme={null}
{
  notification?: {
  } | null,
  read_at?: number | null | null,
  ts?: number | null
}[] | null
```

***

### account.openOrders

`perps.account.openOrders`

Get Open Orders

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.openOrders({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | No | Instrument ID |

**Output:** `object[]`

```ts theme={null}
{
  order_id?: number | null,
  instrument_id?: number | null,
  buy?: boolean | null,
  price?: string | null,
  quantity?: string | null,
  tif?: string | null,
  post_only?: boolean | null,
  ro?: boolean | null,
  resting_quantity?: string | null,
  filled_quantity?: string | null,
  status?: string | null,
  created_timestamp?: number | null,
  updated_timestamp?: number | null,
  client_order_id?: string | null,
  tpsl?: {
    kind?: string | null,
    scope?: string | null,
    trp?: string | null,
    parent_oid?: number | null,
    armed_qty?: string | null,
    slip_bps?: number | null
  } | null,
  builder?: {
    address?: string | null,
    fee_rate?: string | null
  } | null
}[]
```

***

### account.orders

`perps.account.orders`

Get Orders

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.orders({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `order_id` | `number` | No | Order ID |
| `client_order_id` | `string` | No | Client order ID |
| `instrument_id` | `number` | No | Instrument ID |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output:** `object[]`

```ts theme={null}
{
  order_id?: number | null,
  instrument_id?: number | null,
  buy?: boolean | null,
  price?: string | null,
  quantity?: string | null,
  tif?: string | null,
  post_only?: boolean | null,
  ro?: boolean | null,
  resting_quantity?: string | null,
  filled_quantity?: string | null,
  status?: string | null,
  created_timestamp?: number | null,
  updated_timestamp?: number | null,
  client_order_id?: string | null,
  tpsl?: {
    kind?: string | null,
    scope?: string | null,
    trp?: string | null,
    parent_oid?: number | null,
    armed_qty?: string | null,
    slip_bps?: number | null
  } | null,
  builder?: {
    address?: string | null,
    fee_rate?: string | null
  } | null
}[]
```

***

### account.pnl

`perps.account.pnl`

Get PnL

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.pnl({ interval: '1d', start_timestamp: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `interval` | `1h \| 4h \| 1d \| 1w` | Yes | PnL interval |
| `start_timestamp` | `number` | Yes | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `any[][] \| null` | No | - `1767225600000` - Timestamp - `"100.50"` - Net PnL after exchange and builder fees, including funding. Do not subtract fill fees again. |
| `more` | `boolean \| null` | No | More data available |

***

### account.portfolio

`perps.account.portfolio`

Get Portfolio

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.portfolio({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `positions` | `object[] \| null` | No | — |
| `margin` | `object \| null` | No | — |
| `withdrawable` | `string \| null` | No | Withdrawable balance in USD |
| `in_liquidation` | `boolean \| null` | No | Whether the account is currently under liquidation |
| `fee_tier` | `number \| null` | No | Zero-based index into `tiers` of the single perpetual fee schedule returned by `/v1/info/fees`, which applies to every perpetual regardless of category. Builder fees are additional and are not part of this tier. Defaults to 0 without a current tier assignment and is capped at the highest configured tier. WebSocket tier changes appear on the next portfolio update, published every 5 seconds. |
| `timestamp` | `number \| null` | No | Update timestamp in milliseconds |

```ts theme={null}
{
  instrument_id?: number | null,
  symbol?: string | null,
  size?: string | null,
  entry_price?: string | null,
  leverage?: number | null,
  cross?: boolean | null,
  initial_margin?: string | null,
  maintenance_margin?: string | null,
  position_value?: string | null,
  liquidation_price?: string | null,
  unrealized_pnl?: string | null,
  return_on_equity?: string | null,
  cumulative_funding?: string | null
}[] | null
```

```ts theme={null}
{
  total_account_value?: string | null,
  available_order_margin?: string | null,
  total_initial_margin?: string | null,
  total_maintenance_margin?: string | null,
  total_position_value?: string | null
} | null
```

***

### account.referral

`perps.account.referral`

Get Account Referral

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.referral({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `code` | `string \| null` | No | Referral or invite code |
| `parent` | `string \| null` | No | Referral or invite code |
| `children_count` | `number \| null` | No | Number of directly referred child accounts |
| `active_children_count` | `number \| null` | No | Number of directly referred child accounts that have traded at least once since their referral was applied |
| `children_volume` | `string \| null` | No | Total notional volume traded by directly referred child accounts since their referral was applied |
| `children_fees` | `string \| null` | No | Exchange fees paid by directly referred child accounts since their referral was applied. This excludes additional builder fees. |
| `referrals_left` | `number \| null` | No | Number of additional referrals remaining for this account's invite code |
| `fee_share_rate` | `string \| null` | No | Referral fee share rate. Defaults to 0.2. |

***

### account.rewards

`perps.account.rewards`

Get Account Rewards

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.rewards({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `date` | `string` | No | UTC reward period end date in YYYY-MM-DD format |
| `start_date` | `string` | No | Inclusive UTC start date in YYYY-MM-DD format |
| `end_date` | `string` | No | Inclusive UTC end date in YYYY-MM-DD format |
| `limit` | `number` | No | Maximum number of entries to return |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |
| `more` | `boolean \| null` | No | More data available |

```ts theme={null}
{
  date?: string | null,
  maker_share_7d?: string | null,
  reward_distributed?: boolean | null,
  breakdown?: {
    instrument_id?: number | null,
    reward_pool?: string | null,
    reward_amount?: string | null
  }[] | null
}[] | null
```

***

### account.stats

`perps.account.stats`

Get Account Stats

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.stats({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `volume_7d` | `string \| null` | No | Rolling 7-day perpetual trading volume in USD |
| `taker_volume_7d` | `string \| null` | No | Rolling 7-day perpetual taker volume in USD |
| `maker_volume_7d` | `string \| null` | No | Rolling 7-day perpetual maker volume in USD |
| `account_maker_share_7d` | `string \| null` | No | Rolling 7-day account maker volume divided by total exchange volume |
| `entity_maker_share_7d` | `string \| null` | No | Rolling 7-day entity maker volume divided by total exchange volume |
| `entity_id` | `number \| null` | No | Liquidity rewards entity ID |
| `entity_name` | `string \| null` | No | Liquidity rewards entity name |

***

### account.updateBuilder

`perps.account.updateBuilder`

Update your builder display name

**Risk:** `write`

```ts theme={null}
await corsair.polymarket.api.perps.account.updateBuilder({
	op: {
		type: 'updateBuilder',
		args: { name: 'example' },
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |

```ts theme={null}
{
  type: updateBuilder,
  args: {
    name: string
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string \| null` | No | Address |
| `registered` | `boolean \| null` | No | — |
| `enabled` | `boolean \| null` | No | Builder is enabled for new requests. Existing saved terms remain valid when disabled. |
| `admission_enabled` | `boolean \| null` | No | Platform builder code admission switch. Initially false. |
| `max_fee_rate` | `string \| null` | No | Additional builder fee as a decimal fraction of executed notional, from 0 through 0.001 (10 basis points). Zero approval revokes future admission. Never a percentage string. |
| `name` | `string \| null \| null` | No | Saved builder display name, or null when this address is not a registered builder or has no saved name. |

***

### account.withdraw

`perps.account.withdraw`

Withdraw

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.account.withdraw({
	op: {
		type: 'withdraw',
		args: {
			account: 'example',
			token: 'example',
			amount: 'example',
			to: 'example',
		},
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |

```ts theme={null}
{
  type: withdraw,
  args: {
    account: string,
    token: string,
    amount: string,
    to: string
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |
| `withdraw_id` | `number \| null` | No | Withdraw ID |

***

### account.withdrawals

`perps.account.withdrawals`

Get Withdrawals

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.account.withdrawals({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `withdrawal_status` | `pending \| confirmed \| removed \| failed` | No | Withdrawal status |
| `hash` | `string` | No | On-chain transaction hash, "0x" if not yet mined |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |
| `more` | `boolean \| null` | No | More data available |

```ts theme={null}
{
  withdraw_id?: number | null,
  asset?: string | null,
  amount?: string | null,
  to?: string | null,
  fee?: string | null,
  status?: string | null,
  hash?: string | null,
  confirmations?: number | null,
  required_confirmations?: number | null,
  created_timestamp?: number | null,
  confirmed_timestamp?: number | null
}[] | null
```

***

### assets

`perps.assets`

Get Collateral Assets

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.assets({});
```

**Input:** *empty object*

**Output:** `object[]`

```ts theme={null}
{
  asset?: string | null,
  address?: string | null,
  decimals?: number | null,
  collateral_ratio?: string | null,
  withdrawal_fee?: string | null
}[]
```

***

### bbo

`perps.bbo`

Get BBO

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.bbo({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | No | Instrument ID |

**Output:** `object[]`

```ts theme={null}
{
  instrument_id?: number | null,
  bid_price?: string | null,
  bid_quantity?: string | null,
  ask_price?: string | null,
  ask_quantity?: string | null,
  timestamp?: number | null
}[]
```

***

### blp.enroll

`perps.blp.enroll`

Set BLP Instrument Subscription

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.blp.enroll({ instrument_id: 1, active: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | Yes | Instrument ID |
| `active` | `boolean` | Yes | True subscribes the account to the instrument, false unsubscribes it. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |

***

### blp.enrollment

`perps.blp.enrollment`

Get BLP Enrollment

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.blp.enrollment({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `blp` | `boolean \| null` | No | True when the account is enrolled in the Backstop Liquidity Provider program. |
| `instruments` | `object[] \| null` | No | Instruments the account is subscribed to, in ascending instrument-id order. Empty when the account is enrolled but not yet subscribed to any instrument. |

```ts theme={null}
{
  instrument_id?: number | null,
  symbol?: string | null
}[] | null
```

***

### blp.liquidations

`perps.blp.liquidations`

List BLP Liquidations

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.blp.liquidations({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |
| `cursor` | `number` | No | Pagination cursor. Pass the liquidation ID of the last record from the previous page to fetch the next page. Paging follows the `sort` direction (strictly older records when `sort=desc`, strictly newer when `sort=asc`). |
| `sort` | `desc \| asc` | No | Time sort direction. `desc` (default) returns the most recent liquidations first; `asc` returns the oldest first. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | Backstop liquidations the account received |
| `more` | `boolean \| null` | No | More data available |

```ts theme={null}
{
  liquidation_id?: number | null,
  timestamp?: number | null,
  cross?: boolean | null,
  margin?: string | null,
  trades?: {
    trade_id?: number | null,
    instrument_id?: number | null,
    side?: string | null,
    quantity?: string | null,
    price?: string | null
  }[] | null
}[] | null
```

***

### book

`perps.book`

Get Book

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.book({ instrument_id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | Yes | Instrument ID |
| `depth` | `10 \| 100 \| 500 \| 1000` | No | Number of book levels to return |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number \| null` | No | Instrument ID |
| `bids` | `string[][] \| null` | No | Bid levels |
| `asks` | `string[][] \| null` | No | Ask levels |
| `timestamp` | `number \| null` | No | Timestamp in milliseconds |
| `sequence` | `number \| null` | No | Sequence number |

***

### builder

`perps.builder`

Get builder profile and eligibility

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.builder({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | Address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string \| null` | No | Address |
| `registered` | `boolean \| null` | No | — |
| `enabled` | `boolean \| null` | No | Builder is enabled for new requests. Existing saved terms remain valid when disabled. |
| `admission_enabled` | `boolean \| null` | No | Platform builder code admission switch. Initially false. |
| `max_fee_rate` | `string \| null` | No | Additional builder fee as a decimal fraction of executed notional, from 0 through 0.001 (10 basis points). Zero approval revokes future admission. Never a percentage string. |
| `name` | `string \| null \| null` | No | Saved builder display name, or null when this address is not a registered builder or has no saved name. |

***

### competitions.account

`perps.competitions.account`

Get Trading Competition Account

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.competitions.account({ competition_id: 1, address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `competition_id` | `number` | Yes | Trading competition ID |
| `address` | `string` | Yes | Address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `competition_id` | `number \| null` | No | Trading competition ID |
| `status` | `string \| null` | No | Competition lifecycle status. `upcoming` before start, `live` while running, `in_review` from the end until every prize is paid (ranks can still change after disqualifications), `ended` once results are final and every prize is paid. |
| `updated_at` | `number \| null` | No | Update timestamp in milliseconds |
| `account` | `string \| null` | No | Account address in hex format |
| `rank` | `number \| null` | No | Leaderboard rank under the requested ranking metric, starting at 1 |
| `qualified` | `boolean \| null` | No | Reached the minimum volume and is ranked |
| `score` | `string \| null` | No | Competition score, PnL × √(boosted volume), as a numeric string rounded to 6 decimal places. Can be negative. |
| `pnl` | `string \| null` | No | — |
| `realized_pnl` | `string \| null` | No | — |
| `unrealized_pnl` | `string \| null` | No | — |
| `fees` | `string \| null` | No | Fees paid net of rebates |
| `funding` | `string \| null` | No | Funding received net of funding paid |
| `volume` | `string \| null` | No | — |
| `boosted_volume` | `string \| null` | No | — |
| `first_fill_at` | `number \| null` | No | Time of the account's first counted fill in this competition, in Unix milliseconds; absent when unavailable or the account has no counted fills. Ranked ties use the configured tie-breaks, normally boosted volume then first fill order. Fill order can distinguish fills within the same millisecond. |
| `min_volume` | `string \| null` | No | — |
| `volume_to_qualify` | `string \| null` | No | Unboosted volume still needed to rank; "0" once qualified |
| `qualification_progress` | `string \| null` | No | Fraction of the minimum reached, from "0" to "1" |
| `prize` | `string \| null` | No | — |
| `spots_from_prize_zone` | `number \| null` | No | Places between this rank and the last paid place; 0 inside the prize zone; absent when unranked |
| `score_to_prize_zone` | `string \| null` | No | Score still needed to reach the prize zone; "0" inside it; absent when unranked |
| `row_state` | `string \| null` | No | How a leaderboard row is shown. `live` while running (prize is projected), `provisional` while in review, `disqualified` for a rule violation, `final` once results are finalized, `paid` once the prize is paid. |
| `payout_tx_hash` | `string \| null` | No | — |
| `paid_at` | `number \| null` | No | — |
| `locked_positions` | `object[] \| null` | No | Positions open at the start, by market, including ones since released. |

```ts theme={null}
{
  instrument_id?: number | null,
  size_at_start?: string | null,
  released_at?: number | null
}[] | null
```

***

### competitions.get

`perps.competitions.get`

Get Trading Competition

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.competitions.get({ competition_id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `competition_id` | `number` | Yes | Trading competition ID |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `competition_id` | `number \| null` | No | Trading competition ID |
| `number` | `number \| null` | No | — |
| `name` | `string \| null` | No | — |
| `sector_label` | `string \| null` | No | — |
| `boost_description` | `string \| null` | No | — |
| `status` | `string \| null` | No | Competition lifecycle status. `upcoming` before start, `live` while running, `in_review` from the end until every prize is paid (ranks can still change after disqualifications), `ended` once results are final and every prize is paid. |
| `start_time` | `number \| null` | No | — |
| `end_time` | `number \| null` | No | — |
| `all_markets` | `boolean \| null` | No | Every perpetual counts, including markets listed during the competition. When false only `markets` count. |
| `markets` | `object[] \| null` | No | When `all_markets` is true, only the boosted markets; otherwise every counted market with its boost. |
| `min_volume` | `string \| null` | No | Unboosted notional volume needed to rank, as a numeric string |
| `count_unrealized` | `boolean \| null` | No | Whether unrealized PnL on open qualifying positions counts |
| `prize_pool` | `string \| null` | No | — |
| `prize_asset_id` | `number \| null` | No | — |
| `prize_tiers` | `object[] \| null` | No | — |
| `paid_places` | `number \| null` | No | Size of the prize zone (ranks 1 to paid\_places) |
| `internal` | `boolean \| null` | No | — |
| `start_trading_instrument_id` | `number \| null` | No | Instrument ID |
| `updated_at` | `number \| null` | No | Update timestamp in milliseconds |
| `ranked` | `number \| null` | No | Accounts on the leaderboard (qualified) |
| `participants` | `number \| null` | No | Accounts with at least one counted fill |
| `prize_cutoff_score` | `string \| null` | No | Competition score, PnL × √(boosted volume), as a numeric string rounded to 6 decimal places. Can be negative. |
| `final_results` | `boolean \| null` | No | The leaderboard shows frozen end-of-competition results |
| `scoring_version` | `number \| null` | No | — |

```ts theme={null}
{
  instrument_id?: number | null,
  boost?: string | null
}[] | null
```

```ts theme={null}
{
  from_rank?: number | null,
  to_rank?: number | null,
  amount?: string | null
}[] | null
```

***

### competitions.leaderboard

`perps.competitions.leaderboard`

Get Trading Competition Leaderboard

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.competitions.leaderboard({ competition_id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `competition_id` | `number` | Yes | Trading competition ID |
| `limit` | `number` | No | Maximum number of entries to return |
| `offset` | `number` | No | Number of entries to skip |
| `include_unqualified` | `boolean` | No | List the traders still short of the entry gate after the ranked board. Ignored for a lottery or raffle board. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `competition_id` | `number \| null` | No | Trading competition ID |
| `status` | `string \| null` | No | Competition lifecycle status. `upcoming` before start, `live` while running, `in_review` from the end until every prize is paid (ranks can still change after disqualifications), `ended` once results are final and every prize is paid. |
| `updated_at` | `number \| null` | No | Update timestamp in milliseconds |
| `total` | `number \| null` | No | Total number of ranked accounts |
| `offset` | `number \| null` | No | Number of entries to skip |
| `final_results` | `boolean \| null` | No | — |
| `entries` | `object[] \| null` | No | — |

```ts theme={null}
{
  rank?: number | null,
  account?: string | null,
  score?: string | null,
  pnl?: string | null,
  realized_pnl?: string | null,
  unrealized_pnl?: string | null,
  volume?: string | null,
  boosted_volume?: string | null,
  first_fill_at?: number | null,
  qualified?: boolean | null,
  prize?: string | null,
  row_state?: string | null,
  payout_tx_hash?: string | null,
  paid_at?: number | null
}[] | null
```

***

### competitions.list

`perps.competitions.list`

Get Trading Competitions

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.competitions.list({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | No | Address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `timestamp` | `number \| null` | No | Update timestamp in milliseconds |
| `live_competition_id` | `number \| null` | No | Trading competition ID |
| `landing_competition_id` | `number \| null` | No | Trading competition ID |
| `competitions` | `object[] \| null` | No | Newest first. |

```ts theme={null}
{
  competition_id?: number | null,
  number?: number | null,
  name?: string | null,
  sector_label?: string | null,
  status?: string | null,
  start_time?: number | null,
  end_time?: number | null,
  prize_pool?: string | null,
  prize_asset_id?: number | null,
  internal?: boolean | null
}[] | null
```

***

### competitions.widget

`perps.competitions.widget`

Get Trading Competition Widget

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.competitions.widget({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | No | Address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `timestamp` | `number \| null` | No | Update timestamp in milliseconds |
| `competition_id` | `number \| null` | No | Trading competition ID |
| `number` | `number \| null` | No | — |
| `end_time` | `number \| null` | No | — |
| `rank` | `number \| null` | No | Leaderboard rank under the requested ranking metric, starting at 1 |
| `qualified` | `boolean \| null` | No | — |
| `volume` | `string \| null` | No | — |
| `min_volume` | `string \| null` | No | — |
| `qualification_progress` | `string \| null` | No | — |
| `spots_from_prize_zone` | `number \| null` | No | — |
| `updated_at` | `number \| null` | No | Update timestamp in milliseconds |

***

### exchange

`perps.exchange`

Get Exchange Info

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.exchange({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `name` | `string \| null` | No | Exchange name used in the EIP-712 domain. |
| `version` | `string \| null` | No | Exchange version used in the EIP-712 domain. |
| `chain_id` | `number \| null` | No | Chain ID of the network the exchange is deployed on. |
| `contract` | `string \| null` | No | Verifying contract address or the EIP-712 domain. |
| `cancel_only` | `boolean \| null` | No | True while the exchange is in cancel-only (maintenance) mode — only order cancellation is accepted. |
| `engine_version` | `string \| null` | No | Engine release version of the build serving this response. |

***

### exchangeStatistics

`perps.exchangeStatistics`

Get Exchange Statistics

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.exchangeStatistics({ start_timestamp: 1, end_timestamp: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `start_timestamp` | `number` | Yes | Start timestamp in milliseconds |
| `end_timestamp` | `number` | Yes | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `start_timestamp` | `number \| null` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number \| null` | No | End timestamp in milliseconds |
| `volume` | `string \| null` | No | Matched trading volume in USD notional for the requested window, as an unformatted numeric string |
| `open_interest` | `string \| null \| null` | No | One-sided open interest in USD notional at the latest complete sample before the requested window end, as an unformatted numeric string. Null when no complete sample is available. |
| `open_interest_timestamp` | `number \| null \| null` | No | Timestamp of the open-interest sample in Unix milliseconds. Null when no complete sample is available. |
| `fees` | `string \| null` | No | Gross positive maker and taker trading fees in USD for the requested window, as an unformatted numeric string. Rebates, incentives, referral payments, and additional builder fees are excluded. |

***

### fees

`perps.fees`

Get Fees

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.fees({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `fee_schedule` | `object[] \| null` | No | — |

```ts theme={null}
{
  instrument_type?: string | null,
  category?: string | null,
  taker_fee_rate?: string | null,
  maker_fee_rate?: string | null,
  tiers?: {
    min_volume_30d?: string | null,
    taker_fee_rate?: string | null,
    maker_fee_rate?: string | null
  }[] | null
}[] | null
```

***

### fundingHistory

`perps.fundingHistory`

Get Historical Funding

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.fundingHistory({ instrument_id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | Yes | Instrument ID |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | — |
| `more` | `boolean \| null` | No | More data available |

```ts theme={null}
{
  funding_rate?: string | null,
  timestamp?: number | null
}[] | null
```

***

### index

`perps.index`

Get Index

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.index({ asset: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `asset` | `string` | Yes | Asset name |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `asset` | `string \| null` | No | Asset name |
| `index_price` | `string \| null` | No | Index price |
| `constituents` | `object[] \| null` | No | — |
| `ts` | `number \| null` | No | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |

```ts theme={null}
{
  source?: string | null,
  symbol?: string | null,
  weight?: string | null,
  price?: string | null
}[] | null
```

***

### instruments

`perps.instruments`

Get Instruments

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.instruments({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | No | Instrument ID |
| `instrument_type` | `perpetual` | No | Instrument type |
| `category` | `equity \| commodity \| index \| crypto` | No | Instrument category |

**Output:** `object[]`

```ts theme={null}
{
  instrument_id?: number | null,
  instrument_type?: string | null,
  category?: string | null,
  isolated_only?: boolean | null,
  symbol?: string | null,
  display_symbol?: string | null,
  base_asset?: string | null,
  quote_asset?: string | null,
  funding_interval?: string | null,
  quantity_decimals?: number | null,
  price_decimals?: number | null,
  price_bounds?: string | null,
  liquidation_fee?: string | null,
  max_order_count?: number | null,
  min_notional?: string | null,
  max_market_notional?: string | null,
  max_limit_notional?: string | null,
  max_leverage?: number | null,
  risk_tiers?: {
    lower_bound?: string | null,
    max_leverage?: number | null
  }[] | null,
  ui_live_time?: number | null | null,
  close_only?: boolean | null,
  settlement?: {
    sequence?: number | null,
    timestamp?: number | null,
    price?: string | null,
    insurance_debit?: string | null
  } | null
}[]
```

***

### inviteCode

`perps.inviteCode`

Check Invite Code

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.inviteCode({ code: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `code` | `string` | Yes | Referral or invite code |
| `address` | `string` | No | Address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `valid` | `boolean \| null` | No | Whether the invite code can be used. |
| `error` | `string \| null` | No | Present when the invite code is invalid or unusable. |

***

### klines

`perps.klines`

Get Klines

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.klines({ instrument_id: 1, interval: '1d', start_timestamp: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | Yes | Instrument ID |
| `interval` | `1s \| 1m \| 5m \| 15m \| 30m \| 1h \| 4h \| 6h \| 12h \| 1d \| 1w` | Yes | Kline interval |
| `start_timestamp` | `number` | Yes | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `any[][] \| null` | No | — |
| `more` | `boolean \| null` | No | More data available |

***

### leaderboard

`perps.leaderboard`

Get Leaderboard

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.leaderboard({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `window` | `day \| week \| month \| all` | No | Leaderboard window, anchored to calendar UTC boundaries. `day` starts at 00:00 UTC today, `week` at Monday 00:00 UTC, `month` at the first of the month 00:00 UTC, `all` at exchange launch. |
| `sort_by` | `pnl \| notional \| account_value \| roi` | No | Leaderboard ranking metric |
| `limit` | `number` | No | Maximum number of entries to return |
| `offset` | `number` | No | Number of entries to skip |
| `address` | `string` | No | Address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `window` | `string \| null` | No | Leaderboard window, anchored to calendar UTC boundaries. `day` starts at 00:00 UTC today, `week` at Monday 00:00 UTC, `month` at the first of the month 00:00 UTC, `all` at exchange launch. |
| `sort_by` | `string \| null` | No | Leaderboard ranking metric |
| `timestamp` | `number \| null` | No | Update timestamp in milliseconds |
| `total` | `number \| null` | No | Total number of ranked accounts |
| `entries` | `object[] \| null` | No | — |
| `account` | `object \| null` | No | Leaderboard row for the requested address. `rank` is absent when the account has no activity in the window, or when sorting by account value and that account has no computed equity in the published census. A collateral-only display fallback does not establish an equity rank. |

```ts theme={null}
{
  rank?: number | null,
  account?: string | null,
  pnl?: string | null,
  notional?: string | null,
  account_value?: string | null,
  roi?: string | null
}[] | null
```

```ts theme={null}
{
  rank?: number | null,
  account?: string | null,
  pnl?: string | null,
  notional?: string | null,
  account_value?: string | null,
  roi?: string | null
} | null
```

***

### leverage.update

`perps.leverage.update`

Update Leverage

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.leverage.update({
	op: {
		type: 'updateLeverage',
		args: { iid: 1, lev: 1, cross: true },
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |

```ts theme={null}
{
  type: updateLeverage,
  args: {
    iid: number,
    lev: number,
    cross: boolean
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |
| `instrument_id` | `number \| null` | No | Instrument ID |
| `leverage` | `number \| null` | No | Leverage |
| `cross` | `boolean \| null` | No | Whether to use cross margin mode |

***

### leverage.updateMany

`perps.leverage.updateMany`

Update Leverage for Multiple Instruments

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.leverage.updateMany({
	op: {
		type: 'updateLeverages',
		args: [{ iid: 1, lev: 1, cross: true }],
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |

```ts theme={null}
{
  type: updateLeverages,
  args: {
    iid: number,
    lev: number,
    cross: boolean
  }[]
}
```

**Output:** `object[]`

```ts theme={null}
(
  {
    status?: string | null,
    instrument_id?: number | null,
    leverage?: number | null,
    cross?: boolean | null
  } | {
    status?: string | null,
    instrument_id?: number | null,
    error?: string | null
  }
)[]
```

***

### limitTiers

`perps.limitTiers`

Get Limit Tiers

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.limitTiers({});
```

**Input:** *empty object*

**Output:** `object[]`

```ts theme={null}
{
  min_volume_14d?: string | null,
  rate_per_minute_limit?: number | null,
  rate_burst_limit?: number | null,
  actions_per_minute_limit?: number | null,
  actions_burst_limit?: number | null,
  open_orders_limit?: number | null,
  messages_per_minute?: number | null
}[]
```

***

### margin.update

`perps.margin.update`

Update Isolated Margin

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.margin.update({
	op: {
		type: 'updateMargin',
		args: { iid: 1, amt: 'example' },
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |

```ts theme={null}
{
  type: updateMargin,
  args: {
    iid: number,
    amt: string
  }
}
```

**Output:** `object`

```ts theme={null}
{
  status?: string | null
} | {
  status?: string | null,
  error?: string | null
}
```

***

### markHistory

`perps.markHistory`

Get Mark Price History

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.markHistory({ instrument_id: 1, interval: '1d', start_timestamp: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | Yes | Instrument ID |
| `interval` | `1s \| 1m \| 5m \| 15m \| 30m \| 1h \| 4h \| 6h \| 12h \| 1d \| 1w` | Yes | Kline interval |
| `start_timestamp` | `number` | Yes | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `any[][] \| null` | No | — |
| `more` | `boolean \| null` | No | More data available |

***

### orders.cancel

`perps.orders.cancel`

Cancel Orders

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.orders.cancel({
	op: {
		type: 'cancelOrders',
		args: [1],
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |
| `exp` | `number` | No | Command-processing deadline in Unix milliseconds, not an order auto-cancel time; the server caps it at now + 5 s, clamps larger values to that cap, and uses that 5 s default when omitted. Values at or before the server's clock are rejected with HTTP 400 (command expired). |

```ts theme={null}
{
  type: cancelOrders,
  args: number[]
}
```

**Output:** `object[]`

```ts theme={null}
(
  {
    status?: string | null,
    oid?: number | null,
    coid?: string | null,
    ts?: number | null
  } | {
    status?: string | null,
    oid?: number | null,
    coid?: string | null,
    error?: string | null,
    ts?: number | null
  }
)[]
```

***

### orders.cancelAll

`perps.orders.cancelAll`

Cancel All Orders

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.orders.cancelAll({
	op: {
		type: 'cancelAll',
		args: {},
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |
| `exp` | `number` | No | Command-processing deadline in Unix milliseconds, not an order auto-cancel time; the server caps it at now + 5 s, clamps larger values to that cap, and uses that 5 s default when omitted. Values at or before the server's clock are rejected with HTTP 400 (command expired). |

```ts theme={null}
{
  type: cancelAll,
  args: {
    iid?: number
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |

***

### orders.cancelByClientId

`perps.orders.cancelByClientId`

Cancel Orders COID

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.orders.cancelByClientId({
	op: {
		type: 'cancelOrdersCOID',
		args: ['0123456789abcdef0123456789abcdef'],
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |
| `exp` | `number` | No | Command-processing deadline in Unix milliseconds, not an order auto-cancel time; the server caps it at now + 5 s, clamps larger values to that cap, and uses that 5 s default when omitted. Values at or before the server's clock are rejected with HTTP 400 (command expired). |

```ts theme={null}
{
  type: cancelOrdersCOID,
  args: string[]
}
```

**Output:** `object[]`

```ts theme={null}
(
  {
    status?: string | null,
    oid?: number | null,
    coid?: string | null,
    ts?: number | null
  } | {
    status?: string | null,
    oid?: number | null,
    coid?: string | null,
    error?: string | null,
    ts?: number | null
  }
)[]
```

***

### orders.create

`perps.orders.create`

Create Orders

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.orders.create({
	op: {
		type: 'createOrders',
		args: [{ iid: 1, buy: true, qty: 'example' }],
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |
| `exp` | `number` | No | Command-processing deadline in Unix milliseconds, not an order auto-cancel time; the server caps it at now + 5 s, clamps larger values to that cap, and uses that 5 s default when omitted. Values at or before the server's clock are rejected with HTTP 400 (command expired). |

```ts theme={null}
{
  type: createOrders,
  args: {
    iid: number,
    buy: boolean,
    p?: string,
    qty: string,
    tif?: gtc | ioc | fok,
    po?: boolean,
    ro?: boolean,
    c?: string,
    tr?: {
      market?: boolean,
      trp?: string,
      tpsl?: tp | sl
    },
    builder?: {
      address: string,
      fee_rate: string
    }
  }[],
  grp?: order | position
}
```

**Output:** `object[]`

```ts theme={null}
(
  {
    status?: string | null,
    oid?: number | null,
    coid?: string | null,
    builder?: {
      address?: string | null,
      fee_rate?: string | null
    } | null
  } | {
    status?: string | null,
    error?: string | null,
    oid?: number | null,
    coid?: string | null
  }
)[]
```

***

### orders.modify

`perps.orders.modify`

Modify Orders

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.orders.modify({
	op: {
		type: 'modifyOrders',
		args: [{ oid: 1, p: 'example', qty: 'example' }],
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |
| `exp` | `number` | No | Command-processing deadline in Unix milliseconds, not an order auto-cancel time; the server caps it at now + 5 s, clamps larger values to that cap, and uses that 5 s default when omitted. Values at or before the server's clock are rejected with HTTP 400 (command expired). |

```ts theme={null}
{
  type: modifyOrders,
  args: {
    oid: number,
    p: string,
    qty: string
  }[]
}
```

**Output:** `object[]`

```ts theme={null}
(
  {
    status?: string | null,
    order?: {
      oid?: number | null,
      iid?: number | null,
      buy?: boolean | null,
      p?: string | null,
      qty?: string | null,
      tif?: string | null,
      po?: boolean | null,
      ro?: boolean | null,
      rest?: string | null,
      fill?: string | null,
      cts?: number | null,
      uts?: number | null,
      status?: string | null,
      coid?: string | null,
      builder?: {
        address?: string | null,
        fee_rate?: string | null
      } | null
    } | null
  } | {
    status?: string | null,
    oid?: number | null,
    coid?: string | null,
    error?: string | null
  }
)[]
```

***

### orders.modifyByClientId

`perps.orders.modifyByClientId`

Modify Orders COID

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.orders.modifyByClientId({
	op: {
		type: 'modifyOrdersCOID',
		args: [{ coid: '0123456789abcdef0123456789abcdef', p: 'example', qty: 'example' }],
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |
| `exp` | `number` | No | Command-processing deadline in Unix milliseconds, not an order auto-cancel time; the server caps it at now + 5 s, clamps larger values to that cap, and uses that 5 s default when omitted. Values at or before the server's clock are rejected with HTTP 400 (command expired). |

```ts theme={null}
{
  type: modifyOrdersCOID,
  args: {
    coid: string,
    p: string,
    qty: string
  }[]
}
```

**Output:** `object[]`

```ts theme={null}
(
  {
    status?: string | null,
    order?: {
      oid?: number | null,
      iid?: number | null,
      buy?: boolean | null,
      p?: string | null,
      qty?: string | null,
      tif?: string | null,
      po?: boolean | null,
      ro?: boolean | null,
      rest?: string | null,
      fill?: string | null,
      cts?: number | null,
      uts?: number | null,
      status?: string | null,
      coid?: string | null,
      builder?: {
        address?: string | null,
        fee_rate?: string | null
      } | null
    } | null
  } | {
    status?: string | null,
    oid?: number | null,
    coid?: string | null,
    error?: string | null
  }
)[]
```

***

### orders.setAutoCancel

`perps.orders.setAutoCancel`

Set Auto-Cancel

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.orders.setAutoCancel({
	op: {
		type: 'autoCancel',
		args: { time: 1 },
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |

```ts theme={null}
{
  type: autoCancel,
  args: {
    time: number
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |
| `deadline` | `number \| null` | No | Deadline of the armed auto-cancel schedule, in Unix milliseconds. Zero means no schedule is armed. When the deadline passes, the exchange cancels every open order on the account and the schedule clears. |

***

### ping

`perps.ping`

Test Connection

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.ping({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |

***

### proxy.create

`perps.proxy.create`

Create Proxy

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.proxy.create({
	op: {
		type: 'createProxy',
		args: { owner: 'example', proxy: 'example', expiry: 1 },
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |
| `label` | `string` | No | Human-readable label for a proxy key or internal transfer |
| `code` | `string` | No | Referral or invite code |

```ts theme={null}
{
  type: createProxy,
  args: {
    owner: string,
    proxy: string,
    expiry: number
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |
| `secret` | `string \| null` | No | API secret |

***

### proxy.delete

`perps.proxy.delete`

Delete Proxy

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.perps.proxy.delete({
	op: {
		type: 'deleteProxy',
		args: { proxy: 'example' },
	},
	sig: 'example',
	salt: 1,
	ts: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `op` | `object` | Yes | — |
| `sig` | `string` | Yes | Signature in hex format |
| `salt` | `number` | Yes | Salt |
| `ts` | `number` | Yes | Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp). |

```ts theme={null}
{
  type: deleteProxy,
  args: {
    proxy: string
  }
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `status` | `string \| null` | No | — |

***

### public.fills

`perps.public.fills`

Get Public Fills

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.public.fills({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | Address |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `instrument_id` | `number` | No | — |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |
| `cursor` | `string` | No | Pagination cursor. Pass the opaque `cursor` returned by the previous page to fetch the next page. Paging follows the `sort` direction (strictly older fills when `sort=desc`, strictly newer when `sort=asc`). The trade ID of the last fill from the previous page is also accepted for backwards compatibility, except on instrument-filtered `/v1/info/fills`, which requires the returned keyset cursor. |
| `sort` | `desc \| asc` | No | Time sort direction. `desc` (default) returns newest fills first; `asc` returns oldest first. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | Account's trade history |
| `more` | `boolean \| null` | No | More data available |
| `cursor` | `string \| null` | No | Opaque keyset pagination cursor for the next page of fills. Present while `more` is true; pass it as `cursor` on the next request, keeping the other parameters the same across pages. |

```ts theme={null}
{
  trade_id?: number | null,
  order_id?: number | null,
  instrument_id?: number | null,
  side?: string | null,
  price?: string | null,
  quantity?: string | null,
  taker?: boolean | null,
  fee?: string | null,
  fee_asset?: string | null,
  previous_size?: string | null,
  previous_entry_price?: string | null,
  pnl?: string | null,
  liquidation?: boolean | null,
  adl?: boolean | null,
  timestamp?: number | null,
  hash?: string | null,
  builder_fee?: string | null,
  total_fee?: string | null,
  builder?: {
    address?: string | null,
    fee_rate?: string | null
  } | null,
  settlement?: boolean | null,
  liquidation_details?: {
    liquidated_user?: string | null,
    mark?: string | null,
    method?: string | null
  } | null
}[] | null
```

***

### public.portfolio

`perps.public.portfolio`

Get Public Portfolio

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.public.portfolio({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | Address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `positions` | `object[] \| null` | No | — |
| `equity` | `string \| null` | No | Equity in USD |
| `timestamp` | `number \| null` | No | Update timestamp in milliseconds |

```ts theme={null}
{
  instrument_id?: number | null,
  symbol?: string | null,
  size?: string | null,
  entry_price?: string | null,
  unrealized_pnl?: string | null,
  return_on_equity?: string | null
}[] | null
```

***

### public.positionFills

`perps.public.positionFills`

Get Current Position Fills

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.public.positionFills({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839', instrument_id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | Address |
| `instrument_id` | `number` | Yes | Instrument ID |
| `cursor` | `string` | No | Opaque keyset pagination cursor for the next page of fills. Present while `more` is true; pass it as `cursor` on the next request, keeping the other parameters the same across pages. |
| `sort` | `desc \| asc` | No | Time sort direction. `desc` (default) returns newest fills first; `asc` returns oldest first. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | Account's trade history |
| `more` | `boolean \| null` | No | More data available |
| `cursor` | `string \| null` | No | Opaque keyset pagination cursor for the next page of fills. Present while `more` is true; pass it as `cursor` on the next request, keeping the other parameters the same across pages. |

```ts theme={null}
{
  trade_id?: number | null,
  order_id?: number | null,
  instrument_id?: number | null,
  side?: string | null,
  price?: string | null,
  quantity?: string | null,
  taker?: boolean | null,
  fee?: string | null,
  fee_asset?: string | null,
  previous_size?: string | null,
  previous_entry_price?: string | null,
  pnl?: string | null,
  liquidation?: boolean | null,
  adl?: boolean | null,
  timestamp?: number | null,
  hash?: string | null,
  builder_fee?: string | null,
  total_fee?: string | null,
  builder?: {
    address?: string | null,
    fee_rate?: string | null
  } | null,
  settlement?: boolean | null,
  liquidation_details?: {
    liquidated_user?: string | null,
    mark?: string | null,
    method?: string | null
  } | null
}[] | null
```

***

### public.positionSnapshots

`perps.public.positionSnapshots`

Get Position Share Card Snapshots

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.public.positionSnapshots({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | Address |
| `active_instrument_ids` | `number[]` | No | — |
| `history_fills` | `object[]` | No | Selected public AccountTrade fill keys, in response order. Deduplicated by (instrument\_id, trade\_id). |

```ts theme={null}
{
  instrument_id: number,
  trade_id: string,
  timestamp: number
}[]
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `history_as_of_at` | `number \| null` | No | Event time of the serving gateway's captured state and completed-history prefix, in Unix milliseconds. Missing trades are not\_found at this horizon; horizons can differ by gateway. |
| `active` | `object[] \| null` | No | — |
| `history` | `object[] \| null` | No | — |

```ts theme={null}
{
  instrument_id?: number | null,
  trade_id?: string | null,
  status?: string | null,
  snapshot?: {
    position_cycle_id?: string | null,
    side?: string | null,
    started_at?: number | null,
    as_of_at?: number | null,
    is_closed?: boolean | null,
    size_after?: string | null,
    entry_price?: string | null,
    as_of_price?: string | null,
    pnl?: string | null,
    pnl_percent?: string | null | null,
    leverage?: number | null | null,
    chart?: {
      candles?: {
        position?: number | null,
        open?: number | null,
        high?: number | null,
        low?: number | null,
        close?: number | null
      }[] | null,
      markers?: {
        position?: number | null,
        kind?: string | null
      }[] | null
    } | null
  } | null
}[] | null
```

```ts theme={null}
{
  instrument_id?: number | null,
  trade_id?: string | null,
  status?: string | null,
  snapshot?: {
    position_cycle_id?: string | null,
    side?: string | null,
    started_at?: number | null,
    as_of_at?: number | null,
    is_closed?: boolean | null,
    size_after?: string | null,
    entry_price?: string | null,
    as_of_price?: string | null,
    pnl?: string | null,
    pnl_percent?: string | null | null,
    leverage?: number | null | null,
    chart?: {
      candles?: {
        position?: number | null,
        open?: number | null,
        high?: number | null,
        low?: number | null,
        close?: number | null
      }[] | null,
      markers?: {
        position?: number | null,
        kind?: string | null
      }[] | null
    } | null
  } | null
}[] | null
```

***

### registered

`perps.registered`

Get Registration

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.registered({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | Address |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `registered` | `boolean \| null` | No | Whether the address has a Perps account. |

***

### statistics

`perps.statistics`

Get Statistics

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.statistics({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | No | Instrument ID |

**Output:** `object[]`

```ts theme={null}
{
  instrument_id?: number | null,
  symbol?: string | null,
  volume?: string | null,
  open_price?: string | null,
  klines?: any[][] | null
}[]
```

***

### tickers

`perps.tickers`

Get Tickers

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.tickers({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | No | Instrument ID |

**Output:** `object[]`

```ts theme={null}
{
  instrument_id?: number | null,
  symbol?: string | null,
  index_price?: string | null,
  mark_price?: string | null,
  last_price?: string | null,
  mid_price?: string | null,
  open_interest?: string | null,
  funding_rate?: string | null,
  next_funding?: number | null,
  timestamp?: number | null
}[]
```

***

### time

`perps.time`

Get Server Time

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.time({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `time` | `number \| null` | No | Timestamp in milliseconds |

***

### trades

`perps.trades`

Get Recent Trades

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.perps.trades({ instrument_id: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `instrument_id` | `number` | Yes | Instrument ID |
| `start_timestamp` | `number` | No | Start timestamp in milliseconds |
| `end_timestamp` | `number` | No | End timestamp in milliseconds |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `object[] \| null` | No | Public trades for the instrument |
| `more` | `boolean \| null` | No | More data available |

```ts theme={null}
{
  trade_id?: number | null,
  instrument_id?: number | null,
  side?: string | null,
  price?: string | null,
  quantity?: string | null,
  timestamp?: number | null,
  hash?: string | null,
  settlement?: boolean | null
}[] | null
```

***

## Relayer

### apiKeys.list

`relayer.apiKeys.list`

Get all relayer API keys

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.relayer.apiKeys.list({});
```

**Input:** *empty object*

**Output:** `object[]`

```ts theme={null}
{
  apiKey?: string | null,
  address?: string | null,
  createdAt?: string | null,
  updatedAt?: string | null
}[]
```

***

### deployed

`relayer.deployed`

Check if a wallet is deployed

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.relayer.deployed({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | Ethereum address (0x-prefixed, 40 hex chars) |
| `type` | `SAFE \| WALLET` | No | Wallet type to check. Defaults to `SAFE` when omitted. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `deployed` | `boolean \| null` | No | Whether the wallet is deployed |

***

### nonce

`relayer.nonce`

Get current nonce for a user

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.relayer.nonce({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839', type: 'PROXY' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | Ethereum address (0x-prefixed, 40 hex chars) |
| `type` | `PROXY \| SAFE` | Yes | Type of nonce to retrieve |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `nonce` | `string \| null` | No | Current nonce value |

***

### relayPayload

`relayer.relayPayload`

Get relayer address and nonce

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.relayer.relayPayload({ address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839', type: 'PROXY' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string` | Yes | Ethereum address (0x-prefixed, 40 hex chars) |
| `type` | `PROXY \| SAFE` | Yes | Type of nonce to retrieve |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `address` | `string \| null` | No | Ethereum address (0x-prefixed, 40 hex chars) |
| `nonce` | `string \| null` | No | Current nonce value |

***

### transactions.get

`relayer.transactions.get`

Get a transaction by ID

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.relayer.transactions.get({ id: '12' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | Transaction ID |

**Output:** `object[]`

```ts theme={null}
{
  transactionID?: string | null,
  transactionHash?: string | null,
  from?: string | null,
  to?: string | null,
  proxyAddress?: string | null,
  data?: string | null,
  nonce?: string | null,
  value?: string | null,
  signature?: string | null,
  state?: string | null,
  type?: string | null,
  owner?: string | null,
  metadata?: string | null,
  createdAt?: string | null,
  updatedAt?: string | null
}[]
```

***

### transactions.list

`relayer.transactions.list`

Get recent transactions for a user

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.relayer.transactions.list({});
```

**Input:** *empty object*

**Output:** `object[]`

```ts theme={null}
{
  transactionID?: string | null,
  transactionHash?: string | null,
  from?: string | null,
  to?: string | null,
  proxyAddress?: string | null,
  data?: string | null,
  nonce?: string | null,
  value?: string | null,
  signature?: string | null,
  state?: string | null,
  type?: string | null,
  owner?: string | null,
  metadata?: string | null,
  createdAt?: string | null,
  updatedAt?: string | null
}[]
```

***

### transactions.submit

`relayer.transactions.submit`

Submit a transaction

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.relayer.transactions.submit({
	from: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
	to: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
	proxyWallet: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
	data: 'example',
	nonce: 'example',
	signature: 'example',
	signatureParams: {},
	type: 'SAFE',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `from` | `string` | Yes | Ethereum address (0x-prefixed, 40 hex chars) |
| `to` | `string` | Yes | Ethereum address (0x-prefixed, 40 hex chars) |
| `proxyWallet` | `string` | Yes | Ethereum address (0x-prefixed, 40 hex chars) |
| `data` | `string` | Yes | Encoded transaction data (0x-prefixed hex string) |
| `nonce` | `string` | Yes | Transaction nonce |
| `signature` | `string` | Yes | Transaction signature (0x-prefixed hex string) |
| `signatureParams` | `object` | Yes | — |
| `type` | `SAFE \| PROXY` | Yes | Transaction type |

```ts theme={null}
{
  gasPrice?: string,
  operation?: string,
  safeTxnGas?: string,
  baseGas?: string,
  gasToken?: string,
  refundReceiver?: string
}
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `transactionID` | `string \| null` | No | Unique identifier for the submitted transaction |
| `state` | `string \| null` | No | Current state of the transaction |

***

## Rfq

### health

`rfq.health`

Liveness probe

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.rfq.health({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `string \| null` | No | — |

***

### priceBand

`rfq.priceBand`

Get a market's price band

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.rfq.priceBand({ marketId: '0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `marketId` | `string` | Yes | A gamma market id. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `marketId` | `string \| null` | No | — |
| `tolerance` | `string \| null` | No | The fraction of each mark the band spans. |
| `outcomes` | `object \| null` | No | — |
| `readAt` | `string \| null` | No | — |

```ts theme={null}
{
  yes?: {
    tokenId?: string | null,
    mark?: string | null,
    lower?: string | null,
    upper?: string | null,
    source?: string | null
  } | null,
  no?: {
    tokenId?: string | null,
    mark?: string | null,
    lower?: string | null,
    upper?: string | null,
    source?: string | null
  } | null
} | null
```

***

### ready

`rfq.ready`

Readiness probe

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.rfq.ready({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `data` | `string \| null` | No | — |

***

### time

`rfq.time`

Get the server clock

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.rfq.time({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `serverTime` | `string \| null` | No | — |
| `timestamp` | `number \| null` | No | The same instant in Unix seconds, ready to use as `RFQ-Timestamp`. |

***

### trades.get

`rfq.trades.get`

Get a trade's status

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.rfq.trades.get({ tradeId: 'trd_01HZX' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `tradeId` | `string` | Yes | — |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `tradeId` | `string \| null` | No | — |
| `combo` | `object \| null` | No | A combo's on-chain identity. Present on combo trades only. |
| `idempotencyKey` | `string \| null` | No | — |
| `status` | `string \| null` | No | `PENDING` until the trade lands on-chain (`FILLED`) or is refused or fails (`REJECTED`). |
| `transactionHash` | `string \| null` | No | — |
| `failureReason` | `string \| string \| null` | No | Why a `REJECTED` trade failed. `execution_failed` is a failure after submission to the exchange. |
| `createdAt` | `string \| null` | No | — |
| `filledAt` | `string \| null` | No | — |

```ts theme={null}
{
  conditionId?: string | null,
  tokenIdYes?: string | null,
  tokenIdNo?: string | null,
  legs?: {
    marketId?: string | null,
    outcome?: string | null
  }[] | null
} | null
```

***

### trades.prepare

`rfq.trades.prepare`

Build both orders to sign

**Risk:** `write`

```ts theme={null}
await corsair.polymarket.api.rfq.trades.prepare({
	operation: 'split',
	price: 'example',
	shares: '1000000',
	parties: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `marketId` | `string` | No | Required unless `marketSource` is `combo`. |
| `marketSource` | `gamma \| bespoke \| combo` | No | `gamma` for a Polymarket market id, `bespoke` for a bespoke market, `combo` for a market defined by its `legs`. |
| `legs` | `object[]` | No | The combo's legs, for `marketSource` `combo` only. |
| `combination` | `and` | No | The combo operator. Omitted means `and`. |
| `operation` | `split \| merge \| trade` | Yes | `split`: both sides buy, one YES and one NO. `merge`: both sides sell, one YES and one NO. `trade`: one side buys an outcome token from the other. |
| `token` | `yes \| no` | No | The outcome token that changes hands, for `trade` only. |
| `price` | `string` | Yes | The agreed price in (0, 1). The YES price for a split or merge, the traded token's price for a trade. |
| `shares` | `string` | Yes | A base-10 integer in 6-decimal units. |
| `parties` | `object` | Yes | Keyed `yes` and `no` for a split or merge, `buyer` and `seller` for a trade. |
| `priceTolerance` | `string` | No | Tightens the price band to this fraction of the mark, e.g. `0.05` for ±5%. Wider than the default is refused. |

```ts theme={null}
{
  marketId: string,
  outcome: yes | no
}[]
```

```ts theme={null}
Record<string, {
  maker: string,
  signer?: string,
  signatureType: number,
  role?: maker | taker
}>
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `orders` | `object \| null` | No | Keyed like the request's `parties`. |
| `fees` | `Record<string, string> \| null` | No | The fee each side will be charged, keyed like `orders`. |
| `expiresAt` | `string \| null` | No | After this, a submission of these orders is refused as stale. |

```ts theme={null}
Record<string, {
  order?: {
    salt?: string | null,
    maker?: string | null,
    signer?: string | null,
    tokenId?: string | null,
    makerAmount?: string | null,
    takerAmount?: string | null,
    side?: number | null,
    signatureType?: number | null,
    timestamp?: string | null,
    metadata?: string | null,
    builder?: string | null
  } | null,
  typedData?: {
  } | null,
  role?: string | null,
  digest?: string | null,
  signatureSuffix?: string | null
}> | null
```

***

### trades.submit

`rfq.trades.submit`

Submit a signed RFQ trade

**Risk:** `destructive`

```ts theme={null}
await corsair.polymarket.api.rfq.trades.submit({
	orders: [{
		salt: '1000000',
		maker: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
		signer: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
		tokenId: '1000000',
		makerAmount: '1000000',
		takerAmount: '1000000',
		side: 0,
		signatureType: 1,
		timestamp: 'example',
		metadata: 'example',
		builder: 'example',
		signature: 'example',
	}, {
		salt: '1000000',
		maker: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
		signer: '0x56687bf447db6ffa42ffe2204a05edaa20f55839',
		tokenId: '1000000',
		makerAmount: '1000000',
		takerAmount: '1000000',
		side: 0,
		signatureType: 1,
		timestamp: 'example',
		metadata: 'example',
		builder: 'example',
		signature: 'example',
	}],
	idempotencyKey: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `marketId` | `string` | No | Required unless `marketSource` is `combo`. |
| `marketSource` | `gamma \| bespoke \| combo` | No | `gamma` for a Polymarket market id, `bespoke` for a bespoke market, `combo` for a market defined by its `legs`. |
| `legs` | `object[]` | No | — |
| `combination` | `and` | No | The combo operator. Omitted means `and`. |
| `orders` | `object[]` | Yes | Both signed orders, in any order. |
| `idempotencyKey` | `string` | Yes | The partner's own reference for the trade. |
| `priceTolerance` | `string` | No | As on `PrepareRequest`. |
| `takerFeeAmount` | `0` | No | Not an input. Omit it; anything but `0` is rejected with `fee_not_accepted`. |
| `makerFeeAmount` | `0` | No | Not an input. Omit it; anything but `0` is rejected with `fee_not_accepted`. |

```ts theme={null}
{
  marketId: string,
  outcome: yes | no
}[]
```

```ts theme={null}
{
  salt: string,
  maker: string,
  signer: string,
  tokenId: string,
  makerAmount: string,
  takerAmount: string,
  side: 0 | 1,
  signatureType: number,
  timestamp: string,
  metadata: string,
  builder: string,
  signature: string,
  role?: maker | taker
}[]
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `tradeId` | `string \| null` | No | — |
| `status` | `string \| null` | No | `PENDING` until the trade lands on-chain (`FILLED`) or is refused or fails (`REJECTED`). |
| `fees` | `Record<string, string> \| null` | No | The fee each side is charged, keyed like the trade's parties. |
| `transactionHash` | `string \| null` | No | Set once the trade has executed, so only on a replay. |
| `createdAt` | `string \| null` | No | — |
| `combo` | `object \| null` | No | A combo's on-chain identity. Present on combo trades only. |

```ts theme={null}
{
  conditionId?: string | null,
  tokenIdYes?: string | null,
  tokenIdNo?: string | null,
  legs?: {
    marketId?: string | null,
    outcome?: string | null
  }[] | null
} | null
```

***

### trades.validate

`rfq.trades.validate`

Pre-flight proposed terms

**Risk:** `read`

```ts theme={null}
await corsair.polymarket.api.rfq.trades.validate({
	operation: 'split',
	price: 'example',
	shares: '1000000',
	parties: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `marketId` | `string` | No | Required unless `marketSource` is `combo`. |
| `marketSource` | `gamma \| bespoke \| combo` | No | `gamma` for a Polymarket market id, `bespoke` for a bespoke market, `combo` for a market defined by its `legs`. |
| `legs` | `object[]` | No | The combo's legs, for `marketSource` `combo` only. |
| `combination` | `and` | No | The combo operator. Omitted means `and`. |
| `operation` | `split \| merge \| trade` | Yes | `split`: both sides buy, one YES and one NO. `merge`: both sides sell, one YES and one NO. `trade`: one side buys an outcome token from the other. |
| `token` | `yes \| no` | No | The outcome token that changes hands, for `trade` only. |
| `price` | `string` | Yes | The agreed price in (0, 1). The YES price for a split or merge, the traded token's price for a trade. |
| `shares` | `string` | Yes | A base-10 integer in 6-decimal units. |
| `parties` | `object` | Yes | Keyed `yes` and `no` for a split or merge, `buyer` and `seller` for a trade. |
| `priceTolerance` | `string` | No | Tightens the price band to this fraction of the mark, e.g. `0.05` for ±5%. Wider than the default is refused. |

```ts theme={null}
{
  marketId: string,
  outcome: yes | no
}[]
```

```ts theme={null}
Record<string, {
  maker: string,
  signer?: string,
  signatureType: number,
  role?: maker | taker
}>
```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `valid` | `boolean \| null` | No | Whether a submission of these terms would be accepted now. |
| `checks` | `object \| null` | No | — |
| `checkedAt` | `string \| null` | No | — |

```ts theme={null}
{
  market?: {
    status?: string | null,
    reason?: string | null,
    detail?: string | null
  } | null,
  price?: {
    status?: string | null,
    reason?: string | null,
    detail?: string | null,
    band?: {
      mark?: string | null,
      lower?: string | null,
      upper?: string | null
    } | null
  } | null,
  parties?: Record<string, {
    status?: string | null,
    reason?: string | null,
    detail?: string | null
  }> | null,
  guardrails?: {
    id?: string | null,
    status?: string | null,
    reason?: string | null,
    detail?: string | null,
    party?: string | null
  }[] | null
} | null
```

***


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