# Delx EVM Chain Match Check

> Delx EVM Chain Match 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 a transaction's chain ID matches an expected EVM chain ID, returning a boolean match result and audit evidence.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/evm-chain-match-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-chain-match-check-3a30d4fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KItTS0J6S7UtKnrNexA9a

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-chain-match-check-3a30d4fd -d '<json body>'
```

Example prompt: Before I submit this transaction, check if the transaction chain ID 1 matches my expected chain ID 8453 — I need to make sure it's on the right EVM network.

## When to prefer this

Use this endpoint when an AI agent needs a lightweight, auditable, privacy-preserving preflight check to confirm EVM chain ID consistency before executing a blockchain transaction — especially when a tamper-evident SHA-256 input hash and a no-retention guarantee are required for compliance or audit trails.

## Known failure modes

- Missing required fields (expected_chain_id or transaction_chain_id) causes a validation error
- Non-integer chain ID values may be rejected
- Chain IDs that don't match return matched: false with status indicating failure, not an HTTP error
- Payment failure or insufficient USDC balance prevents execution

## How this service works

EVM Chain Match Check: EVM Chain Match Check compares transaction and expected chain identifiers from bounded caller-supplied values without an external provider. Call EVM Chain Match 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 Chain Match Check as versioned deterministic JSON. Price: $0.001 USDC via x402…

## Output

A JSON object containing a 'matched' boolean, the actual and expected chain IDs, a pass/fail status, and an evidence block with a SHA-256 hash of the inputs and confirmation that no external calls were made and no data was retained.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "expected_chain_id": {
   "type": "integer",
   "description": "Expected Chain Id supplied to EVM Chain Match Check; used only for this bounded calculation and processed in memory without retention."
  },
  "transaction_chain_id": {
   "type": "integer",
   "description": "Transaction Chain Id supplied to EVM Chain Match Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "matched": true,
   "actual_chain_id": 8453,
   "expected_chain_id": 8453
  },
  "schema": "delx/util-evm-chain-match-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "2cce3c222210e72942db98539fb969bde594c631c42bd033610c69b74484ac8c",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_chain_match_check"
 }
}
```

## More

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