Swap parameters
Customize the swap screen of the interface.
The swap tab is hidden by default, to activate it you must use the 'tabs' parameter with the 'swap' value.
Example: tabs=buy,sell,swap
Parameter | Value | Description |
---|---|---|
wsc | 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 | arbitrum_mainnet avalanche_mainnet bitcoin_mainnet
bsc_mainnet lightning_mainnet
mainnet
matic_mainnet optimism_mainnet rsk_mainnet tezos_mainnet
xdai_mainnet | Source network, for sell and swap tabs |
dnet | arbitrum_mainnet avalanche_mainnet bitcoin_mainnet
bsc_mainnet lightning_mainnet
mainnet
matic_mainnet optimism_mainnet rsk_mainnet tezos_mainnet
xdai_mainnet | Destination network, for buy and swap tabs |
*If both source amount and destination amount parameters are used, the source amount parameter prevails.
Crypto codes: agEUR, AVAX, BNB, BTC, BTCB, BUSD, crvUSD, DAI, ETH, EURL, EUROC, EUROe, EURS, EURT, FRAX, jAUD, jCAD, jCHF, jEUR, jGBP, jJPY, jSEK, jSGD, jZAR, LUSD, MAI, MATIC, RBTC, RDOC, RIF, sat, USDC, USDC.e, USDT, WBTC, WETH, XCHF, XDAI, XTZ
Last modified 23d ago