{"uid":"cap_apP0kkrKLNZfQCTmNEUcU","slug":"delx-evm-event-log-shape-check-016d8286","name":"Delx EVM Event Log Shape Check","description":"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…","url":"https://api.delx.ai/api/v1/x402/evm-event-log-shape-check","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_IHCAjvCvTPnUWngkgP9KN","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 that an EVM (Ethereum) event log object has a structurally correct shape, including required fields like address, topics, and data.","exampleAgentPrompt":"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' }","exampleUseCases":[{"title":"Pre-decode log validation pipeline","prompt":"Before I decode these Ethereum event logs from the latest block, can you verify each one has a valid shape — address, topics array, and data field — so I don't hit errors mid-pipeline?"},{"title":"Smart contract event monitoring sanity check","prompt":"I'm receiving event logs from a smart contract listener and some look malformed. Can you run a shape check on this log object to confirm it's structurally correct before I index it?"},{"title":"Cross-chain bridge log preflight","prompt":"I'm about to process this EVM event log from a bridge transaction. Can you do a shape-check preflight on it so I know it conforms to the expected EVM log structure before I pass it to the decoder?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:02:44.581Z","isFirstParty":false}