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

# Function privately_check_block_number

Module: `noir_aztec::public_checks`

```rust
pub fn privately_check_block_number(
    operation: u8,
    value: u32,
    context: &mut PrivateContext,
)
```

Asserts that the current block number in the enqueued public call enqueued by `check_block_number` satisfies the `operation` with respect to the `value. Preserves privacy by performing the check via the public checks contract. This conceals an address of the calling contract by setting `context.msg_sender\` to the public checks contract address.
