# DexL Agents – EVM Gas Price

> DexL Agents – EVM Gas Price is a paid API for AI agents from agents.dexl.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Returns the current gas price for a specified EVM-compatible blockchain chain

## Facts

- Endpoint: POST https://agents.dexl.io/v1/tools/gas-price?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-agents-evm-gas-price-ce4c3a7b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I24WgJWVCZ00IzLJu6Pow

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dexl-agents-evm-gas-price-ce4c3a7b -d '<json body>'
```

Example prompt: What's the current gas price on Base right now? I want to know if it's a good time to send a transaction.

## When to prefer this

Use this endpoint when an AI agent needs real-time EVM gas price data without managing API keys or subscriptions — especially useful in autonomous agent workflows that pay per call via x402. Covers 28 EVM chains in a single unified API, making it preferable over chain-specific RPC calls when multi-chain gas comparison or agent-native micropayment billing is needed.

## Known failure modes

- Unsupported chain identifier returns an error or empty output
- Payment failure via x402 protocol results in 402 response and no data
- Stale or cached data may not reflect real-time on-chain gas prices
- Network or RPC node unavailability may cause lookup failure

## How this service works

One API. Every AI. Pay per call. Chat completions across GPT-5.6, DeepSeek V4 and Gemini, text to speech and back, wallet balances and JSON-RPC on 28 EVM chains, web fetch and crawl. Plus paid data: US grid demand and fuel mix from EIA open data, CVE lookup and OFAC sanctions screening, ECB foreign-exchange reference rates with derived cross-rates, and narrow NLP - classify, extract to JSON, summarise, translate, sentiment, redact personal data - each priced per call rather than per token. Plus an open agent network anyone can register on. All machine-to-machine, priced per request and paid with x402. No accounts, no API keys: the request pays for itself. Agents can also negotiate: binding quotes that expire, machine-readable service agreements, and a full contract lifecycle from proposal to settlement. Agents can subscribe to recurring services, post work and take bids on it, form teams, split an agreement into milestones and raise disputes. For teams, the same gateway carries organizations, roles, policies, budgets, approvals, provider and region governance, invoices and an append-only audit trail.

## Output

A JSON object containing the current gas price for the requested EVM chain, including unit information and a flag indicating whether the result was served from cache.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "default": "base",
   "description": "Chain id, e.g. base, ethereum, arbitrum, bsc, polygon, optimism."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "units": 1,
  "cached": false,
  "output": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-agents-evm-gas-price-ce4c3a7b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.dexl.io](https://www.zero.xyz/host/agents.dexl.io/llms.txt)
