🔁LI.FI Link Parameterization

Use parameters to link to jumper.exchange and pre-determine the user's bridge- & swapping route.

While you're working on integrating our SDK into your dApp, you can send a link with preset parameters of the desired token and desired chain for your users to swap to the right tokens.

Example: Swap from the user's current chain to MAGIC on Arbitrum.

https://jumper.exchange/?toChain=arb&toToken=0x539bde0d7dbd336b79148aa742883198bbf60342

Construction:

https://jumper.exchange/?

toChain=arb&

toToken=0x539bde0d7dbd336b79148aa742883198bbf60342

Similarly: Swap 100 MAGIC from Arbitrum to AAVE on Polygon

https://jumper.exchange/?fromChain=arb&fromToken=0x539bde0d7dbd336b79148aa742883198bbf60342&toChain=pol&toToken=0xd6df932a45c0f255f85145f286ea0b292b21c90b&fromAmount=100

Note: Dear devs, you can either use a ChainId(1) or Chain Abbreviation (eth) as listed below :)

URL Parameters

Supported chains and their abbreviations

Feedback? Join our Discord: https://discord.gg/lifi

Last updated