# Gasestimate - Ethereum Gas Confirmation Time Estimator

> Gasestimate - Ethereum Gas Confirmation Time Estimator is a paid API for AI agents from stablecrypto.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Estimates the expected transaction confirmation time for a given gas price on an EVM-compatible chain

## Facts

- Endpoint: POST https://stablecrypto.dev/api/etherscan/gas/gasestimate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gasestimate-ethereum-gas-confirmation-time-estimator-0b0434ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A0pTz8DtjEK6OinojbKvG

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 gasestimate-ethereum-gas-confirmation-time-estimator-0b0434ec -d '<json body>'
```

Example prompt: How long will a transaction take to confirm on Ethereum mainnet if I set the gas price to 20000000000 wei?

## When to prefer this

Use this endpoint when you need to estimate how long a transaction will take to confirm on an EVM chain at a specific gas price in wei. Ideal for pre-flight checks before submitting transactions, helping users decide whether to increase gas for faster inclusion. Best suited for Ethereum mainnet and other Etherscan-supported chains.

## Known failure modes

- Invalid chain ID returns an error or unsupported chain message
- Gas price of 0 or negative value may return an error
- Etherscan API downtime may cause timeout or 5xx error
- Extremely low gas prices may return no estimate or indefinite confirmation time
- Malformed request body returns 400 validation error

## How this service works

Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.

## Output

Returns an estimated confirmation time for a transaction given the specified gas price and chain ID, sourced via Etherscan's gas estimation API.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chainid": {
   "type": "number",
   "description": "EVM chain ID (1=Ethereum, 137=Polygon, 8453=Base, etc.)"
  },
  "gasprice": {
   "type": "number",
   "description": "Gas price in wei"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gasestimate-ethereum-gas-confirmation-time-estimator-0b0434ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablecrypto.dev](https://www.zero.xyz/host/stablecrypto.dev/llms.txt)
