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

# Function validate_and_store_enqueued_notes_and_events

Module: `noir_aztec::messages::processing`

```rust
pub unconstrained fn validate_and_store_enqueued_notes_and_events(scope: AztecAddress)
```

Validates and stores all enqueued notes and events.

Processes all requests enqueued via \[`enqueue_note_for_validation`] and [`enqueue_event_for_validation`](/aztec-nr-api/v6.0.0/noir_aztec/messages/processing/fn.enqueue_event_for_validation.md), inserting them into the note database and event store respectively, making them queryable via `get_notes` oracle and our TS API (PXE::getPrivateEvents).
