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

# Module offchain

Module: `noir_aztec::messages::processing::offchain`

## Structs

- [OffchainMessage](/aztec-nr-api/v6.0.0/noir_aztec/messages/processing/offchain/struct.OffchainMessage.md): A message delivered via the `offchain_receive` utility function.

## Type aliases

- [OffchainInboxSync](/aztec-nr-api/v6.0.0/noir_aztec/messages/processing/offchain/type.OffchainInboxSync.md): A function that manages offchain-delivered messages for processing during sync.

## Functions

- [receive](/aztec-nr-api/v6.0.0/noir_aztec/messages/processing/offchain/fn.receive.md): Delivers offchain messages to the given contract's offchain inbox for subsequent processing.
- [sync_inbox](/aztec-nr-api/v6.0.0/noir_aztec/messages/processing/offchain/fn.sync_inbox.md): Returns offchain-delivered messages to process during sync.

## Globals

- [MAX_OFFCHAIN_MESSAGES_PER_RECEIVE_CALL](/aztec-nr-api/v6.0.0/noir_aztec/messages/processing/offchain/global.MAX_OFFCHAIN_MESSAGES_PER_RECEIVE_CALL.md): Maximum number of offchain messages accepted by `offchain_receive` in a single call.
