Execute Route
We allow you to execute any on-chain or cross-chain swap and bridging transfer and a combination of both.
Get Route Transactions
Before execute a route, we need to request Rotue Transactions by generateSwapData
:
Return data is
Execute Route
Then we can execure the route;
Parameters
route
:RouteTxData
|RouteTxData[]
the route transaction to be execure.
Return
Promise<string>
: Resolves when execution is done or halted and rejects when it is failed.
Last updated