
Search
Common errors
Understanding Responses
All Helios API calls return structured, machine-readable responses.
Responses are designed to be deterministic and easy to reason about in production systems.
Execution Response Shape
A successful execution returns the following core fields:
Execution Status Values
The status field reflects the real execution state.
simulated— Route and costs calculated, no transaction sentpending— Transaction submitted, awaiting confirmationexecuted— Transaction finalized on-chainfailed— Execution failed and was not finalized
Helios does not mark an execution as successful unless it is confirmed on-chain.
Partial Execution Awareness
In multi-step or cross-chain executions, Helios reports progress per step internally.
The final status reflects the aggregate outcome of the execution flow.
Common Errors
Errors are returned with explicit types and messages.
They are designed to be actionable rather than ambiguous.
Example Error Response
Frequently Encountered Errors
INVALID_REQUEST
Returned when required parameters are missing or malformed.
INSUFFICIENT_LIQUIDITY
Available liquidity cannot satisfy the execution under current constraints.
RISK_THRESHOLD_EXCEEDED
Execution was blocked due to risk signals exceeding the configured level.
UNSUPPORTED_CHAIN
One or more chains in the request are not supported in the selected environment.
EXECUTION_FAILED
The transaction was submitted but reverted or failed to finalize on-chain.
Troubleshooting
When an execution fails, follow this sequence.
Step 1: Run a Simulation
Always simulate first to validate routing and cost assumptions.
Simulation failures usually indicate configuration or liquidity issues.
Step 2: Inspect Risk Signals
If execution fails due to risk constraints, review or adjust the risk level.
Lower risk levels may block volatile or shallow routes.
Step 3: Check Slippage and Fees
Overly strict slippage tolerances can cause failed executions during market movement.
Increase cautiously if execution reliability is prioritized over price precision.
Step 4: Verify Signing and Gas
Ensure:
The transaction was signed correctly
Sufficient gas and native token balance are available
Network congestion is accounted for
Helios estimates gas but does not fund or sign transactions.