# Copy of Using Dynamic URL Parameters in v1 DEX

HotKeySwap's innovative approach to referrals includes direct URL customization, allowing you to tailor your referral links with specific trading parameters. This feature enhances the effectiveness of your referrals by aligning them more closely with the preferences of your audience.

### **Key Customization Options:**

1. **Input Currency Shortcut:**
   * **Directly Set in the URL:** Specify the preferred input currency directly in the referral link. This targets users who prefer trading with specific cryptocurrencies, making the link more relevant to them.
   * **Simplified Trading for Referrals:** Users clicking your link are immediately presented with their preferred input currency, streamlining their trading initiation.
2. **Output Currency Shortcut:**
   * **Embed in the URL:** The output currency can also be specified in the link. Ideal for targeting audiences interested in acquiring a particular crypto asset.
   * **Enhances Targeted Trading:** Ensures that your referrals get a tailored trading experience with their currency of interest.
3. **Network Shortcut:**
   * **Choose the Blockchain Network in URL:** Customize your link to target a specific blockchain network. This appeals to users who have preferences for certain networks due to transaction speed, fees, or other features.
   * **Flexibility for Specific or Broad Audience:** Whether targeting a wide audience or a niche market, network customization in the URL is crucial.
4. **Referral Address Embedding:**
   * **Automatically Included in the Link:** Your unique referral address is embedded in the customized URL, ensuring you get credit for every user who trades using your link.
   * **Effortless Tracking and Earning:** This feature simplifies referral tracking and guarantees that your rewards are accurately attributed to you.

### **Advantages of Direct URL Customization:**

* **Immediate Relevance:** Customizing the URL makes your referrals instantly relevant and appealing to your audience.
* **Streamlined Experience for Users:** Offers a more direct and personalized trading experience for those using your link.
* **Greater Control and Flexibility:** Direct URL customization allows for precise targeting, catering to varied user preferences and enhancing the effectiveness of your referral strategy.

***

### **Web App DEX Linking**

Access HotKeySwap's Web App DEX effortlessly with our direct link: <https://app.hotkeyswap.com/>.

For a tailored trading experience, you can customize your swap by appending parameters to the base URL, starting with `https://app.hotkeyswap.com/#/swap?`. This feature allows you to pre-configure your swap settings, streamlining your trading process directly within the Web App.

#### Parameters

<table><thead><tr><th width="170">Parameter</th><th width="160">Type</th><th>Description</th></tr></thead><tbody><tr><td>seeder</td><td><code>address</code></td><td>Wallet address to receive referral rewards.</td></tr><tr><td>inputCurrency</td><td><code>address</code></td><td>Input currency that will be swapped for output currency.</td></tr><tr><td>outputCurrency</td><td><code>address</code></td><td>Output currency that input currency will be swapped for.</td></tr><tr><td>chain</td><td><code>text</code></td><td>Network on which you want to swap.</td></tr></tbody></table>

#### Syntax

<table><thead><tr><th width="147">Name</th><th width="125">Symbol</th><th>Description</th></tr></thead><tbody><tr><td>Equals sign</td><td><code>=</code></td><td>Following is the parameter value.</td></tr><tr><td>Ampersand</td><td><code>&#x26;</code></td><td>Separating parameters.</td></tr></tbody></table>

#### Example Usage

If you want the referral wallet to be `0x91ADbA1CEa43C1433019c83728bB0BAb8ACed168`, the input currency to be `ETH`, the output currency to be `$HOTKEY` and the chain to be `Ethereum`, the corresponding Telegram Direct Link is:

`https://app.hotkeyswap.com/#/swap?seeder=0x91ADbA1CEa43C1433019c83728bB0BAb8ACed168&inputCurrency=ETH&outputCurrency=0x018dd3a0dd7f213cc822076b3800816d3ce1ed86&chain=eth`

***

### **Network Parameter**

When configuring your trading preferences, particularly the blockchain network, it's crucial to use the appropriate parameter value for the 'chain' parameter. This ensures seamless transactions whether you're using the Telegram DEX or the Web App DEX. Make sure to select the correct value corresponding to your chosen network, optimizing your trading experience by aligning with the specific functionalities of the Telegram and Web App DEX.

<table><thead><tr><th width="211">Network Name</th><th>Chain Parameter Value</th></tr></thead><tbody><tr><td>Ethereum</td><td><code>eth</code></td></tr><tr><td>Polygon</td><td><code>polygon</code></td></tr><tr><td>Arbitrum</td><td><code>arbitrum</code></td></tr><tr><td>Optimisim</td><td><code>optimism</code></td></tr><tr><td>Base</td><td><code>base</code></td></tr><tr><td>BNB Smart Chain</td><td><code>bsc</code></td></tr><tr><td>Celo</td><td><code>celo</code></td></tr><tr><td>Avalanche</td><td><code>avalanche</code></td></tr><tr><td>Goerli</td><td><code>goerli</code></td></tr><tr><td>Sepolia</td><td><code>sepolia</code></td></tr></tbody></table>

***

With HotKeySwap's direct URL customization for referral links, you're empowered to create highly targeted and effective referrals. This approach not only maximizes the potential of your referral efforts but also enriches the trading experience of those you refer, making every interaction more meaningful and profitable.


---

# 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.hotkeyswap.com/miscellaneous/technical-reference/custom-linking/copy-of-using-dynamic-url-parameters-in-v1-dex.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.
