# Delx EVM Deadline Check

> Delx EVM Deadline 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-15).

Validates whether an EVM transaction deadline is still actionable given a current timestamp and minimum lead-time requirement.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/evm-deadline-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-evm-deadline-check-39f61c4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZlcetNLgsKrdhh6Cady55

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-deadline-check-39f61c4b -d '<json body>'
```

Example prompt: Before submitting this EVM transaction, check if the deadline at epoch 1720000000 is still valid — the current time is epoch 1719999700 and I need at least 60 seconds of lead time.

## When to prefer this

Use this endpoint when an AI agent or automated pipeline needs to preflight-check EVM transaction deadlines before submission — particularly in DeFi, on-chain automation, or smart contract workflows where submitting after a deadline wastes gas and fails on-chain. Prefer this over manual arithmetic when the check needs to be auditable (evidence block with input hash), stateless, and provably non-retaining.

## Known failure modes

- Invalid or missing now_epoch, deadline_epoch, or minimum_lead_seconds fields result in a validation error
- Deadline already passed (lead_seconds negative) returns within_window: false with status fail
- Minimum lead time not met returns within_window: false even if deadline is in the future
- Malformed integer inputs may cause a 400 Bad Request

## How this service works

EVM Deadline Check: EVM Deadline Check checks a transaction deadline against current time and minimum lead time from bounded caller-supplied values without an external provider. Call EVM Deadline 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 Deadline Check as versioned deterministic JSON. Price: $0.001 USDC…

## Output

Returns a JSON object with the computed lead_seconds (difference between deadline and now), a within_window boolean indicating if the deadline is still actionable given the minimum lead requirement, the minimum and maximum lead seconds bounds, a pass/fail status, and an evidence block confirming 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 Deadline Check; used only for this bounded calculation and processed in memory without retention."
  },
  "deadline_epoch": {
   "type": "integer",
   "description": "Deadline Epoch supplied to EVM Deadline Check; used only for this bounded calculation and processed in memory without retention."
  },
  "minimum_lead_seconds": {
   "type": "integer",
   "description": "Minimum Lead Seconds supplied to EVM Deadline Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "lead_seconds": 300,
   "within_window": true,
   "maximum_lead_seconds": 9223372036854776000,
   "minimum_lead_seconds": 60
  },
  "schema": "delx/util-evm-deadline-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "6837bc595d9c82af4770ef6b89ff2cab040826dc0d84c5e6251a7516cefbedb6",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_deadline_check"
 }
}
```

## More

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