If you want to send your friends or users a prefilled link to swap into or out of a Super Token in the Dashboard, you can do so by adding query parameters to the link.

A fully prefilled Li.Fi Bridge Widget link looks as follows:


You may tweak the parameters as follows:

fromChain: The chainId of the source chain. e.g. 137 for Polygon

toChain: The chainId of the destination chain. e.g. 10 for Optimism

fromToken: The token hex address of the source token

toToken: The token hex address of the destination token

fromAmount: The amount of tokens to be swapped

Did this answer your question?