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

# Struct BlockConstantData

Module: `noir_aztec::protocol::abis::block_constant_data`

```rust
pub struct BlockConstantData {
    pub last_archive: AppendOnlyTreeSnapshot,
    pub l1_to_l2_tree_snapshot: AppendOnlyTreeSnapshot,
    pub vk_tree_root: Field,
    pub protocol_contracts_hash: Field,
    pub prover_id: Field,
    pub global_variables: GlobalVariables,
}
```

## Fields

```rust
last_archive: AppendOnlyTreeSnapshot
```

```rust
l1_to_l2_tree_snapshot: AppendOnlyTreeSnapshot
```

```rust
vk_tree_root: Field
```

```rust
protocol_contracts_hash: Field
```

```rust
prover_id: Field
```

```rust
global_variables: GlobalVariables
```

## Trait implementations

```rust
impl Deserialize for BlockConstantData
```

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

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

```rust
impl Empty for BlockConstantData
```

```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 BlockConstantData
```

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

```rust
impl Serialize for BlockConstantData
```

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

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