Gas Prices on Every Chain (LI.FI)
lifi/gas-prices
The current gas price on every chain LI.FI supports, in the chain's smallest unit (wei for EVM chains), at three speeds: standard, fast and fastest, with the unix time each was read. Keyed by chain id. Takes no input. LI.FI public API data, passed through and served by Eden Engine; not an official LI.FI product.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
Data from the LI.FI public API (li.fi). Served by Eden Engine; not an official LI.FI product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "lifi/gas-prices" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "lifi/gas-prices" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "lifi/gas-prices", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "lifi/gas-prices", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 21, 2026
Input and output schemas
Input schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}Output schema
{
"type": "object",
"description": "Keyed by chain id (as a string).",
"additionalProperties": {
"type": "object",
"required": [
"standard",
"fast",
"fastest"
],
"properties": {
"fast": {
"type": "number"
},
"fastest": {
"type": "number"
},
"standard": {
"type": "number",
"description": "Gas price at standard speed, smallest unit."
},
"lastUpdated": {
"type": "integer",
"description": "Unix seconds."
}
},
"additionalProperties": true
}
}