> For the complete documentation index, see [llms.txt](https://singularityzk.gitbook.io/singularity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://singularityzk.gitbook.io/singularity/darkswap-onchain-darkpool/darkswap-faqs/trading-details.md).

# Trading Details

## **Trading Privacy & Order Types**

### **What is made dark or private when I trade?**

All **order details** are fully encrypted and hidden from the public, including:

* **Asset pairs**
* **Prices**
* **Order amounts**
* **Order direction** (buy/sell)
* **Intent and strategy**

The Darkswap matching engine processes these **encrypted orders** without the ability to decrypt or access the cleartext trade details — even **on-chain**.\
This ensures complete privacy at every step.

### **What types of orders can I execute?**

Darkswap supports **three advanced private order types**:

#### **1. Limit Order**

Executes at your specified limit price or **better**.\
Ideal for precise execution within a defined price range.

#### **2. Stop Limit Order**

A two-step private workflow:\
**Trigger price → Limit order execution**\
Perfect for setting automated entries once price conditions are met.

#### **3. Take Profit Order**

Also a **Trigger → Limit** structure.\
Automatically executes when the market reaches your profit target, while keeping all details private.

### **Can traders verify that they were not front-run?**

**Yes.** Darkswap is architected to eliminate MEV and front-running by design.

You are protected because:

* **No mempool exposure**
* **No cleartext order broadcast**
* **All settlements require cryptographic proofs** confirming correct matching

This proof-based mechanism ensures:

* No MEV
* No sandwich attacks
* No pre-trade information leakage
* No validator or bot advantage

Traders can trust that **every execution is private, fair, and verifiably correct**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://singularityzk.gitbook.io/singularity/darkswap-onchain-darkpool/darkswap-faqs/trading-details.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
