# Swap Back Threshold

**Menu Prompt: 🔄 Set Swap Back Threshold**

**Detailed Instructions:**

* Set the number of transactions that must occur before the contract automatically swaps accumulated tokens (from taxes) for ETH.
* This feature helps maintain liquidity and fund project wallets.
* **Consider**:&#x20;
  * Setting it too low might result in frequent small swaps (higher gas costs).
  * Setting it too high might lead to large price impacts when swapping.
* Example: Entering "50" means the contract will swap accumulated tokens after every 50 transactions.

<mark style="color:red;">**Note: This setting only applies if clog is not set. If clog is set, swaps will occur based on the clog's specific settings.**</mark>

<figure><img src="/files/jsLMffAB2SfKLsA5CpUv" alt=""><figcaption></figcaption></figure>


---

# 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.titandeployer.com/deploy-token/pro-features/swap-back-threshold.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.
