Struct OffchainMessage
pub struct OffchainMessage {
pub ciphertext: BoundedVec<Field, 15>,
pub recipient: AztecAddress,
pub tx_hash: Option<Field>,
pub anchor_block_timestamp: u64,
}
Fields
ciphertext: BoundedVec<Field, 15>The encrypted message payload.
recipient: AztecAddressThe intended recipient of the message.
The hash of the transaction that produced this message. Option::none indicates a tx-less message.
anchor_block_timestamp: u64Anchor block timestamp at message emission.
Trait implementations
impl Deserialize for OffchainMessage
pub fn deserialize(fields: [Field; 20]) -> Self
pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self
A message delivered via the
offchain_receiveutility function.