# Delx Commerce — EVM Finality Depth Check

> Delx Commerce — EVM Finality Depth 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-01).

Checks whether a transaction included at a given EVM block height has reached finality based on a required confirmation depth

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/evm-finality-depth-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-evm-finality-depth-check-e224354e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6vT1vkH9SbnPDpqn63f-d

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

Example prompt: Check if the transaction included at block 21500000 is final — the current block is 21500013 and I require at least 10 confirmations.

## When to prefer this

Choose this endpoint when an agent needs a lightweight, pay-per-call, verifiable finality depth check without setting up infrastructure or signing up for a service. It is ideal for EVM preflight checks in agentic pipelines where tamper-evident evidence (SHA-256 of inputs, no data retention) and a deterministic computation are required. Prefer it over full node queries when you only need a bounded depth calculation and want a receipted, auditable result for $0.001 USDC.

## Known failure modes

- Missing required fields (current_block, inclusion_block, or required_confirmations) result in a validation error
- current_block less than inclusion_block produces a negative depth, likely an error response
- Non-integer input types cause schema validation failure
- Payment failure via x402 (insufficient USDC balance) blocks the call

## 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 transaction is final (boolean), the number of confirmations accumulated (current_block minus inclusion_block), the required confirmation threshold, the operation schema identifier, a pass/fail status, and tamper-evident evidence including the SHA-256 hash of the input and a flag confirming no data was retained externally.

## 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/delx-commerce-evm-finality-depth-check-e224354e/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)
