tradeAsset

High-level bridging method that fetches routes, executes each step sequentially (sign, confirm on-chain, poll LiFi status until terminal), and returns the resulting transaction hashes, executed steps, and the selected route.

Return

A Result containing a LifiTradeAssetResult on success, or the failure cause.

Parameters

params

The parameters describing the desired trade.