aztec-nr - noir_aztec::messages::processing

Function get_message_contexts_by_tx_hash

pub unconstrained fn get_message_contexts_by_tx_hash(
    contract_address: AztecAddress,
    message_context_requests_array_base_slot: Field,
    message_context_responses_array_base_slot: Field,
    scope: AztecAddress,
)

Resolves message contexts for a list of tx hashes stored in a CapsuleArray.

The message_context_requests_array_base_slot must point to a CapsuleArray containing tx hashes. PXE will store Option<MessageContextResponse> values into the responses array at message_context_responses_array_base_slot.