Skip to main content

Order Lifecycle

When a user places an order, it flows through Orderly’s layered architecture:
  1. The Broker Front-end Layer forwards the signed order request
  2. The Messaging Layer verifies the request signature
  3. The Engine Layer matches the order off-chain using price-time priority
  4. The user receives order and execution updates
  5. On execution, matched trade data is batched and uploaded to the Settlement Layer
  6. After L2 inclusion, the matched trade data is publicly observable on Orderly L2
  7. Each L2 batch or block publishes its batch data to Ethereum as calldata or blob data, which becomes observable after the L1 publication is available
For the visibility and MEV boundaries at each stage, see Orderly Orderbook Design.

API Reference

Orders are managed through the following APIs: For algo orders (STOP, TP/SL, BRACKET), see Algo Order Samples.