Skip to content

deep link to portal bridge

Sebastian edited this page May 11, 2023 · 3 revisions

Table of contents

Deep link to portal bridge

What if I want to share a link on social media or to a friend, and I want a pre-selection of source-chain and target-chain?

To do that we support two ways to do it:

Path URL

You can use a URL with the following format https://www.portalbridge.com/<target-chain>/from/<source-chain>, this will re-write the request to a query param URL, see below.

re-write is transparent

Examples:

Query param URL

You can use a URL with the following query params https://www.portalbridge.com/#/transfer?sourceChain=<source-chain>&targetChain=<target-chain>.

Examples:

Where could I find the supported chains?

You could use any of the chain names listed here

What about ids?

Yes, you can also use ids from here.

Examples:

where:

What about asset pre-selection?

Asset pre-selection is not yet supported.