# Delx Commerce EVM Chain Match Check

> Delx Commerce EVM Chain Match 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).

Validates whether a transaction's chain ID matches an expected chain ID during EVM preflight checks

## Facts

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

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

Example prompt: Before I send this transaction, check if the chain ID in my transaction (8453) matches the chain I'm expecting it to go to (also 8453) — I want to make sure they're the same network.

## When to prefer this

Choose this endpoint when you need a lightweight, stateless, pay-per-call EVM chain ID comparison with cryptographic evidence of the computation — especially in agent workflows requiring auditable preflight checks before submitting on-chain transactions. Prefer it over home-grown comparisons when verifiability, no-signup simplicity, and USDC micropayment pricing matter.

## Known failure modes

- Missing required fields (expected_chain_id or transaction_chain_id) results in a validation error
- Non-integer chain ID values cause schema rejection
- Payment failure (insufficient USDC balance or x402 protocol error) blocks the request
- Network timeout or service unavailability returns a 5xx error

## 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 two chain IDs matched, the actual and expected chain IDs, a pass/fail status, and a verifiable evidence object including an input SHA-256 hash and confirmation that no data was retained or external calls made.

## 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-commerce-evm-chain-match-check-81eb63db/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)
