# Arbitrum Gas Estimate

> Arbitrum Gas Estimate is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-24).

Estimates the gas units and ETH cost of a transaction on Arbitrum One using eth_estimateGas, returning gas, gwei, and ETH cost at the current gas price.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/arb/estimate-gas?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-arbitrum-gas-estimate-b2d4e079
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vTE3m1Sz52BQxmT4mMZVP

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 agent-data-tools-revmesh2074-workers-dev-arbitrum-gas-estimate-b2d4e079
```

Example prompt: Before I send this contract call, can you estimate how much gas it will use on Arbitrum One and what it'll cost in ETH? The contract is 0x1234...abcd, I'm sending from 0xAAAA...BBBB, with 0.05 ETH and calldata 0xa9059cbb000000...

## When to prefer this

Use this endpoint when you need to know the exact gas cost of a specific transaction or contract call on Arbitrum One before submitting it, especially when the cost depends on calldata or sender address. Prefer this over arb_gas (which gives only the current gas price) when you need the full simulation including gas units and total ETH cost. Ideal for pre-flight checks, batch pricing, and revert detection.

## Known failure modes

- 422 if the transaction would revert on-chain — includes the revert reason string, not charged
- Invalid or malformed address returns an error
- Missing required 'to' parameter returns a 400-level error
- Network or RPC unavailability may cause timeouts
- Calldata that is not valid hex may be rejected

## How this service works

Estimate the gas a transaction would use on Arbitrum One (eth_estimateGas) and what it would cost at the current gas price, in gas units, gwei and ETH. Give to, plus value in ETH and calldata for a contract call, and the sender when the call depends on it. Use before sending a transaction or to price a batch; for the gas price alone use arb_gas. A transaction that would revert is 422 with the reason, uncharged.

## Output

Returns a JSON object with: the recipient address (to), estimated gas units (gas), total transaction cost in ETH (cost), sender address (from), current block number (block), chain name (chain), chain ID (chainId), ETH value being sent (value), native symbol (symbol), and current gas price in gwei (gasPriceGwei). If the transaction would revert, returns HTTP 422 with the revert reason and no charge.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "to"
 ],
 "properties": {
  "to": {
   "type": "string",
   "description": "0x recipient or contract address"
  },
  "data": {
   "type": "string",
   "description": "Optional 0x calldata for a contract call"
  },
  "from": {
   "type": "string",
   "description": "0x sender address (default: an empty address)"
  },
  "value": {
   "type": "string",
   "description": "Amount of ETH to send, in ETH (default 0)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string"
  },
  "gas": {
   "type": "string"
  },
  "cost": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "block": {
   "type": "number"
  },
  "chain": {
   "type": "string"
  },
  "value": {
   "type": "string"
  },
  "symbol": {
   "type": "string"
  },
  "chainId": {
   "type": "number"
  },
  "gasPriceGwei": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-arbitrum-gas-estimate-b2d4e079/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
