# Straelo Relay EVM Gas Price Lookup

> Straelo Relay EVM Gas Price Lookup is a paid API for AI agents from relay.straelo.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-12-02).

Retrieves the current gas price (in wei and gwei) for Ethereum or Base via a single eth_gasPrice JSON-RPC call, for use in fee estimation before preparing a transaction.

## Facts

- Endpoint: POST https://relay.straelo.com/evm-gas-price-lookup?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/straelo-relay-evm-gas-price-lookup-adf34f4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2S4B2aLWKf2eUdVIPlQIf

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 straelo-relay-evm-gas-price-lookup-adf34f4f -d '<json body>'
```

Example prompt: What's the current gas price on Base right now in gwei? I need it before I prepare my transaction.

## When to prefer this

Use this endpoint when an agent needs the current EVM gas price in wei or gwei for Ethereum or Base, specifically to inform fee estimation or transaction preparation — not to submit transactions, inspect existing transactions by hash, or get historical gas data. Prefer this over general-purpose RPC calls when you want a simple, paid, single-field lookup with a clean response format without managing RPC node connections yourself.

## Known failure modes

- Unsupported chain value other than 'ethereum' or 'base' returns a validation error
- Network connectivity issues with the underlying RPC node return a service error
- Gas price may be stale by milliseconds between retrieval and use due to live network fluctuations
- Does not return total transaction cost — only the base gas price unit

## How this service works

Retrieve the current gas price for Ethereum or Base for transaction planning. Returns wei and gwei from a single `eth_gasPrice` JSON-RPC call; live network result may change between calls and does not estimate total transaction cost, submit a transaction, or provide execution authorization. USE WHEN: an agent needs the current EVM gas price before estimating fees or preparing a transaction. DO NOT USE WHEN: the agent needs to inspect an existing transaction by hash (use

## Output

Returns the current gas price from the live network as both a wei value (raw integer) and a gwei value (human-readable float), sourced from a single eth_gasPrice JSON-RPC call. The result reflects the network state at the moment of the call and may change between consecutive calls.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "ethereum",
    "base"
   ],
   "type": "string",
   "description": "EVM network to query for the current gas price."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "observed_at": "2026-01-01T00:00:00Z",
  "gas_price_wei": "1000000000",
  "gas_price_gwei": "1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/straelo-relay-evm-gas-price-lookup-adf34f4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from relay.straelo.com](https://www.zero.xyz/host/relay.straelo.com/llms.txt)
