# Integer Schemas

Integer quantity schemas exported directly from `z`.

<a id="zbigint" />

## `z.BigInt`

Hex quantity decoded as `bigint` and encoded as hex.

```ts
export const BigInt = z.codec(quantityHex(), uintBigint(), {
  decode: (value) => core_Hex.toBigInt(value),
  encode: (value) => core_Hex.fromNumber(value),
})
```

**Source:** [src/zod/BigInt.ts](https://github.com/wevm/ox/blob/main/src/zod/BigInt.ts)

<a id="zbiginttorpc" />

## `z.BigIntToRpc`

Encode-only hex quantity accepting `Hex | bigint | number`.

```ts
export const BigIntToRpc = z.codec(quantityHex(), uintBigintNumberish(), {
  decode: (value) => core_Hex.toBigInt(value),
  encode: (value) => encodeNumberish(value),
})
```

**Source:** [src/zod/BigInt.ts](https://github.com/wevm/ox/blob/main/src/zod/BigInt.ts)

<a id="zint" />

## `z.Int`

Unsized integer decoded as `bigint` and encoded as hex.

```ts
export const Int = z.codec(quantityHex(), uintBigint(), {
  decode: (value) => core_Hex.toBigInt(value),
  encode: (value) => core_Hex.fromNumber(value),
})
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint104" />

## `z.Int104`

104-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int104 = signedBigint(104)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint112" />

## `z.Int112`

112-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int112 = signedBigint(112)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint120" />

## `z.Int120`

120-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int120 = signedBigint(120)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint128" />

## `z.Int128`

128-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int128 = signedBigint(128)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint136" />

## `z.Int136`

136-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int136 = signedBigint(136)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint144" />

## `z.Int144`

144-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int144 = signedBigint(144)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint152" />

## `z.Int152`

152-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int152 = signedBigint(152)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint16" />

## `z.Int16`

16-bit signed integer decoded as `number` and encoded as hex.

```ts
export const Int16 = signed(16)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint160" />

## `z.Int160`

160-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int160 = signedBigint(160)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint168" />

## `z.Int168`

168-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int168 = signedBigint(168)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint176" />

## `z.Int176`

176-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int176 = signedBigint(176)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint184" />

## `z.Int184`

184-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int184 = signedBigint(184)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint192" />

## `z.Int192`

192-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int192 = signedBigint(192)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint200" />

## `z.Int200`

200-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int200 = signedBigint(200)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint208" />

## `z.Int208`

208-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int208 = signedBigint(208)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint216" />

## `z.Int216`

216-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int216 = signedBigint(216)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint224" />

## `z.Int224`

224-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int224 = signedBigint(224)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint232" />

## `z.Int232`

232-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int232 = signedBigint(232)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint24" />

## `z.Int24`

24-bit signed integer decoded as `number` and encoded as hex.

```ts
export const Int24 = signed(24)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint240" />

## `z.Int240`

240-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int240 = signedBigint(240)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint248" />

## `z.Int248`

248-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int248 = signedBigint(248)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint256" />

## `z.Int256`

256-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int256 = signedBigint(256)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint32" />

## `z.Int32`

32-bit signed integer decoded as `number` and encoded as hex.

```ts
export const Int32 = signed(32)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint40" />

## `z.Int40`

40-bit signed integer decoded as `number` and encoded as hex.

```ts
export const Int40 = signed(40)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint48" />

## `z.Int48`

48-bit signed integer decoded as `number` and encoded as hex.

```ts
export const Int48 = signed(48)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint56" />

## `z.Int56`

56-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int56 = signedBigint(56)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint64" />

## `z.Int64`

64-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int64 = signedBigint(64)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint72" />

## `z.Int72`

72-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int72 = signedBigint(72)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint8" />

## `z.Int8`

8-bit signed integer decoded as `number` and encoded as hex.

```ts
export const Int8 = signed(8)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint80" />

## `z.Int80`

80-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int80 = signedBigint(80)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint88" />

## `z.Int88`

88-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int88 = signedBigint(88)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="zint96" />

## `z.Int96`

96-bit signed integer decoded as `bigint` and encoded as hex.

```ts
export const Int96 = signedBigint(96)
```

**Source:** [src/zod/Int.ts](https://github.com/wevm/ox/blob/main/src/zod/Int.ts)

<a id="znumber" />

## `z.Number`

Hex quantity decoded as `number` and encoded as hex.

```ts
export const Number = z.codec(quantityHex(), uintNumber(), {
  decode: (value) => core_Hex.toNumber(value),
  encode: (value) => core_Hex.fromNumber(value),
})
```

**Source:** [src/zod/Number.ts](https://github.com/wevm/ox/blob/main/src/zod/Number.ts)

<a id="znumbertorpc" />

## `z.NumberToRpc`

Encode-only hex quantity accepting `Hex | number`.

```ts
export const NumberToRpc = z.codec(quantityHex(), uintNumberNumberish(), {
  decode: (value) => core_Hex.toNumber(value),
  encode: (value) => encodeNumberish(value),
})
```

**Source:** [src/zod/Number.ts](https://github.com/wevm/ox/blob/main/src/zod/Number.ts)

<a id="zuint" />

## `z.Uint`

Unsized unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint = z.codec(quantityHex(), uintBigint(), {
  decode: (value) => core_Hex.toBigInt(value),
  encode: (value) => core_Hex.fromNumber(value),
})
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint104" />

## `z.Uint104`

104-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint104 = unsignedBigint(104)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint112" />

## `z.Uint112`

112-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint112 = unsignedBigint(112)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint120" />

## `z.Uint120`

120-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint120 = unsignedBigint(120)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint128" />

## `z.Uint128`

128-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint128 = unsignedBigint(128)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint136" />

## `z.Uint136`

136-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint136 = unsignedBigint(136)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint144" />

## `z.Uint144`

144-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint144 = unsignedBigint(144)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint152" />

## `z.Uint152`

152-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint152 = unsignedBigint(152)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint16" />

## `z.Uint16`

16-bit unsigned integer decoded as `number` and encoded as hex.

```ts
export const Uint16 = unsigned(16)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint160" />

## `z.Uint160`

160-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint160 = unsignedBigint(160)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint168" />

## `z.Uint168`

168-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint168 = unsignedBigint(168)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint176" />

## `z.Uint176`

176-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint176 = unsignedBigint(176)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint184" />

## `z.Uint184`

184-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint184 = unsignedBigint(184)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint192" />

## `z.Uint192`

192-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint192 = unsignedBigint(192)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint200" />

## `z.Uint200`

200-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint200 = unsignedBigint(200)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint208" />

## `z.Uint208`

208-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint208 = unsignedBigint(208)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint216" />

## `z.Uint216`

216-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint216 = unsignedBigint(216)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint224" />

## `z.Uint224`

224-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint224 = unsignedBigint(224)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint232" />

## `z.Uint232`

232-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint232 = unsignedBigint(232)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint24" />

## `z.Uint24`

24-bit unsigned integer decoded as `number` and encoded as hex.

```ts
export const Uint24 = unsigned(24)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint240" />

## `z.Uint240`

240-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint240 = unsignedBigint(240)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint248" />

## `z.Uint248`

248-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint248 = unsignedBigint(248)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint256" />

## `z.Uint256`

256-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint256 = unsignedBigint(256)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint32" />

## `z.Uint32`

32-bit unsigned integer decoded as `number` and encoded as hex.

```ts
export const Uint32 = unsigned(32)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint40" />

## `z.Uint40`

40-bit unsigned integer decoded as `number` and encoded as hex.

```ts
export const Uint40 = unsigned(40)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint48" />

## `z.Uint48`

48-bit unsigned integer decoded as `number` and encoded as hex.

```ts
export const Uint48 = unsigned(48)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint56" />

## `z.Uint56`

56-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint56 = unsignedBigint(56)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint64" />

## `z.Uint64`

64-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint64 = unsignedBigint(64)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint72" />

## `z.Uint72`

72-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint72 = unsignedBigint(72)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint8" />

## `z.Uint8`

8-bit unsigned integer decoded as `number` and encoded as hex.

```ts
export const Uint8 = unsigned(8)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint80" />

## `z.Uint80`

80-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint80 = unsignedBigint(80)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint88" />

## `z.Uint88`

88-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint88 = unsignedBigint(88)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint8torpc" />

## `z.Uint8ToRpc`

Encode-only 8-bit unsigned integer accepting `Hex | number`.

```ts
export const Uint8ToRpc = unsignedToRpc(8)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuint96" />

## `z.Uint96`

96-bit unsigned integer decoded as `bigint` and encoded as hex.

```ts
export const Uint96 = unsignedBigint(96)
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)

<a id="zuinttorpc" />

## `z.UintToRpc`

Encode-only unsized unsigned integer accepting `Hex | bigint | number`.

```ts
export const UintToRpc = z.codec(quantityHex(), uintBigintNumberish(), {
  decode: (value) => core_Hex.toBigInt(value),
  encode: (value) => encodeNumberish(value),
})
```

**Source:** [src/zod/Uint.ts](https://github.com/wevm/ox/blob/main/src/zod/Uint.ts)
