# Delx Commerce — Base Block Time Estimate

> Delx Commerce — Base Block Time Estimate is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

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

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/base-block-time-estimate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-base-block-time-estimate-ebd6ebb9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DlB8L6qagyeKE5z2VVX8y

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-commerce-base-block-time-estimate-ebd6ebb9 -d '<json body>'
```

Example prompt: How many Base blockchain blocks would pass in 120 seconds if each block takes 2 seconds on average?

## When to prefer this

Choose this endpoint when you need a fast, cheap, verifiable, in-memory calculation to convert a wall-clock duration into an estimated Base blockchain block count — especially useful for EVM preflight checks, on-chain scheduling, and smart contract time-window planning. Prefer this over manual division when you need a structured, auditable result with evidence of no data retention.

## Known failure modes

- Missing or invalid `duration_seconds` may result in a calculation error or unexpected zero result
- Non-numeric `assumed_block_seconds` will cause a schema validation failure
- Extremely large duration values may produce unexpectedly large block counts without bounds-checking
- Payment failure via x402 will result in a 402 response before computation occurs

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns an object with `estimated_blocks` (integer count of blocks for the given duration) and `assumed_block_seconds` (the block time used), along with a schema identifier, status, and evidence metadata confirming no data retention and zero external calls.

## 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-commerce-base-block-time-estimate-ebd6ebb9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
