Deep Linking to the Bridge Page

The following query parameters are supported:

ParameterDescriptionExample
toAddressA valid address to receive the bridge0xd8da6bf26964af9d7eed9e03e53415d37aa96045
amountThe amount to have the input initially set to0.1
fromChainIdThe chainId of the origin chain8453
fromCurrencyThe currency address for the from chain0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
toCurrencyThe currency address for the to chain0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
tradeTypeWhether to use the amount as the output or the input for the basis of the swapEXACT_INPUT, EXPECTED_OUTPUT, EXACT_OUTPUT

To deep link to a specific toChain, you must replace the slug after /bridge with the desired chain’s name, like so: relay.link/bridge/{chainName}. Spaces should be replaced with dashes. You can check out the list of supported chains here.

Examples

Bridge from Zora to Base

https://relay.link/bridge/base?fromChainId=7777777

Bridge from Ethereum to Optimism with a preset address

https://relay.link/bridge/optimism?fromChainId=1&toAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045

Bridge 0.01 ETH from Optimism to Zora

https://relay.link/bridge/zora?fromChainId=10&amount=0.01

Bridge $100 USDC from Base to Arbitrum

https://relay.link/bridge/arbitrum?fromChainId=8453&fromCurrency=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913&toCurrency=0xaf88d065e77c8cc2239327c5edb3a432268e5831&amount=100

Deep Linking to dedicated Chain pages

Relay hosts branded interfaces for onboarding and offramping from supported chains. If you’re a chain that’s launching these pages will prove to be a handy way to get users onboarded onto your chain, with a best in class user experience and support for canonical bridging. Get in touch if you want to customize these pages further.

The following query parameters are supported:

ParameterDescriptionExample
toAddressA valid address to receive the swap0xd8da6bf26964af9d7eed9e03e53415d37aa96045
fromCurrencyThe currency address on the origin chain0x4200000000000000000000000000000000000006
toCurrencyThe currency address on the destination chain0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
amountThe amount to have the input initially set to in the widget0.1
tradeTypeWhether to use the amount as the output or the input for the basis of the swapEXACT_INPUT, EXPECTED_OUTPUT, EXACT_OUTPUT
fromChainIdThe chainId of the origin chain8453

Examples

Bridge from Zora to Base

https://relay.link/bridge/base?fromChainId=7777777

Bridge from Ethereum to Optimism with a preset address

https://relay.link/bridge/optimism?fromChainId=1&toAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045

Bridge 0.01 ETH from Optimism to Zora

https://relay.link/bridge/zora?fromChainId=10&amount=0.01

Bridge $100 USDC from Base to Arbitrum

https://relay.link/bridge/arbitrum?fromChainId=8453&fromCurrency=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913&toCurrency=0xaf88d065e77c8cc2239327c5edb3a432268e5831&amount=100