> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Global MAX_EVENT_SERIALIZED_LEN

Module: `noir_aztec::messages::logs::event`

```rust
pub global MAX_EVENT_SERIALIZED_LEN: u32;
```

The maximum length of the packed representation of an event's contents. This is limited by private log size, encryption overhead and extra fields in the message (e.g. message type id, randomness, etc.).
