# Delx Commerce — EVM Event Log Shape Check

> Delx Commerce — EVM Event Log Shape 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 the structural shape of an EVM event log object, confirming it has the expected fields and format without retaining any input data.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/evm-event-log-shape-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-event-log-shape-check-31ec60a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Agseuzdxoh-1YI-2-4-QM

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-event-log-shape-check-31ec60a5 -d '<json body>'
```

Example prompt: Can you run a shape check on this EVM event log to make sure it's well-formed before I process it? The log has address 0x1111... and topics starting with 0xaaaa...

## When to prefer this

Choose this endpoint when you need a fast, cheap, verifiable preflight check on an EVM event log's structure before decoding, indexing, or passing it to downstream processing. It is ideal for agent pipelines that ingest blockchain events from untrusted sources and need a lightweight structural gate. Prefer it over custom validation logic when you want an auditable, pay-per-use check with cryptographic input hashing and no data retention guarantees.

## Known failure modes

- Malformed or non-object log input may return shape_valid: false
- Missing required log fields (topics, address) may cause validation failure
- Exceeding the 128-property limit on the log object may be rejected
- Payment failure via x402 will prevent the call from being processed
- Network timeout may cause no response

## 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 containing: a `shape_valid` boolean indicating whether the log is structurally valid, the echoed log fields (address, topics, data), a status of 'pass' or 'fail', an evidence block with a SHA-256 hash of the input (for verifiability), a flag confirming no data was retained, and the count of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "log": {
   "type": "object",
   "description": "Log supplied to EVM Event Log Shape Check; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "data": "0x",
   "topics": [
    "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
   ],
   "address": "0x1111111111111111111111111111111111111111",
   "shape_valid": true
  },
  "schema": "delx/util-evm-event-log-shape-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "c99f1364b981ec0522babeb968bdf09d84b11ac29a90633dd29159f232349caf",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_event_log_shape_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-evm-event-log-shape-check-31ec60a5/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)
