LayerZero Scan Swagger API
The LayerZero Scan Swagger API provides a comprehensive interface for programmatically tracking and analyzing cross-chain messages and transactions. With this API, developers can:
- Query Cross-Chain Messages: Search for messages by message ID, transaction hash, GUID, wallet address, or by endpoint and omnichain application (OApp) address.
- Filter and List Messages: Retrieve lists of messages filtered by status (e.g., INFLIGHT, DELIVERED, FAILED), by specific pathways, or by monthly periods.
- Access Detailed Transaction Data: Get detailed information on message states, including source and destination transaction details, verification statuses, and configuration metadata.
This API is particularly useful for monitoring bridging activities, tracking the progress of cross-chain interactions, and integrating LayerZero data into dashboards or other analytical tools.
Available Methods
The API exposes endpoints under a versioned path (e.g., /v1/
), including:
/messages/latest
Get the most recent messages./messages/pathway/{pathwayId}
Retrieve messages associated with a specific pathway./messages/tx/{tx}
Lookup messages using a transaction hash./messages/status/{status}
List messages filtered by their current status./messages/month/{date}
Get messages or statistics for a given month./messages/oapp/{eid}/{address}
Fetch messages by endpoint ID and OApp address./messages/guid/{guid}
Lookup messages by their unique GUID./messages/wallet/{srcAddress}
Retrieve messages initiated by a specific wallet address./openapi
Access the full OpenAPI specification for further integration details.
For additional information and interactive testing, please refer to the Swagger UI for your desired network: