← Back to directory

Estimate the gas of a transaction (eth_estimateGas) on Ethereum, Base or Robinhood Chain (Tanod)

https://tanod.dev/v1/chain/estimate-gas

Overview

The node's gas estimate (`gas`) for a transaction from `from` to `to` with `data` and `value_wei`, plus `gas_with_20pct_buffer`; omit `to` with `data` to estimate a contract creation. Nothing is signed or sent. Body: `{"chain": "base", "from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "data": "0x18160ddd"}`. Estimated at the latest block against current state, so the real cost can differ. A transaction that would revert

Protocol x402 (POST)
Price $0.0020
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/onchain
Provider tanod
Source bazaar
Indexed 2026-10-09 14:31:42

Health

Status healthy
Latency (p50) 390ms
Uptime (30d) 97.4%
Reliability Score 93.7/100
Last Checked 2026-10-31 07:04:48
Last Healthy 2026-10-31 07:04:48
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "chain": "base", "data": "0x18160ddd", "from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "chain": "base", "contract_creation": false, "from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "gas": 30989, "gas_with_20pct_buffer": 37186, "note": "estimated at the latest block against current state; the real cost can differ if state changes", "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" }, "type": "json" }

Also available via

MPP
healthy
$2000.00
on
View details →