# Delx Base Block Time Estimate

> Delx Base Block Time Estimate 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-14).

Estimates the number of Base blockchain blocks that will be produced in a given duration, using a configurable assumed block time.

## Facts

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

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-block-time-estimate-20d817c3 -d '<json body>'
```

Example prompt: How many Base blockchain blocks will be produced in 120 seconds if we assume a block time of 2 seconds?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, in-memory calculation of how many Base blockchain blocks correspond to a given wall-clock duration — especially during EVM smart contract preflight planning, scheduling time-locked transactions, or sizing on-chain event windows. Prefer it over manual arithmetic when you want a verifiable, auditable result with no external data dependencies.

## Known failure modes

- Missing or invalid duration_seconds — returns a validation error
- Non-numeric assumed_block_seconds — returns schema error
- Zero or negative duration_seconds — may return zero blocks or an error
- Network or service timeout — returns HTTP 5xx
- Payment not included or insufficient — returns HTTP 402

## How this service works

Base Block Time Estimate: Base Block Time Estimate estimates block count from a caller-supplied duration and block-time assumption from bounded caller-supplied values without an external provider. Call Base Block Time Estimate before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for Base Block Time Estimate as versioned determi…

## Output

Returns a JSON object with the estimated number of Base blockchain blocks for the given duration (estimated_blocks), the assumed block time used (assumed_block_seconds), a pass/fail status, operation identifier, and an evidence object confirming no data retention and no external calls were made during the computation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "duration_seconds": {
   "type": "integer",
   "description": "Duration Seconds supplied to Base Block Time Estimate; used only for this bounded calculation and processed in memory without retention."
  },
  "assumed_block_seconds": {
   "type": "number",
   "description": "Assumed Block Seconds supplied to Base Block Time Estimate; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "estimated_blocks": 60,
   "assumed_block_seconds": 2
  },
  "schema": "delx/util-base-block-time-estimate/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "6c08b5fb6dac5adebbd5bd7d6a63cb3dbe181bd97604c3c6e3b1d4a9ea7e7615",
   "external_calls": 0
  },
  "operation": "evm_preflight:base_block_time_estimate"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-base-block-time-estimate-20d817c3/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)
