---
title: IP scalar | Wartiva GraphQL API
description: An IP is a string formatted as either a single 4-byte (IPv4) or 16-byte (IPv6) address. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/ip.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL scalar

# `IP` scalar

An IP is a string formatted as either a single 4-byte (IPv4) or 16-byte (IPv6) address.

## Used by

- [`DHCPv4Packet`](https://wartiva.com/api-docs/types/dhcpv4-packet.html) type: A DHCP v4 packet header and options.

## Example

### Example

```json
"192.168.0.1"

```

---

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