Doc is not complete
The process is really similar to native swaps:
Showcase of single-click cross-chain swap
To have safe swap like any other DEX you have consider couple of things: First pay attention to price impact percentage and it shows how much your swap effects price of tokens on that market so if it's high it means you are not getting an ideal deal. Next to avoid set slippage tolerance to protect yourself from arbitragers and market fluctuation. The last security parameter to consider is the deadline. If you put this number too low, relayers will not have enough time to do the transactions, and your swap will be reverted, and if you set the deadline too long, you will be exposed to market fluctuation. We recommend you leave the default value unless you know what you are doing.