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

# Introduction to GammaSwap

<figure><img src="/files/2dffjLXMLjwArd4n5lU2" alt=""><figcaption></figcaption></figure>

## What is GammaSwap?

GammaSwap is a high performance prediction market focused on financial assets. Users can predict whether cryptocurrencies like BTC and ETH will be up or down over short timeframes (5 minutes, 15 minutes, etc) while maintaining custody of their assets. It was engineered from the bottom up to be fast, simple and efficient.

### Key Aspects of GammaSwap

* **Non-Custodial.** You maintain full control of your assets.
* **Margin Based.** Simple and capital efficient.
* **Instant Resolutions.** No human intervention needed.
* **Off-Chain Matching.** Low latency performance.
* **On-Chain Settlement.** All matched trades settle on-chain and are public.

### High Level Exchange Mechanics

The exchange matches orders off-chain and sequences the transactions that ultimately settle on [Base](https://www.base.org/), a layer 2 blockchain created by [Coinbase](https://www.coinbase.com/).

Blockchain interactions are abstracted away for the user. They do not need gas to deposit or submit orders. Instead, the exchange pays gas on their behalf.

After signing to deposit, all trades can be performed without wallet pop ups mimicking a traditional trading experience.


---

# 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://docs.gammaswap.com/introduction-to-gammaswap.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.
