# Tanod ChainPeek Gas Estimator

> Tanod ChainPeek Gas Estimator is a paid API for AI agents from tanod.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Estimates EVM gas usage for a transaction on Ethereum or Base, returning the estimated gas units and a 20% buffered value

## Facts

- Endpoint: POST https://tanod.dev/v1/chain/estimate-gas?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-chainpeek-gas-estimator-b2a40484
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FEBenBbRIpO3VwnOG3MjG

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 tanod-chainpeek-gas-estimator-b2a40484 -d '<json body>'
```

Example prompt: Estimate how much gas the transaction will use on Base — sender is 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045, recipient is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, and include a safety buffer so I know the max I should set.

## When to prefer this

Choose this endpoint when you need a quick, on-demand gas estimate for a specific transaction on Ethereum or Base before submission, especially when you want a pre-computed 20% buffer included. It is ideal for AI agents orchestrating on-chain actions that need to set gas limits programmatically without running a full local node. Prefer this over manual eth_estimateGas RPC calls when you need a simple REST interface with a pay-per-call model and no API key setup.

## Known failure modes

- Invalid or malformed Ethereum address returns a validation error
- Calldata with an odd number of hex digits or exceeding 8kB is rejected
- Unsupported chain value (anything other than 'ethereum' or 'base') returns an error
- Simulation failure if the sender lacks sufficient balance or the contract reverts
- Payment failure or insufficient USDC balance returns a 402 error before execution

## How this service works

One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.

## Output

A JSON object containing: the estimated gas units for the transaction, the gas units with a 20% safety buffer added, the chain name, the to/from addresses, a flag indicating whether it is a contract creation, and a note that the estimate is based on the latest block state.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "anyOf": [
    {
     "type": "string",
     "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Recipient. Omit with `data` to estimate a contract creation."
  },
  "data": {
   "anyOf": [
    {
     "type": "string",
     "pattern": "^0x([0-9a-fA-F]{2})*$",
     "maxLength": 16386
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Calldata, 0x-hex with an even number of digits, at most 8 kB."
  },
  "from": {
   "anyOf": [
    {
     "type": "string",
     "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Sender (affects balance and allowance checks)."
  },
  "chain": {
   "enum": [
    "ethereum",
    "base",
    "robinhood"
   ],
   "type": "string",
   "description": "ethereum, base or robinhood (Robinhood Chain, chain id 4663)."
  },
  "value_wei": {
   "anyOf": [
    {
     "type": "string",
     "pattern": "^(0|[1-9][0-9]{0,77}|0x[0-9a-fA-F]{1,64})$"
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Native value in wei, as a decimal or 0x-hex string."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-chainpeek-gas-estimator-b2a40484/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
