For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::oracle::get_membership_witness

Function get_maybe_block_hash_membership_witness

pub unconstrained fn get_maybe_block_hash_membership_witness(
    anchor_block_header: BlockHeader,
    block_hash: Field,
) -> Option<MembershipWitness<30>>

Same as get_block_hash_membership_witness, but returns None instead of erroring when the block is not present in the archive tree. Intended for callers that need to handle absence (e.g. existence checks via .is_some()).