Execute either a client-quoted or backend-quoted LiFi swap for a portfolio vault via v2 actions.
v2.portfolio.actions.submit supports two LiFi swap submission modes:
kind: "swap" submits a client-supplied RouteExtended:
chainId (string, required): execution chain for the submitted route.route (RouteExtended, required): precomputed LiFi route payload.slippageBps (integer, optional): per-trade slippage override in basis
points (0 to 1000). When provided, this overrides user preference and
default fallback slippage for that trade.kind: "swap_backend_quote" submits raw quote parameters and lets the backend
fetch the LiFi route inside engine before execution:
fromChainId (string, required)toChainId (string, required)fromTokenAddress (string, required)toTokenAddress (string, required)fromAmount (string, required)toAddress (string, required): must be owned by the authenticated user or
one of their owned vaultsslippageBps (integer, optional): overrides only slippage while backend
quoting still uses saved user or portfolio swap preferences plus server
defaults for the remaining route settingsswap operation handle and should be polled
through v2.operations.get / v2.operations.stream.