# Delx Base Estimate Gas

> Delx Base Estimate Gas is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Estimates the gas required for a bounded Ethereum call on the Base network via eth_estimateGas (max 4KB data payload).

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/base-estimate-gas
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-base-estimate-gas-fd1ab547
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3ukEBzo3Wg864QnRufbPc

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 delx-base-estimate-gas-fd1ab547 -d '<json body>'
```

Example prompt: Can you estimate how much gas this contract call will need on Base? The transaction is from 0xAbC...123 to 0xDeF...456 with this calldata: 0xa9059cbb000000000000000000000000...

## When to prefer this

Choose this endpoint when you need a quick, affordable gas estimate for a specific transaction or contract call on the Base L2 network without running a full node. It is ideal for agents pre-checking gas before submitting transactions, simulating contract interactions, or dynamically setting gas limits. At $0.001 USDC per call it is cost-effective for frequent pre-flight checks. Prefer it over general Ethereum mainnet estimators when the target chain is specifically Base.

## Known failure modes

- Transaction would revert — returns an execution reverted error with reason if available
- Payload exceeds 4KB limit — request rejected
- Invalid address format — returns validation error
- Insufficient balance for value transfer — estimation fails
- Network or RPC unavailability — returns 503 or timeout
- Malformed transaction object — missing required fields returns 400

## How this service works

eth_estimateGas for a bounded call on Base for $0.001 USDC (max 4KB data).

## Output

Returns an estimated gas unit count (as a hex or integer value) representing how much gas the transaction or contract call would consume on the Base network, based on the current chain state at the time of the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string"
  },
  "data": {
   "type": "string"
  },
  "from": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "tool_name": "get_base_estimate_gas"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-base-estimate-gas-fd1ab547/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
