# Fill an existing buy or sell order

1. Go to [illiquid.market](https://illiquid.market/) and browse the directory of available orders, or paste the address of the token.<br>

   <figure><img src="/files/gho2FIkueNVrDuJHsNv7" alt=""><figcaption></figcaption></figure>
2. Find an offer you like and tap the corresponding "Buy" or "Sell" button.<br>

   <figure><img src="/files/UxSEIARc89cWluH35RKT" alt=""><figcaption></figcaption></figure>
3. Ensure that the token addresses are correct. Anyone can create a token, so take care to ensure the token you'll be receiving when selling (e.g. USDC) is genuine. You can tap the address to view it on your network's block explorer.<br>

   <figure><img src="/files/38K9iCuuTMXTinKc2GBx" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/pVgiEz804mMGPOyzzWHu" alt=""><figcaption></figcaption></figure>
4. Tap the "Accept Trade Offer" button.<br>

   <figure><img src="/files/t3mzVPifYP13fnOxbiY9" alt=""><figcaption></figcaption></figure>
5. Submit an "Allow Token Spend" transaction, which gives Illiquid permission to complete the swap.<br>

   <figure><img src="/files/9s1ovOPZwsitLHkDdSRb" alt=""><figcaption><p>Ensure you have enough balance to complete the order, you will be unable to proceed until you do<br></p></figcaption></figure>
6. Once that confirms, submit an "Execute Order" transaction, which performs an atomic swap between your wallet and the counterparty's wallet.
7. Once the transaction confirms, you're done. Security safeguards ensure that if the transaction fails or gets stuck, both parties retain their funds.


---

# 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.illiquid.market/tutorials/fill-an-existing-buy-or-sell-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.
