Market orders

Swap now at the quoted price, protected by a slippage floor.

The create endpoint accepts orderType: "market". Today a market order is a short-lived intent whose minimum is the quote minus the user's slippage tolerance, so it fills on the next solver cycle or refunds.

Recommended flow

  1. POST /api/v1/quote for the pair and size.
  2. Set the minimum to amountOut × (1 − slippage).
  3. Create the intent with a short duration (a few blocks).
  4. Fund, then watch for intent:filled.

Planned