# Protocol Architecture

![](/files/4cDqc1TJKckqcfb6Xr44)

### CEXISWAP Router Contract instance&#x20;

Each supported chain would have a CEXISWAP Router Contract instance acting as the entry point for smart contract on-chain interactions. <br>

### Liquidity Vault instance &#x20;

Each liquidity provider in the CEXISWAP liquidity network has their own Liquidity Vault instance providing both on-chain and off-chain liquidity.<br>

### Trade Oracle service&#x20;

Each liquidity provider in the CEXISWAP liquidity network would operate their own Trade Oracle service which controls the flow of the liquidity provided.<br>

### CEXISWAP API Endpoint

The multi-chain API endpoint encapsulates knowledge about blockchains in an easy-to-use REST API. See the [example code](/cexiswap/api.md).


---

# Agent Instructions: 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:

```
GET https://docs.cexiswap.io/cexiswap/protocol-architecture.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.
