# Delx EVM Event Log Shape Check

> Delx EVM Event Log Shape 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).

Validates that an EVM (Ethereum) event log object has a structurally correct shape, including required fields like address, topics, and data.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/evm-event-log-shape-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/delx-evm-event-log-shape-check-016d8286
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_apP0kkrKLNZfQCTmNEUcU

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

Example prompt: Can you check if this EVM event log object has a valid shape before I try to decode it? Here's the log: { address: '0x1111...', topics: ['0xaaaa...'], data: '0x' }

## When to prefer this

Use this endpoint when you need a fast, in-memory structural validation of an EVM event log before decoding, indexing, or forwarding it downstream. It is especially useful in agent pipelines processing raw blockchain data where malformed logs could cause silent failures. Prefer this over manually checking log fields when you need an auditable evidence record (sha256, no-retention guarantee, zero external calls).

## Known failure modes

- Malformed or missing 'log' property in request body returns an error
- Log object exceeds 128 property limit (maxProperties) causing rejection
- Network timeout or service unavailability returns a 5xx error
- Invalid JSON in request body causes a parse error
- Payment failure via x402 protocol results in 402 response before processing

## How this service works

EVM Event Log Shape Check: EVM Event Log Shape Check checks address, topics, and data shapes for a caller-supplied log from bounded caller-supplied values without an external provider. Call EVM Event Log Shape 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 Event Log Shape Check as versioned deterministic JSO…

## Output

Returns a JSON object with: shape_valid (boolean indicating structural correctness), the original log echoed back, a status field ('pass' or 'fail'), an operation identifier, and an evidence block containing the sha256 hash of the input, confirmation that no data was retained, and a count of zero external calls made.

## 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-evm-event-log-shape-check-016d8286/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)
