Bungee Link
Redirect users to Bungee with chain/tokens for bridging pre-selected. The bridging amount can also be pre-selected. Users then simply need to choose a route & start bridging with 2 clicks! You can link Bungee in your DApp and pass URL params to specify which chains/tokens should be pre-selected for bridging. The parameters are highlighted below:
Parameter | Description |
---|---|
fromChainId | Chain ID of sending chain |
fromTokenAddress | Address of sending token |
toChainId | Chain ID of destination chain |
toTokenAddress | Address of destination receiving token |
Examples:
-
ETH from Ethereum to USDC on Optimism:
https://bungee.exchange/?fromChainId=1&fromTokenAddress=0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee&toChainId=10&toTokenAddress=0x0b2c639c533813f4aa9d7837caf62653d097ff85
-
USDC from Polygon to Aave on Arbitrum:
https://bungee.exchange/?fromChainId=137&fromTokenAddress=0x3c499c542cef5e3811e1192ce70d8cc03d5c3359&toChainId=42161&toTokenAddress=0xba5ddd1f9d7f570dc94a51479a000e3bce967196
Integration Tips
- For native tokens (ETH, MATIC, etc.), use the address
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
- Chain IDs follow the standard EVM chain ID format (e.g., 1 for Ethereum, 10 for Optimism)