DODO's Cross-Chain Trading feature enables users to exchange assets on one chain for different assets on another using a cross-chain token bridge. This feature supports the exchange of dozens of tokens across a variety of different chains, and allows users to transfer assets safely and quickly by aggregating multiple platforms and protocols.
The DODO Cross-Chain Trading API supports the following functionalities:
- Cross Chain Transaction Encoding: After the user selects one of the routes obtained via the Cross Chain Routes interface, they call the interface to obtain the sent transaction data. The 'encodeParams' parameter of this interface is obtained from the selected route.
- Cross Chain Order List: This interface is called to obtain the user's latest order record data. If the interface did not return the latest data, the reason may be that the interface data has a cache, which lasts for about 15 seconds.