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

# OPTIMEX: REVOLUTIONIZING BITCOIN FINANCE

- [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)


---

# 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.optimex.com/optimex-revolutionizing-bitcoin-finance.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.
