
Search
The Gas & Fee Management API provides estimation, prioritization, and fee transparency for executions coordinated by Helios.
Gas is treated as part of execution reliability, not an afterthought.
Helios estimates gas and fees but never funds or signs transactions.
Gas Estimation
Before execution, Helios estimates gas usage based on current network conditions and execution complexity.
Gas estimates account for:
Route structure
Protocol interactions
Cross-chain coordination
Network congestion
Estimates are probabilistic and may change between simulation and execution.
Gas Abstraction
Helios abstracts chain-specific gas mechanics behind a unified interface.
Helios handles:
Chain-specific gas models
Base vs priority fees
Execution ordering across chains
Applications do not need to manage per-chain gas logic directly.
Fee Breakdowns
Helios exposes a transparent fee breakdown for each execution.
Example response:
Fee data is informational and intended for display or accounting.
Priority Settings
Execution priority can be configured to balance cost and speed.
Priority settings influence:
Gas price selection
Transaction inclusion speed
Execution ordering
Higher priority may result in higher fees during congestion.
Refund & Repricing Logic
If an execution fails before finalization, unused gas is not consumed.
Helios tracks execution state and adjusts fee estimates accordingly.
Repricing occurs when:
Network conditions change significantly
Execution is retried after failure
Priority settings are modified
Helios never auto-retries executions without explicit instruction.
Common Gas Errors
Gas-related issues return explicit error codes.
Other common errors include:
INSUFFICIENT_GAS_BALANCEPRIORITY_UNAVAILABLENETWORK_CONGESTED