# Delx Commerce — EVM Block Age Check

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

Validates whether an EVM block timestamp is within a specified maximum age threshold, returning freshness status and age in seconds.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/evm-block-age-check?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-evm-block-age-check-891f4ff4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_chATv9xP4j1xwCosWkns9

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

Example prompt: Check whether an EVM block with timestamp 1717200000 is still fresh right now (current time 1717200060), with a maximum allowed age of 300 seconds.

## When to prefer this

Use this endpoint when you need a verifiable, pay-per-call, tamper-evident check of EVM block freshness before executing on-chain operations — especially when auditability (via input hash and no-retention guarantee) matters more than running the calculation locally.

## Known failure modes

- Missing required fields (now_epoch, block_timestamp, maximum_age_seconds) result in a validation error
- block_timestamp in the future relative to now_epoch may produce unexpected or negative age values
- Non-integer epoch values cause schema rejection
- Payment failure via x402 protocol blocks request execution

## How this service works

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

## Output

Returns a JSON object indicating whether the block is fresh (boolean), the computed age in seconds, a pass/fail status, and a verifiable evidence object including an input SHA-256 hash and confirmation that no data was retained and no external calls were made.

## 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-commerce-evm-block-age-check-891f4ff4/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)
