Skip to main content
Version: v0.85.0

private_notes

Standalone Functions

process_private_note_msg

process_private_note_msg(contract_address, tx_hash, unique_note_hashes_in_tx, MAX_NOTE_HASHES_PER_TX>, first_nullifier_in_tx, recipient, compute_note_hash_and_nullifier, msg_metadata, msg_content, MAX_MESSAGE_CONTENT_LEN>, );

Parameters

NameType
contract_addressAztecAddress
tx_hashField
unique_note_hashes_in_txBoundedVec<Field
MAX_NOTE_HASHES_PER_TX>
first_nullifier_in_txField
recipientAztecAddress
compute_note_hash_and_nullifierComputeNoteHashAndNullifier<Env>
msg_metadatau64
msg_contentBoundedVec<Field
MAX_MESSAGE_CONTENT_LEN>

attempt_note_discovery

attempt_note_discovery(contract_address, tx_hash, unique_note_hashes_in_tx, MAX_NOTE_HASHES_PER_TX>, first_nullifier_in_tx, recipient, compute_note_hash_and_nullifier, storage_slot, note_type_id, packed_note, MAX_NOTE_PACKED_LEN>, );

Parameters

NameType
contract_addressAztecAddress
tx_hashField
unique_note_hashes_in_txBoundedVec<Field
MAX_NOTE_HASHES_PER_TX>
first_nullifier_in_txField
recipientAztecAddress
compute_note_hash_and_nullifierComputeNoteHashAndNullifier<Env>
storage_slotField
note_type_idField
packed_noteBoundedVec<Field
MAX_NOTE_PACKED_LEN>

decode_private_note_msg

decode_private_note_msg(msg_metadata, msg_content, MAX_MESSAGE_CONTENT_LEN>, );

Parameters

NameType
msg_metadatau64
msg_contentBoundedVec<Field
MAX_MESSAGE_CONTENT_LEN>