Set default chains and tokens via URL
Squid website only! This is possible for widget integrators by setting default chains and tokens via iframe URL or widget config
You can customize the chains and tokens that are selected by default when visiting https://app.squidrouter.com via the
chains
and tokens
query parameters.The first value (
x
) represents the source, and separated by a comma, the second one (y
) represents the destination:chains=x,y // chain id
tokens=x,y // token address
For example, the following URL will open the Squid app using Arbitrum and MAGIC for source and Ethereum and DAI for destination:
https://app.squidrouter.com/?
chains=42161,1
&tokens=0x539bde0d7dbd336b79148aa742883198bbf60342,
0x6b175474e89094c44da98b954eedeac495271d0f
Last modified 3mo ago