# What is MarginX?

MarginX is the world’s first community-based decentralized exchange (DEX) built on the Function X network, and running via a multi-chain and on-chain infrastructure. We aim to bridge the traditional financial markets and cryptocurrency world by providing a platform where investors can buy, sell and create derivative products of any financial asset, and where every stakeholder has a say in the future of the platform.

MarginX is the first DEX to be launched on the Function X blockchain. We are built with the Cosmos SDK as a subnet of f(x)Core, and run on a proof-of-stake mechanism. $FX and USDT will be used for gas fees.


---

# 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://marginx.gitbook.io/marginx/contents/what-is-f-x-dex.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.
