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

# Module version

Module: `noir_aztec::oracle::version`

## Functions

- [assert_compatible_oracle_version](/aztec-nr-api/mainnet/noir_aztec/oracle/version/fn.assert_compatible_oracle_version.md): Asserts that the version of the oracle is compatible with the version expected by the contract.

## Globals

- [ORACLE_VERSION_MAJOR](/aztec-nr-api/mainnet/noir_aztec/oracle/version/global.ORACLE_VERSION_MAJOR.md): The oracle version constants are used to check that the oracle interface is in sync between PXE and Aztec.nr. We version the oracle interface as `major.minor` where:

  - `major` = backward-breaking changes (must match exactly between PXE and Aztec.nr)
  - `minor` = oracle additions (non-breaking; PXE minor >= contract minor)

- [ORACLE_VERSION_MINOR](/aztec-nr-api/mainnet/noir_aztec/oracle/version/global.ORACLE_VERSION_MINOR.md)
