> For the complete documentation index, see [llms.txt](https://developers.mtpelerin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.mtpelerin.com/integration-guides/parameters-and-customization/swap-parameters.md).

# 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, DAI, ETH, EURC, frxUSD, fxUSD, GHO, 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]:
