> For the complete documentation index, see [llms.txt](https://docs.evedex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.evedex.com/key-features-and-components/trading-platform-and-matching-engine/arbitrum-l3-and-on-chain-settlement.md).

# Arbitrum L2 and on-chain settlement

On-chain settlement refers to the process of finalizing transactions directly on Arbitrum. Unlike centralized exchanges, where trades are executed and settled off-chain within the exchange's internal ledger, EVEDEX leverages blockchain technology to ensure transparency, security, and self-custody.

The platform handles the following on Arbitrum:

* **Position and Funds Data**: Logs user trading positions and balances.
* **Liquidation and ADL Data**: Records liquidation events and ADL (Auto-Deleveraging) adjustments.
* **Funding Rates and Fees**: Tracks funding rates and trading fees paid.
* **Auditability**: Provides open, verifiable data for anyone to review.

We have shared the entire journey of our current blockchain solution on this [page](/key-features-and-components/advanced-layer-3-infrastructure.md). You can find detailed insights and background information there.

#### Interaction Between EVEDEX Core Engine and Blockchain

User actions are periodically recorded in the blockchain to verify and ensure the correctness of the backend data. Key scenarios include:

* **Periodic Updates**: User position data is written to the blockchain after sufficient changes have accumulated.
* **Withdrawals**: When a user withdraws funds, the data is recorded on-chain to verify backend correctness.


---

# 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.evedex.com/key-features-and-components/trading-platform-and-matching-engine/arbitrum-l3-and-on-chain-settlement.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.
