Share a link to a route
The address of the app holds your route. You can copy it, send it, or write it by hand. The person who opens it lands on the same route.
The address of a route
The app routes with the part of the address after the # sign. A route looks like this:
/#/bridge/<chainIn>/<tokenIn>/<chainOut>/<tokenOut>
The four parts are:
The app rewrites the address as you pick chains and tokens. So you can build a route by hand in the app, and then copy the address from the address bar. See Open the app for the addresses of the app.
The word native
The word native stands for the coin of a chain, such as ETH on Ethereum or PLS on PulseChain. A link such as /#/bridge/1/native/369/native reads: send ETH from Ethereum, receive PLS on PulseChain. The app also accepts the all-zero address in place of native, so older links keep working.
What the app fills in
A link may be short. The app completes it in this way:
- An empty route,
/#/bridge, opens Ethereum to PulseChain. - A link with only the chain you send from goes to PulseChain.
- A missing or unreadable
<tokenIn>becomes the coin of the chain you send from. - A missing or unreadable
<tokenOut>is left empty, and the app decides the token that arrives.
The app also repairs a route that cannot work. A chain number that the app does not know is replaced. The source becomes Ethereum and the destination becomes PulseChain. A route that starts and ends on the same chain moves the destination to PulseChain. PulseChain to PulseChain is the one exception, because it is a swap.
When the app repairs a chain, it also resets the token you send to the coin of the new source chain. A repaired route is a different journey, and the reset puts it in front of you before you sign.
More in the address
After a question mark, the address can hold more. The app keeps the amount you type there, in the smallest unit of the token, under amount. It also keeps the route you pick under route. A shared link therefore lets the app select your route again.
To dress the page for another site, see Embed the bridge in another site.
Share the transfers list
The transfers panel also reads the address. Add these after the question mark of the route.
An example: /#/bridge/1/native/369?transfers=completed&account=all&hidenetworks=none.
The app ignores a value it cannot read and uses the default. The search text and the rows per page do not travel in the address. See Filter your transfers.
If something goes wrong
- If the link opens a different route from the one you wrote, read the repair rules above. The app may have replaced a chain.
- If the amount is missing, check that the link holds
amountand that the number is whole digits only.