Current EVM Gas Price (by Chain)
omnial/onchain-gas-price
Given the name of an EVM-compatible chain, returns that chain's current gas price, in both raw wei and converted gwei.
Price
$0.0164 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 $5.00.
Data source
Data from the public blockchain you query.
Use it
Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.
Connect once and your AI can find and run this tool, and any other it needs.
For developers: the calls your assistant makes
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/onchain-gas-price" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/onchain-gas-price" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/onchain-gas-price", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/onchain-gas-price", 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.0164 |
- Updated
- Oct 27, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"chain"
],
"properties": {
"chain": {
"enum": [
"ethereum",
"polygon",
"bsc",
"arbitrum",
"optimism",
"base",
"avalanche",
"fantom",
"linea",
"cyber"
],
"type": "string",
"description": "Chain. Can be ethereum, polygon, bsc, arbitrum, optimism, base, avalanche, fantom, linea, or cyber. Example: ethereum."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"chain": {
"type": "string",
"description": "Echoes the requested chain, e.g. 'ethereum', 'polygon'."
},
"gas_price": {
"type": "string",
"description": "The current gas price in wei, as a decimal STRING (not a number) -- observed values exceed what a JS number can hold precisely, e.g. '280076375127'."
},
"gas_price_gwei": {
"type": "number",
"description": "The same gas price, converted to gwei, e.g. 280.076375127."
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"cached": {
"type": "boolean",
"description": "Whether this response was served from the provider's cache. Typically false."
}
},
"additionalProperties": false
}
},
"description": "The gas price record.",
"additionalProperties": false
}