# MAX\_FIELD

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**@midnight-ntwrk/compact-runtime v0.21.0**](https://docs.midnight.network/api-reference/compact-runtime.md)

***

[@midnight-ntwrk/compact-runtime](https://docs.midnight.network/api-reference/compact-runtime/globals.md) / MAX\_FIELD

# Variable: MAX\_FIELD

```
const MAX_FIELD: bigint;
```

The maximum value representable in Compact's `Field` type

One less than the prime modulus of the proof system's scalar field.
