# TxFlow Docs

## TxFlow L1

- [Overview](https://docs.txflow.com/txflow-l1/overview.md)
- [Architecture](https://docs.txflow.com/txflow-l1/core-protocol/architecture.md)
- [Execution Model](https://docs.txflow.com/txflow-l1/core-protocol/execution-model.md)
- [State Machine](https://docs.txflow.com/txflow-l1/core-protocol/state-machine.md)
- [Finality](https://docs.txflow.com/txflow-l1/core-protocol/finality.md)
- [Shared Liquidity](https://docs.txflow.com/txflow-l1/shared-liquidity.md)
- [Protocol Vault](https://docs.txflow.com/txflow-l1/protocol-vault.md)
- [User Vault](https://docs.txflow.com/txflow-l1/user-vault.md)
- [Overview](https://docs.txflow.com/txflow-l1/tip-standards/overview.md)
- [Interfaces](https://docs.txflow.com/txflow-l1/tip-standards/interfaces.md)
- [SDK](https://docs.txflow.com/txflow-l1/tip-standards/sdk.md)
- [Channel Lifecycle](https://docs.txflow.com/txflow-l1/channel-lifecycle.md)
- [Deployment](https://docs.txflow.com/txflow-l1/deployment.md)
- [Settlement](https://docs.txflow.com/txflow-l1/settlement.md)
- [Validators](https://docs.txflow.com/txflow-l1/security/validators.md)
- [Risk Controls](https://docs.txflow.com/txflow-l1/security/risk-controls.md)
- [Censorship Resistance](https://docs.txflow.com/txflow-l1/security/censorship-resistance.md)

## TxFlow Dex

- [About TxFlow](https://docs.txflow.com/about-txflow.md)
- [Mainnet Onboarding](https://docs.txflow.com/getting-started/mainnet-onboarding.md)
- [Testnet Onboarding](https://docs.txflow.com/getting-started/testnet-onboarding.md)
- [Page 1](https://docs.txflow.com/technical-architecture/page-1.md)
- [Contract Specifications](https://docs.txflow.com/perp/contract-specifications.md)
- [Accounts and Margin](https://docs.txflow.com/perp/accounts-and-margin.md)
- [Trading Rules](https://docs.txflow.com/perp/trading-rules.md)
- [Margin Tiers](https://docs.txflow.com/perp/trading-rules/margin-tiers.md)
- [Position and Order Limits](https://docs.txflow.com/perp/trading-rules/position-and-order-limits.md)
- [Order Types and Matching](https://docs.txflow.com/perp/order-types-and-matching.md)
- [Order Types](https://docs.txflow.com/perp/order-types-and-matching/order-types.md)
- [Order Matching](https://docs.txflow.com/perp/order-types-and-matching/order-matching.md)
- [Mark Price and Oracle Price](https://docs.txflow.com/perp/mark-price-and-oracle-price.md)
- [Funding](https://docs.txflow.com/perp/funding.md)
- [Trading Fees](https://docs.txflow.com/perp/trading-fees.md)
- [Entry Price and PnL](https://docs.txflow.com/perp/entry-price-and-pnl.md)
- [Liquidations](https://docs.txflow.com/perp/liquidations.md)
- [Auto-Deleveraging(ADL)](https://docs.txflow.com/perp/auto-deleveraging-adl.md)
- [Deposit & Withdrawal Guide](https://docs.txflow.com/spot/deposit-and-withdrawal-guide.md)
- [Trading Fees](https://docs.txflow.com/spot/trading-fees.md)
- [Order Types](https://docs.txflow.com/spot/order-types.md)
- [Protocol Vault and User Vault](https://docs.txflow.com/vault/protocol-vault-and-user-vault.md)
- [Referral](https://docs.txflow.com/referral/referral.md)
- [Referral](https://docs.txflow.com/referral/referral-1.md)
- [Affiliate](https://docs.txflow.com/referral/affiliate.md)
- [Fee Credits](https://docs.txflow.com/fee-credits/fee-credits.md)
- [Early Bird - Weighted Incentives Explanation](https://docs.txflow.com/points/early-bird-weighted-incentives-explanation.md)
- [Bug Bounty Program](https://docs.txflow.com/bug-bounty-program/bug-bounty-program.md)
- [Terms of Use](https://docs.txflow.com/resources/terms-of-use.md)
- [Privacy Policy](https://docs.txflow.com/resources/privacy-policy.md)
- [Official Links](https://docs.txflow.com/resources/official-links.md)
- [Brand Kit](https://docs.txflow.com/resources/brand-kit.md)

## API Reference

- [Platform API](https://docs.txflow.com/api-reference/readme.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.txflow.com/about-txflow.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.
