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

# Developer Docs

- [Dev Overview](https://turbos.gitbook.io/turbos/developer-docs/dev-overview.md): To follow the latest updates of packages and SDK, you can join our Dev Notification channel on Discord: https://discord.com/channels/1111095127725854820/1378031504650801232
- [via SDK](https://turbos.gitbook.io/turbos/developer-docs/via-sdk.md)
- [Get Started](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/get-started.md)
- [Initialize SDK](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/initialize-sdk.md)
- [Clmm](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm.md)
- [FetchTicks](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/fetchticks.md)
- [getConfig](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/getconfig.md)
- [getFeesConfig](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/getfeesconfig.md)
- [getPools](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/getpools.md)
- [getPool](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/getpool.md)
- [createPool](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/createpool.md)
- [createAndAddLiquidity](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/createandaddliquidity.md)
- [increaseLiquidity](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/increaseliquidity.md)
- [decreaseLiquidity](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/decreaseliquidity.md)
- [removeLiquidityAndBurn](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/removeliquidityandburn.md)
- [preSwap](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/preswap.md): To initiate a swap, start with a preliminary swap assessment to understand the potential outcome. Afterward, you can set the amount limit based on the swap result and the slippage tolerance.
- [swap](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/swap.md)
- [collect Fees](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/collect-fees.md)
- [collect Rewards](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/collect-rewards.md)
- [Fee](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/fee.md)
- [Liquidity and coin amounts calculation](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/liquidity-and-coin-amounts-calculation.md): Liquidity, coin amount, price and tick.
- [APR calculation](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/clmm/apr-calculation.md)
- [Vault](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/vault.md)
- [createAndDepositVault](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/vault/createanddepositvault.md)
- [depositVault](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/vault/depositvault.md)
- [withdrawVault](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/vault/withdrawvault.md)
- [withdrawAllVault](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/vault/withdrawallvault.md)
- [collectClmmRewardDirectReturnVault](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/vault/collectclmmrewarddirectreturnvault.md)
- [closeVault](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/vault/closevault.md)
- [computeTokenWithdrawVaultSwapResult](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/vault/computetokenwithdrawvaultswapresult.md)
- [getVaultBalanceAmount](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/vault/getvaultbalanceamount.md)
- [getMyVaults](https://turbos.gitbook.io/turbos/developer-docs/via-sdk/vault/getmyvaults.md)
- [via Contract](https://turbos.gitbook.io/turbos/developer-docs/via-contract.md)
- [Get Started](https://turbos.gitbook.io/turbos/developer-docs/via-contract/get-started.md)
- [Data Structure](https://turbos.gitbook.io/turbos/developer-docs/via-contract/data-structure.md): turbos clmm
- [Contract Modules](https://turbos.gitbook.io/turbos/developer-docs/via-contract/contract-modules.md): This document contains detailed descriptions of all public functions in the Turbos CLMM (Concentrated Liquidity Market Maker) protocol.
- [Error Code](https://turbos.gitbook.io/turbos/developer-docs/via-contract/error-code.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://turbos.gitbook.io/turbos/developer-docs.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.
