> For the complete documentation index, see [llms.txt](https://docs.definitive.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.definitive.fi/platform/prime/market-order.md).

# Market Order

A Market Order is the fastest way to buy or sell any token, executing instantly at the best available onchain price — Definitive finds the most efficient swap path and completes the trade gaslessly across supported chains.

When a Market Order is submitted, Definitive automatically:

* Simulates the trade across connected DEXs to determine the most efficient route.
* Executes the transaction at the best possible price after accounting for slippage, price impact, and fees.
* Confirms settlement onchain, displaying the final execution price and fill details within seconds.

<figure><img src="/files/hfRv2dhcCHkbWtLLVmkB" alt="" width="290"><figcaption></figcaption></figure>
