# Optimex

## Optimex

- [Introduction](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/intro.md)
- [Problem Statement](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/intro/problem-statement.md)
- [Untapped Market](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/intro/untapped-market.md)
- [Primary Building Blocks](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/primary-building-blocks.md)
- [Native Bitcoin Vault](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/primary-building-blocks/native-bitcoin-vault.md)
- [Decentralized Validation Network](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/primary-building-blocks/decentralized-validation-network.md)
- [L2 as a Communication Layer](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/primary-building-blocks/l2-as-a-communication-layer.md)
- [Optimex Staking](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/primary-building-blocks/optimex-staking.md)
- [Optimex Swap](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap.md)
- [User Guide](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/user-guide.md)
- [Connect your Wallet](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/user-guide/connect-your-wallet.md)
- [Initiate Swap Request](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/user-guide/initiate-swap-request.md)
- [Confirm and Sign](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/user-guide/confirm-and-sign.md)
- [Track Swap Progress](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/user-guide/track-swap-progress.md)
- [How It Works](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work.md)
- [Market Makers](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/market-markers.md)
- [Solver](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/solver.md)
- [Execution Flow](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/execution-flow.md)
- [Trade Life Cycle](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle.md)
- [Asset-chain](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/asset-chain.md)
- [Depositing Funds](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/asset-chain/depositing-funds.md)
- [Claim Locked Funds](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/asset-chain/claim-locked-funds.md)
- [Settle Trade Payment](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/asset-chain/settle-trade-payment.md)
- [Optimex L2 Network](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/optimex-l2-network.md)
- [Stage: Trade Initialization](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/optimex-l2-network/stage-trade-initialization.md)
- [Stage: Confirm Deposit & Failure Handling](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/optimex-l2-network/stage-confirm-deposit-and-failure-handling.md)
- [Stage: PMM Selection & Failure Handling](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/optimex-l2-network/stage-pmm-selection-and-failure-handling.md)
- [Stage: Make Payment & Failure Handling](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/optimex-l2-network/stage-make-payment-and-failure-handling.md)
- [Stage: Confirm Payment & Failure Handling](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/optimex-l2-network/stage-confirm-payment-and-failure-handling.md)
- [Stage: Confirm Settlement & Failure Handling](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/optimex-l2-network/stage-confirm-settlement-and-failure-handling.md)
- [Stage: Refund](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/trade-life-cycle/optimex-l2-network/stage-refund.md)
- [Fee Structure](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/fee-structure.md)
- [Governance](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/governance.md)
- [Supported Chains & Tokens](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-swap/optimex-swap-how-it-work/supported-chains-and-tokens.md)
- [Optimex Borrow](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow.md)
- [User Guide](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow/user-guide.md)
- [Connect Wallet](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow/user-guide/connect-wallet.md)
- [Borrow](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow/user-guide/borrow.md)
- [Confirm & Sign](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow/user-guide/confirm-and-sign.md)
- [Manage your Borrow Position](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow/user-guide/manage-your-borrow-position.md)
- [Unlock & Close](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow/user-guide/unlock-and-close.md)
- [How It Works](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow/how-it-works.md)
- [Borrow & Repay](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow/how-it-works/borrow-and-repay.md)
- [Liquidation](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow/how-it-works/liquidation.md)
- [Fee Structure](https://docs.optimex.com/optimex-revolutionizing-bitcoin-finance/optimex-borrow/how-it-works/fee-structure.md)
- [Integration Guide](https://docs.optimex.com/wallet-client-integration/overview.md): This section provides and overview on how a Web3 Wallet can integrate Optimex Swap as one of the core functions in its UI.
- [Affiliate Fee](https://docs.optimex.com/wallet-client-integration/affiliate-fee.md)
- [Integration Guide](https://docs.optimex.com/pmm-sdk-integration/overview.md)
- [Audits](https://docs.optimex.com/security/audits.md)
- [Optimex Referral Program](https://docs.optimex.com/referrals/optimex-referral-program.md)
- [Third-Party Integrations](https://docs.optimex.com/third-party-connectors/third-party-integrations.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.optimex.com/optimex-revolutionizing-bitcoin-finance/intro.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.
