← Back to directory

Use when an agent wants to know how much gas a specific contract call or transfe...

https://api.zato.org/api/chain/estimate-gas

Overview

Use when an agent wants to know how much gas a specific contract call or transfer will cost before sending it: runs eth_estimateGas for from/to/data/value on Ethereum (default) or Base and converts the result to ETH at the current base fee plus median priority fee. Read-only, nothing is sent.

Protocol x402
Price $0.0020
Payment Asset USD Coin
Payment Network Base
Category crypto/transactions
Provider api.zato.org
Source self-registered
Indexed 2026-11-20 13:24:07

Health

Status healthy
Latency (p50) 50ms
Uptime (30d) 100.0%
Reliability Score 100/100
Last Checked 2026-12-05 14:40:34
Last Healthy 2026-12-05 14:40:34
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "data": "0xa9059cbb00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001", "from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045", "network": "ethereum", "to": "0xdac17f958d2ee523a2206206994597c13d831ec7", "value": "0" }, "type": "http" }

Output Schema

{ "example": { "data": { "cost_eth": "0.000011630134807776", "from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045", "gas_estimate": "46227", "gas_price_gwei": "0.251587488", "network": "ethereum", "note": "Estimate from eth_estimateGas; cost uses base fee + median priority fee of the last 10 blocks. L1 data fees on Base are not included.", "to": "0xdac17f958d2ee523a2206206994597c13d831ec7" }, "meta": { "cost_usdc": "0.002", "endpoint": "/api/chain/estimate-gas", "payment_chain": "base", "payment_token": "USDC", "related": [ { "price_usdc": "0.001", "url": "https://api.zato.org/api/gas" }, { "price_usdc": "0.002", "url": "https://api.zato.org/api/chain/pending" }, { "price_usdc": "0.002", "url": "https://api.zato.org/api/chain/receipt-batch" }, { "price_usdc": "0.003", "url": "https://api.zato.org/api/ask" } ] } }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-05 14:40:34 healthy 402 76ms
2026-12-05 13:39:46 healthy 402 70ms
2026-12-05 12:39:37 healthy 402 50ms
2026-12-05 11:44:49 healthy 402 47ms
2026-12-05 10:40:33 healthy 402 34ms
2026-12-05 09:39:11 healthy 402 59ms
2026-12-05 08:42:49 healthy 402 50ms
2026-12-05 07:39:21 healthy 402 42ms
2026-12-05 06:36:43 healthy 402 72ms
2026-12-05 05:36:57 healthy 402 36ms
2026-12-05 03:48:35 healthy 402 49ms
2026-12-05 02:39:17 healthy 402 50ms
2026-12-05 01:38:34 healthy 402 1319ms
2026-12-05 01:01:32 healthy 402 33ms
2026-12-04 15:42:43 healthy 402 530ms
2026-12-03 18:52:46 healthy 402 391ms
2026-12-02 21:04:38 healthy 402 1745ms