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

# Function get_notes

Module: `noir_aztec::oracle::notes`

```rust
pub unconstrained fn get_notes<Note, let M: u32, let MaxNotes: u32>(
    owner: Option<AztecAddress>,
    storage_slot: Field,
    num_selects: u8,
    select_by_indexes: [u8; M],
    select_by_offsets: [u8; M],
    select_by_lengths: [u8; M],
    select_values: [Field; M],
    select_comparators: [u8; M],
    sort_by_indexes: [u8; M],
    sort_by_offsets: [u8; M],
    sort_by_lengths: [u8; M],
    sort_order: [u8; M],
    limit: u32,
    offset: u32,
    status: u8,
) -> [Option<HintedNote<Note>>; MaxNotes]
where
    Note: NoteType,
    Note: Packable
```
