---
title: ChainType enum | Wartiva GraphQL API
description: The type of an nftables chain, defining its role in packet processing. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/chain-type.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `ChainType` enum

The type of an nftables chain, defining its role in packet processing.

## Values

| Enum Value | Description |
|---|---|
| `FILTER` | A filter chain is used for traditional packet filtering (e.g., allowing or blocking traffic). |
| `NAT` | A NAT chain is used for Network Address Translation (e.g., masquerading or port forwarding). |
| `ROUTE` | A route chain is used for routing decisions. |
| `UNSPECIFIED` | Type is not specified or unknown. |

## Used by

- [`Chain`](https://wartiva.com/api-docs/types/chain.html) type: Represents an nftables chain, which is a named list of rules that are executed in order.

## Example

### Example

```json
"FILTER"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
