For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::authwit::account

Function compute_tx_nullifier

pub fn compute_tx_nullifier(tx_nonce: Field) -> Field

Computes the nullifier emitted by cancellable transactions.

AccountActions::entrypoint emits this nullifier when its cancellable flag is set. Account contracts that implement their own entrypoint can emit it to make their transactions cancellable in the same way.