# Delx EVM Block Age Check

> Delx EVM Block Age Check 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).

Checks whether an EVM blockchain block is fresh by computing its age in seconds and comparing it against a maximum allowed age threshold.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/evm-block-age-check
- 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-evm-block-age-check-440b1609
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__00c_r_NQ8N9Mpyp72Ml8

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-evm-block-age-check-440b1609 -d '<json body>'
```

Example prompt: Check whether this EVM block is still fresh — the block timestamp is 1718000000, the current time is 1718000060, and the maximum acceptable age is 120 seconds.

## When to prefer this

Use this endpoint when an AI agent needs a fast, auditable, in-memory computation to determine whether an EVM block's timestamp falls within an acceptable recency window — particularly for preflight checks before executing blockchain transactions or DeFi operations. Prefer it over writing custom logic when you need the result to include cryptographic evidence (input hash) that no data was retained externally.

## Known failure modes

- Missing required fields (now_epoch, block_timestamp, maximum_age_seconds) result in a validation error
- block_timestamp greater than now_epoch may produce a negative age or unexpected behavior
- Non-integer values for timestamp fields cause schema rejection
- Payment failure or missing x402 authorization returns a 402 response

## How this service works

EVM Block Age Check: EVM Block Age Check checks caller-supplied block timestamp age against a freshness budget from bounded caller-supplied values without an external provider. Call EVM Block Age Check 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 EVM Block Age Check as versioned deterministic JSON. Price: $0.001 USD…

## Output

Returns a JSON object with a 'fresh' boolean, the computed 'age_seconds' integer, a 'status' field ('pass' or 'fail'), operation identifier, and an evidence object confirming no data was retained (includes input SHA-256 hash and zero external calls).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "now_epoch": {
   "type": "integer",
   "description": "Now Epoch supplied to EVM Block Age Check; used only for this bounded calculation and processed in memory without retention."
  },
  "block_timestamp": {
   "type": "integer",
   "description": "Block Timestamp supplied to EVM Block Age Check; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum_age_seconds": {
   "type": "integer",
   "description": "Maximum Age Seconds supplied to EVM Block Age Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "fresh": true,
   "age_seconds": 60
  },
  "schema": "delx/util-evm-block-age-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "35299ebdd9f3624ff763f9691ae29cecba1e988b07fb01f7a1f8cc466fa8a964",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_block_age_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-evm-block-age-check-440b1609/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)
