When a trade fails, the response may include action with one of:
// From SDK types (contractErrorActions)"TRY_ANOTHER_ROUTE"; // Retry with bestReturnSource"INCREASE_SLIPPAGE"; // User should increase slippage"INCREASE_ALLOWANCE"; // Allowance issue
Handle TRY_ANOTHER_ROUTE by rebuilding the trade request with protocol: bestReturnSource and calling trade() again.