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

Struct NoteOrigin

pub struct NoteOrigin {
    pub tx_hash: Field,
    pub block: BlockReference,
}

Where a settled note was created.

None of this can be cheaply constrained: doing so requires proving the transaction, its inclusion in the block, and the block's ancestry in the anchor block.

Fields

tx_hash: Field

Hash of the transaction that created the note.

The block that transaction was included in.

Trait implementations

impl Deserialize for NoteOrigin

pub fn deserialize(fields: [Field; 3]) -> Self pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self

impl Eq for NoteOrigin

pub fn eq(_self: Self, _other: Self) -> bool