# EVM Finality Depth Check

> EVM Finality Depth 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 a transaction has reached finality on an EVM chain by comparing current block height, inclusion block, and required confirmation depth.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/evm-finality-depth-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/evm-finality-depth-check-235ba41f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4Wa3R6l2pWQvzIORAmaPK

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 evm-finality-depth-check-235ba41f -d '<json body>'
```

Example prompt: Check if a transaction included at block 19500000 has reached finality — the current block is 19500013 and we need 10 confirmations.

## When to prefer this

Use this endpoint when an AI agent needs a lightweight, stateless, in-memory computation to determine EVM transaction finality without making any external blockchain RPC calls. Prefer this over full on-chain queries when you already have block numbers from a prior lookup and just need the finality arithmetic and a structured pass/fail verdict — especially in automated workflows where a consistent schema and audit evidence trail are required.

## Known failure modes

- Missing required fields (current_block, inclusion_block, or required_confirmations) will result in a validation error
- Non-integer or negative block values may cause a computation error
- If current_block is less than inclusion_block, confirmations will be zero or negative, resulting in final=false
- Network or server errors may return a 5xx response

## How this service works

EVM Finality Depth Check: EVM Finality Depth Check checks confirmation count against a caller-required depth from bounded caller-supplied values without an external provider. Call EVM Finality Depth 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 Finality Depth Check as versioned deterministic JSON. Price: $0…

## Output

Returns a JSON object indicating whether the transaction is final (boolean), the computed number of confirmations (current_block minus inclusion_block), the required confirmations threshold, a pass/fail status, and an evidence object confirming no data was retained and no external calls were made. The schema identifier is delx/util-evm-finality-depth-check/v1.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "current_block": {
   "type": "integer",
   "description": "Current Block supplied to EVM Finality Depth Check; used only for this bounded calculation and processed in memory without retention."
  },
  "inclusion_block": {
   "type": "integer",
   "description": "Inclusion Block supplied to EVM Finality Depth Check; used only for this bounded calculation and processed in memory without retention."
  },
  "required_confirmations": {
   "type": "integer",
   "description": "Required Confirmations supplied to EVM Finality Depth Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "final": true,
   "confirmations": 13,
   "required_confirmations": 10
  },
  "schema": "delx/util-evm-finality-depth-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "a22f206fc93ec7aa456682a387c45bab6f2594ad1220aa7f26d7561636798f44",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_finality_depth_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-finality-depth-check-235ba41f/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)
