Limit order
A limit order executes only when the market price reaches the price you specify. You set an exact price ratio in the datum, and the protocol fills the order when that price is available.- Execution fee: 1.8 ADA (3 × 0.6 ADA)
- Fills when: market price reaches your specified price
- Cancellable: yes, before execution
Place a limit order
Full transaction structure, datum fields, and deposit calculation.
Market order
A market order executes at the current market price. You accept any available price by setting an infinite slippage price in the datum, and the order fills on the next matcher run.- Execution fee: 0.6 ADA (1 × 0.6 ADA)
- Fills when: next available matcher run
- Cancellable: yes, before execution
Place a market order
Full transaction structure, price field setup, and deposit calculation.
Comparison
| Limit order | Market order | |
|---|---|---|
| Price | Specified ratio | Any (infinite slippage) |
| Execution fee | 1.8 ADA | 0.6 ADA |
| Fills when | Market reaches your price | Next matcher run |
| Beacon prefix | 0x00 | 0x01 |
Cancellation
Both order types can be cancelled before execution. Cancelling returns all ADA from the order — including collateral and execution fees — to the user.Cancel an order
How to cancel on-chain orders and reclaim funds.