# Swap parameters

{% hint style="warning" %}
**The swap tab is hidden by default, to activate it you must use the 'tabs' parameter with the 'swap' value.**

**Example:&#x20;*****tabs=buy,sell,swap***
{% endhint %}

| Parameter | Value                                                                                                                                                                                                                                                                                                      | Description                                |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| wsc[^1]   | *crypto codes*                                                                                                                                                                                                                                                                                             | Swap tab source currency                   |
| wdc       | *crypto codes*                                                                                                                                                                                                                                                                                             | Swap tab destination currency              |
| wsa       | number                                                                                                                                                                                                                                                                                                     | Swap tab source amount\*                   |
| wda       | number                                                                                                                                                                                                                                                                                                     | Swap tab destination amount\*              |
| snet      | <p>arbitrum\_mainnet </p><p>avalanche\_mainnet<br>base\_mainnet<br>bitcoin\_mainnet<br>bsc\_mainnet<br>celo\_mainnet</p><p>lightning\_mainnet<br>mainnet<br>matic\_mainnet</p><p>optimism\_mainnet</p><p>rsk\_mainnet</p><p>sonic\_mainnet</p><p>tezos\_mainnet<br>xdai\_mainnet</p><p>zksync\_mainnet</p> | Source network, for sell and swap tabs     |
| dnet      | <p>arbitrum\_mainnet </p><p>avalanche\_mainnet<br>base\_mainnet<br>bitcoin\_mainnet<br>bsc\_mainnet<br>celo\_mainnet</p><p>lightning\_mainnet<br>mainnet<br>matic\_mainnet</p><p>optimism\_mainnet</p><p>rsk\_mainnet</p><p>sonic\_mainnet</p><p>tezos\_mainnet<br>xdai\_mainnet</p><p>zksync\_mainnet</p> | Destination network, for buy and swap tabs |

\*If both source amount and destination amount parameters are used, the source amount parameter prevails.

**Crypto codes:** AVAX, BNB, BTC, BTC.b, BTCB, cbBTC, CELO, crvUSD, DAI, ETH, EURC, FRAX, GHO, LUSD, PAXG, POL, RBTC, RIF, S, sat, tzBTC, USDC, USDC.e, USDRIF, USDT, WBTC, WETH, XAUt, XDAI, XTZ, ZCHF

{% hint style="info" %}
&#x20;To add multiple values for a given parameter, simply separate them with a comma.
{% endhint %}

[^1]:


---

# 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://developers.mtpelerin.com/integration-guides/parameters-and-customization/swap-parameters.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.
