# Ethereum Gas Price & Transfer Cost Estimator

> Ethereum Gas Price & Transfer Cost Estimator is a paid API for AI agents from ca-tax-api-mainnet.lxtap.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Returns current Ethereum network gas conditions including block number, base fee, gas price, priority fee in gwei, and estimated ETH and USD costs for native ETH and ERC-20 transfers using Chainlink ETH/USD pricing.

## Facts

- Endpoint: GET https://ca-tax-api-mainnet.lxtap.workers.dev/eth/gas?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ethereum-gas-price-transfer-cost-estimator-405d6997
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9JNbu7CG-MyK8G6BWyM3V

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 ethereum-gas-price-transfer-cost-estimator-405d6997
```

Example prompt: What are the current Ethereum gas conditions — base fee, priority fee, and how much would it cost in USD to send ETH or an ERC-20 token right now?

## When to prefer this

Choose this endpoint when you need a single, unified snapshot of current Ethereum mainnet gas conditions with USD cost estimates for the two most common transaction types (native transfer and ERC-20 transfer). It is ideal for pre-transaction cost checks, gas dashboards, or budget-aware automation. It differs from raw RPC calls by bundling Chainlink price conversion, making it immediately actionable without additional oracle calls.

## Known failure modes

- Ethereum RPC node unavailable — endpoint may return 5xx or timeout
- Chainlink ETH/USD price feed stale or unavailable — USD estimates may fail or be absent
- Network congestion causing delayed block data — gas values may lag by one block
- Payment of $0.005 USDC not processed — 402 Payment Required response blocks access

## How this service works

Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.

## Output

A JSON object containing: current Ethereum block number, base fee in gwei, gas price in gwei, priority fee (miner tip) in gwei, estimated cost of a native ETH transfer in both ETH and USD, estimated cost of an ERC-20 transfer in both ETH and USD, and the Chainlink ETH/USD reference price used for conversion.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "eth",
  "blockTime": "2026-10-22T15:49:59.000Z",
  "nativeUsd": 2398.41,
  "baseFeeGwei": "0.316485501",
  "blockNumber": 26249161,
  "gasPriceGwei": "0.316485501",
  "nativeSymbol": "ETH",
  "estimatedCost": {
   "erc20Transfer": {
    "usd": 0.04934,
    "native": "0.000020571557565"
   },
   "nativeTransfer": {
    "usd": 0.01594,
    "native": "0.000006646195521"
   }
  },
  "maxPriorityFeeGwei": "0.000003839"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ethereum-gas-price-transfer-cost-estimator-405d6997/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ca-tax-api-mainnet.lxtap.workers.dev](https://www.zero.xyz/host/ca-tax-api-mainnet.lxtap.workers.dev/llms.txt)
