> For the complete documentation index, see [llms.txt](https://venzofinance.gitbook.io/venzofinance-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://venzofinance.gitbook.io/venzofinance-docs/venzo-swap/chain-abstraction-engine.md).

# Chain Abstraction Engine

The Venzo Swap engine operates across multiple networks, including Bitcoin, Solana, Ethereum, Arbitrum, BNB Chain, and Tron. By abstracting the underlying blockchain infrastructure, users can swap assets seamlessly without needing to hold native gas tokens for each network.

The Chain Abstraction Engine works by maintaining a unified liquidity layer that aggregates available liquidity across all supported chains. When a user initiates a swap, the engine:

1. Identifies the source and destination chains based on the selected asset pair.
2. Queries liquidity depth across all available venues on both chains, including decentralized exchanges (DEXs), automated market makers (AMMs), and order book-based exchanges.
3. Calculates the optimal route considering gas costs, bridge fees, slippage, and execution speed.
4. Executes the swap atomically, handling all intermediate steps (bridging, wrapping, unwrapping) transparently in the background.

The user experience is identical regardless of whether the swap occurs within a single chain or across multiple chains. The complexity of cross-chain communication, bridge security, and gas management is entirely abstracted away.

<br>


---

# 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://venzofinance.gitbook.io/venzofinance-docs/venzo-swap/chain-abstraction-engine.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.
