Struct MessageContext
pub struct MessageContext {
pub tx_hash: Field,
pub unique_note_hashes_in_tx: BoundedVec<Field, 64>,
pub first_nullifier_in_tx: Field,
pub recipient: AztecAddress,
}
Fields
tx_hash: Fieldunique_note_hashes_in_tx: BoundedVec<Field, 64>first_nullifier_in_tx: Fieldrecipient: AztecAddressTrait implementations
impl Deserialize for MessageContext
pub fn deserialize(serialized: [Field; 68]) -> Self
impl Eq for MessageContext
pub fn eq(_self: Self, _other: Self) -> bool
Additional information needed to process a message.
All messages exist in the context of a transaction, and information about that transaction is typically required in order to perform validation, store results, etc. For example, messages containing notes require knowledge of note hashes and the first nullifier in order to find the note's nonce.