For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::oracle::notes

Function get_settled_note_origin

pub unconstrained fn get_settled_note_origin(
    note_hash: Field,
    contract_address: AztecAddress,
    note_nonce: Field,
) -> Option<NoteOrigin>

Returns where the settled note with the given hash and nonce was created, or None if the note is unknown.

Nullified notes are also returned. Only notes of the executing contract can be looked up.