# Metal X Docs - DeFi App on XPR Network

## Metal X

- [What is Metal X?](https://docs.metalx.com/dex/what-is-metal-x.md)
- [Trading Interface](https://docs.metalx.com/dex/what-is-metal-x/trading-interface.md)
- [Trading on Metal X DEX](https://docs.metalx.com/dex/what-is-metal-x/trading-on-metal-x-dex.md)
- [DEX fees and discounts](https://docs.metalx.com/dex/what-is-metal-x/dex-fees-and-discounts.md)
- [Referral program](https://docs.metalx.com/dex/what-is-metal-x/referral-program.md)
- [Metal X FAQ](https://docs.metalx.com/dex/what-is-metal-x/metal-x-faq.md)
- [Smart Contract](https://docs.metalx.com/developers-dex/smart-contract.md)
- [Contract Address](https://docs.metalx.com/developers-dex/smart-contract/contract-address.md)
- [Tables](https://docs.metalx.com/developers-dex/smart-contract/tables.md)
- [Actions](https://docs.metalx.com/developers-dex/smart-contract/actions.md)
- [Contract Mappings](https://docs.metalx.com/developers-dex/contract-mappings.md)
- [Order Types](https://docs.metalx.com/developers-dex/contract-mappings/order-types.md)
- [Fill Types](https://docs.metalx.com/developers-dex/contract-mappings/fill-types.md)
- [Order Status](https://docs.metalx.com/developers-dex/contract-mappings/order-status.md): Status of an order
- [Order Side](https://docs.metalx.com/developers-dex/contract-mappings/order-side.md): Order side represents whether user want to buy or sell tokens.
- [Status codes for markets](https://docs.metalx.com/developers-dex/contract-mappings/status-codes-for-markets.md)
- [Common Errors](https://docs.metalx.com/developers-dex/contract-mappings/common-errors.md)
- [Examples](https://docs.metalx.com/developers-dex/examples.md)
- [Installation + Initialization](https://docs.metalx.com/developers-dex/examples/installation-+-initialization.md): DEX orders can be submitted through both JS and python library. Below are the instructions to install.
- [Submit DEX Order](https://docs.metalx.com/developers-dex/examples/submit-dex-order.md)
- [Cancel DEX Order](https://docs.metalx.com/developers-dex/examples/cancel-dex-order.md)
- [Order Lifecycle](https://docs.metalx.com/developers-dex/examples/order-lifecycle.md)
- [Audit](https://docs.metalx.com/developers-dex/audit.md)
- [Oracles](https://docs.metalx.com/developers-dex/oracles.md)
- [What is Metal X Swap?](https://docs.metalx.com/swap-pools-and-farms/what-is-metal-x-swap.md)
- [Trading Interface](https://docs.metalx.com/swap-pools-and-farms/what-is-metal-x-swap/trading-interface.md)
- [Swap fees and discounts](https://docs.metalx.com/swap-pools-and-farms/what-is-metal-x-swap/swap-fees-and-discounts.md)
- [Liquidity Pools](https://docs.metalx.com/swap-pools-and-farms/what-is-metal-x-swap/liquidity-pools.md)
- [Farming](https://docs.metalx.com/swap-pools-and-farms/what-is-metal-x-swap/farming.md)
- [Metal X Swap FAQ](https://docs.metalx.com/swap-pools-and-farms/what-is-metal-x-swap/metal-x-swap-faq.md)
- [Staking on Metal X](https://docs.metalx.com/staking/staking-on-metal-x.md)
- [Stake LOAN (Fixed Term)](https://docs.metalx.com/staking/staking-on-metal-x/stake-loan-fixed-term.md)
- [Stake XPR (Flexible)](https://docs.metalx.com/staking/staking-on-metal-x/stake-xpr-flexible.md)
- [My Positions](https://docs.metalx.com/staking/staking-on-metal-x/my-positions.md)
- [Tables](https://docs.metalx.com/developers-swap/tables.md)
- [Actions](https://docs.metalx.com/developers-swap/tables/actions.md)
- [Contracts](https://docs.metalx.com/developers-swap/tables/contracts.md)
- [Audit](https://docs.metalx.com/developers-swap/tables/audit.md)
- [XPR Network & Ecosystem](https://docs.metalx.com/xpr-network/xpr-network-and-ecosystem.md)
- [About](https://docs.metalx.com/dex-bot/about.md)
- [Installation](https://docs.metalx.com/dex-bot/installation.md)
- [Guides](https://docs.metalx.com/support/guides.md)


---

# 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, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://docs.metalx.com/dex/what-is-metal-x.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.
