aztec-nr - noir_aztec::oracle::nullifiers

Function is_nullifier_pending

pub unconstrained fn is_nullifier_pending(
    inner_nullifier: Field,
    contract_address: AztecAddress,
) -> bool

Returns true if the nullifier has been emitted in the same transaction, i.e. if notify_created_nullifier has been called for this inner nullifier from the contract with the specified address.

Note that despite sharing pending transaction information with the app, this is not a privacy leak: anyone in the network can always determine in which transaction a inner nullifier was emitted by a given contract by simply inspecting transaction effects. What would constitute a leak would be to share the list of inner pending nullifiers, as that would reveal their preimages.