aztec-nr - noir_aztec::note::note_getter

Function view_notes

pub unconstrained fn view_notes<Note, let M: u32>(
    storage_slot: Field,
    options: NoteViewerOptions<Note, M>,
) -> BoundedVec<Note, 10>
where Note: NoteType, Note: Packable<N = M>, Note: Eq

Unconstrained variant of get_notes, meant to be used in unconstrained execution contexts. Notably only the note content is returned, and not any of the information used when proving its existence (e.g. note nonce, note hash, etc.).