> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/mainnet/llms.txt

# Function compute_tx_nullifier

Module: `noir_aztec::authwit::account`

```rust
pub fn compute_tx_nullifier(tx_nonce: Field) -> Field
```

Computes the nullifier emitted by cancellable transactions.

[`AccountActions::entrypoint`](/aztec-nr-api/mainnet/noir_aztec/authwit/account/struct.AccountActions.md#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.
