Aztec.nr API Reference
The Aztec.nr API reference documentation is auto-generated from the source code using nargo doc.
View the API Documentation
The API reference includes documentation for all public modules, functions, structs, and types in the aztec-nr workspace:
Core Crates
- noir_aztec - Core Aztec contract framework including:
context- Private and public execution contextsstate_vars- State variable types (PrivateMutable, PublicMutable, Map, etc.)note- Note interfaces and utilitiesauthwit- Authentication witness supporthistory- Historical state proofsmessages- Cross-chain messagingoracle- Oracle interfacesmacros- Contract macros and attributeshash- Hash functions and utilitieskeys- Key management utilitiesevent- Event emission and interfacestest- Testing utilitiesutils- General utilities
Note Types
- address_note - Note type for storing Aztec addresses
- value_note - Note type for storing field values
- uint_note - Note type for storing unsigned integers
Utilities
- compressed_string - Compressed string utilities for efficient storage
- easy_private_state - Simplified private state management