Endpoint Interface
The core interface defines the essential data structures and key functions used for transmitting messages between blockchains. It establishes:
This interface guarantees every message is uniquely identified, correctly routed, and has its fees and security checks properly handled.
Message Channel Management
This module tracks and manages messages along each distinct communication pathway.
Together, these functions create a lossless communication pathway essential for reliable cross‑chain messaging.
Message Library Management
This module enables applications (OApps) to tailor the security threshold, finality, executor, and more.
This flexibility enables each application to customize its security and fee management settings rather than relying on a fixed validator set and standard.
Send Context and Reentrancy Protection
The Messaging Context module ensures:
These features maintain the integrity of the messaging process, ensuring that each message is processed in isolation.
Message Composition
“Arbitrary runtime dispatch” refers to the ability of a virtual machine (like the EVM) to decide dynamically at runtime which function to call based on input data. Not every blockchain virtual machine supports this, which limits how dynamically contracts can interact. The Messaging Composer provides a standardized way to compose and send follow‑up messages within multistep cross‑chain workflows.
This module enables advanced cross‑chain interactions without compromising security or finality.
Summary
The LayerZero Endpoint is the single, immutable entry and exit point for cross‑chain messaging, built on five core modules:
Together, these modules guarantee that every message sent and received via LayerZero is processed securely, efficiently, and reliably; no matter which blockchain the message originates from or is delivered to.