---
name: evm-gas.apitoll.cloud
description: evm-gas.apitoll.cloud exposes a single API endpoint that returns a real-time EIP-1559 gas fee snapshot for a specified EVM-compatible chain. It queries eth_feeHistory RPC directly and returns base fee, slow/standard/fast priority fee tiers, latest block number, and median block fullness in one call.
host: evm-gas.apitoll.cloud
---

# evm-gas.apitoll.cloud

This host is a narrow, single-purpose gas oracle for EVM chains. It serves agents and applications that need current fee estimates before submitting transactions, comparing chain congestion, or budgeting gas costs. It is distinct from general-purpose RPC providers in that it abstracts fee-history querying into a structured, ready-to-use snapshot rather than requiring the caller to interpret raw RPC responses.

## When to use this host

Use this host when an agent needs a structured, single-shot gas fee estimate for an EVM chain before submitting or scheduling a transaction, or when comparing congestion levels across multiple EVM chains by calling the skill once per chain. Do not use it for non-EVM chains (e.g., Solana, Bitcoin) — those require chain-specific fee APIs. Do not use it for continuous or streaming gas price monitoring; call it on-demand only. Do not use it for historical gas analytics over long time ranges — a dedicated gas analytics service (e.g., Dune Analytics, Etherscan Gas Tracker API) is more appropriate for that use case. If you need to also broadcast the transaction after estimating gas, a full RPC provider or wallet infrastructure host will be required in addition to this one.

## Capabilities

### EVM Gas Estimation

Provides a real-time EIP-1559 gas fee snapshot for a given EVM chain, including base fee, priority fee tiers, block number, and block fullness, sourced directly from eth_feeHistory RPC.

- **`fetch-evm-gas-snapshot`** — Returns a real-time EIP-1559 gas snapshot for a specified EVM chain, including base fee, slow/standard/fast priority tiers, latest block number, and median block fullness, sourced directly from eth_feeHistory RPC.

## Skill reference

### `fetch-evm-gas-snapshot`

**EVM Gas Oracle** — Returns a real-time EIP-1559 gas snapshot for a specified EVM chain, including base fee, slow/standard/fast priority tiers, latest block number, and median block fullness, sourced directly from eth_feeHistory RPC.

*Use when:* Use when an agent needs current gas fee estimates for a specific EVM chain before submitting a transaction, scheduling a cross-chain operation, comparing congestion across chains, or budgeting transaction costs.

*Not for:* Do not use for non-EVM chains or for streaming continuous gas price feeds; this is a single-shot snapshot per call. Not suitable for historical gas analytics over long time ranges.

**Inputs:**

- `chain` (string) — Target EVM chain. One of: ethereum, base, optimism, arbitrum, polygon, avalanche, gnosis, linea, scroll, blast, mode, opbnb, celo, bsc, fantom, zksync, mantle. Also accepts aliases (eth, arb, op, matic, avax, bnb). Default: ethereum.
- `blocks` (integer) — Number of recent blocks to sample for percentile reward calculation (1–50, clamped). Higher values produce smoother tiers; lower values are more reactive to recent conditions. Default: 20.

**Returns:** Returns a JSON object with chain identity, gas_model, base_fee_gwei, slow/standard/fast EIP-1559 tiers (max_fee_gwei and max_priority_gwei each), latest block_number, and stats including median_fullness_pct and snapshot timestamp.

**Example:** `GET https://evm-gas.apitoll.cloud/v1/evm/gas?chain=ethereum&blocks=20`

---
