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

Struct ResolvedTx

pub struct ResolvedTx {
    pub tx_hash: Field,
    pub unique_note_hashes_in_tx: BoundedVec<Field, 64>,
    pub first_nullifier_in_tx: Field,
    pub block_number: u32,
    pub block_hash: Field,
}

The resolved on-chain context of a transaction.

Fields

tx_hash: Field
unique_note_hashes_in_tx: BoundedVec<Field, 64>
first_nullifier_in_tx: Field
block_number: u32
block_hash: Field

Trait implementations

impl Deserialize for ResolvedTx

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

impl Eq for ResolvedTx

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

impl Serialize for ResolvedTx

pub fn serialize(self) -> [Field; 69] pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)