{"uid":"cap_Agseuzdxoh-1YI-2-4-QM","slug":"delx-commerce-evm-event-log-shape-check-31ec60a5","name":"Delx Commerce — EVM Event Log Shape Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/evm-event-log-shape-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YL8CcDUzn54bfc3DYj8vv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates the structural shape of an EVM event log object, confirming it has the expected fields and format without retaining any input data.","exampleAgentPrompt":"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...","exampleUseCases":[{"title":"Pre-index EVM log validation","prompt":"Before I store these Ethereum event logs in my indexer, can you check each one to confirm it has a valid shape — correct address, topics array, and data field?"},{"title":"Smart contract event preflight","prompt":"I'm about to decode a batch of Transfer events from my smart contract — can you validate the shape of this event log object first to make sure it won't break my parser?"},{"title":"Agent pipeline EVM log gate","prompt":"My agent just picked up this EVM event log from a webhook — can you do a quick shape check on it to verify it's structurally valid before passing it downstream?"}],"resultDescription":"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).","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:05.707Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-event-log-shape-check-31ec60a5"}