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

# Function compute_l2_to_l1_message_hash

Module: `noir_aztec::protocol::hash`

```rust
pub fn compute_l2_to_l1_message_hash(
    message: Scoped<L2ToL1Message>,
    rollup_version_id: Field,
    chain_id: Field,
) -> Field
```
