# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.definitive.fi/platform/prime/market-order.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
