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

# Struct EpochConstantData

Module: `noir_aztec::protocol::abis::epoch_constant_data`

```rust
pub struct EpochConstantData {
    pub chain_id: Field,
    pub version: Field,
    pub vk_tree_root: Field,
    pub protocol_contracts_hash: Field,
    pub prover_id: Field,
}
```

## Fields

```rust
chain_id: Field
```

```rust
version: Field
```

```rust
vk_tree_root: Field
```

```rust
protocol_contracts_hash: Field
```

```rust
prover_id: Field
```

## Trait implementations

```rust
impl Deserialize for EpochConstantData
```

```rust
pub fn deserialize(fields: [Field; 5]) -> Self
```

```rust
pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self
```

```rust
impl Empty for EpochConstantData
```

```rust
pub fn empty() -> Self
```

```rust
pub fn is_empty(self: Self) -> bool
where
    Self: Eq
```

```rust
pub fn assert_empty<let S: u32>(self: Self, msg: str<S>)
where
    Self: Eq
```

```rust
impl Eq for EpochConstantData
```

```rust
pub fn eq(_self: Self, _other: Self) -> bool
```

```rust
impl Serialize for EpochConstantData
```

```rust
pub fn serialize(self) -> [Field; 5]
```

```rust
pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)
```
