Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Custom Transfer URL Schemes

Scheme example

To build a custom transfer url scheme, you only need to provide 3 values: sourceChainId, destinationChainId and tokenSymbol. The format of the url is https://cbridge.celer.network/sourceChainId/destinationChainId/tokenSymbol. For example, if you want users to transfer xToken from Ethereum Mainnet to Arbitrum, you can use this link: https://cbridge.celer.network/1/42161/XTK. After user clicks the link, cBridge website will provide a well-defined UI for the user.

ParameterValue
sourceChainIde.g 1 as Ethereum Mainnet
destinationChainIde.g 42161 as Arbitrum
tokenSymbole.g XTK as xToken

Find Correct Chain Id and Token Symbol

You can use chainlist to find correct chain id and use cBridge website to find correct token symbol. We are eager to help if you find any difficulty creating custom url

Non-EVM chain case

Since cBridge supports bridge between EVM chain and Non-EVM chain, such as Ethereum Mainnet and Flow Mainnet, our SGN reserves numbers for Non-EVM chains. Here is a sample link for Ethereum and Flow, https://cbridge.celer.network/1/12340001/USDT