aztec-nr - noir_aztec::messages::processing::offchain

Struct OffchainMessage

pub struct OffchainMessage {
    pub ciphertext: BoundedVec<Field, 15>,
    pub recipient: AztecAddress,
    pub tx_hash: Option<Field>,
    pub anchor_block_timestamp: u64,
}

A message delivered via the offchain_receive utility function.

Fields

ciphertext: BoundedVec<Field, 15>

The encrypted message payload.

recipient: AztecAddress

The intended recipient of the message.

tx_hash: Option<Field>

The hash of the transaction that produced this message. Option::none indicates a tx-less message.

anchor_block_timestamp: u64

Anchor block timestamp at message emission.