Swap parameters
Customize the swap screen of the interface.
Parameter
Value
Description
Last updated
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
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 base_mainnet bitcoin_mainnet bsc_mainnet celo_mainnet
lightning_mainnet mainnet matic_mainnet
optimism_mainnet
rsk_mainnet
sonic_mainnet
tezos_mainnet xdai_mainnet
zksync_mainnet
Source network, for sell and swap tabs
dnet
arbitrum_mainnet
avalanche_mainnet base_mainnet bitcoin_mainnet bsc_mainnet celo_mainnet
lightning_mainnet mainnet matic_mainnet
optimism_mainnet
rsk_mainnet
sonic_mainnet
tezos_mainnet xdai_mainnet
zksync_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: AVAX, BNB, BTC, BTC.b, BTCB, cbBTC, CELO, crvUSD, DAI, ETH, EURC, frxUSD, GHO, LUSD, PAXG, POL, RBTC, RIF, S, sat, tzBTC, USDC, USDC.e, USDRIF, USDT, WBTC, WETH, XAUt, XDAI, XTZ, ZCHF
To add multiple values for a given parameter, simply separate them with a comma.
Last updated