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

# Trait NoteType

Module: `noir_aztec::note::note_interface`

```rust
pub trait NoteType {
    // Required methods
    pub fn get_id() -> Field;
}
```

## Required methods

```rust
pub fn get_id() -> Field
```

Returns the unique identifier for the note type. This is typically used when processing note logs.

## Implementors

```rust
impl NoteType for AddressNote
```

```rust
impl NoteType for EcdsaPublicKeyNote
```

```rust
impl NoteType for EmptyNote
```

```rust
impl NoteType for FieldNote
```

```rust
impl NoteType for MaxSizeNote
```

```rust
impl NoteType for MockNote
```

```rust
impl NoteType for OversizedNote
```

```rust
impl NoteType for UintNote
```
