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

# Module auth_witness

Module: `noir_aztec::oracle::auth_witness`

## Functions

- [get_auth_witness](/aztec-nr-api/mainnet/noir_aztec/oracle/auth_witness/fn.get_auth_witness.md): Oracle wrapper to fetch an `auth_witness` for a given `message_hash` from the PXE.
- [get_auth_witness_as_bytes](/aztec-nr-api/mainnet/noir_aztec/oracle/auth_witness/fn.get_auth_witness_as_bytes.md): Fetches an auth witness and casts each field to a byte.
