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

# Struct NoteHashAndNullifier

Module: `noir_aztec::messages::discovery`

```rust
pub struct NoteHashAndNullifier {
    pub note_hash: Field,
    pub inner_nullifier: Option<Field>,
}
```

## Fields

```rust
note_hash: Field
```

The result of [`crate::note::note_interface::NoteHash::compute_note_hash`](/aztec-nr-api/v6.0.0/noir_aztec/note/note_interface/trait.NoteHash.md#compute_note_hash).

```rust
inner_nullifier: Option<Field>
```

The result of [`crate::note::note_interface::NoteHash::compute_nullifier_unconstrained`](/aztec-nr-api/v6.0.0/noir_aztec/note/note_interface/trait.NoteHash.md#compute_nullifier_unconstrained).

This value is unconstrained, as all of message discovery is unconstrained. It is `None` if the nullifier cannot be computed (e.g. because the nullifier hiding key is not available).
