{"uid":"cap_x-4i19we85YY1sTYZyNvj","slug":"delx-evm-log-topic-count-check-c1ae8b96","name":"Delx EVM Log Topic Count Check","description":"EVM Log Topic Count Check: EVM Log Topic Count Check checks log topic count against an expected bound from bounded caller-supplied values without an external provider. Call EVM Log Topic Count 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 Log Topic Count Check as versioned deterministic JSON. Price: $0.001…","url":"https://api.delx.ai/api/v1/x402/evm-log-topic-count-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"topics":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Topics supplied to EVM Log Topic Count Check; used only for this bounded calculation and processed in memory without retention."},"maximum":{"type":"integer","description":"Maximum supplied to EVM Log Topic Count Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"topics":["0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"],"topic_count":1,"within_limit":true},"schema":"delx/util-evm-log-topic-count-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"94bb14a112913b6e521fe6f4d7a71088495e0a7177ac1eb18e1ff94e7d02627e","external_calls":0},"operation":"evm_preflight:evm_log_topic_count_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_1rk2_wmDE94Nz9i2ub_y0","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 the number of EVM log topics in a list does not exceed a specified maximum, returning a pass/fail result with evidence metadata.","exampleAgentPrompt":"Before I submit this Ethereum transaction, check that my log topics list — ['0xaaa...', '0xbbb...', '0xccc...', '0xddd...'] — doesn't exceed the maximum of 4 topics allowed per EVM log entry.","exampleUseCases":[{"title":"Preflight Ethereum event log submission","prompt":"I'm about to emit a Solidity event with these 5 topics: ['0x111...','0x222...','0x333...','0x444...','0x555...']. Check if that exceeds the EVM maximum of 4 and tell me whether it'll pass validation."},{"title":"Smart contract log topic compliance check","prompt":"My indexing pipeline is building EVM log filters with up to 3 topics each. Can you verify that this batch topic list ['0xabc...','0xdef...','0x123...'] is within a maximum of 3 before I send it downstream?"},{"title":"Dynamic log filter guard before RPC call","prompt":"I'm generating EVM log queries dynamically and need to make sure this topics array ['0xfoo...','0xbar...'] won't exceed a ceiling of 4 — run the topic count check and confirm it's safe to proceed."}],"resultDescription":"Returns the original topics array, the counted number of topics, a boolean indicating whether the count is within the specified maximum, an overall pass/fail status, and evidence metadata including a SHA-256 hash of the input and confirmation that no data was retained or external calls made.","failureModes":["Topics array exceeds 256 items — request rejected","Maximum not provided — validation may behave unexpectedly","Malformed topic strings longer than 8192 characters — schema validation error","Invalid JSON body — 400 error","Network timeout — no result returned"],"whenToPreferThis":"Use this endpoint when building EVM transaction or log-filter pipelines where you need a lightweight, auditable preflight check to confirm topic arrays stay within protocol or application-defined ceilings before broadcasting or indexing. Prefer it over custom code when you need an evidence trail (SHA-256 hash, retained:false attestation) for compliance or debugging purposes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:06:12.772Z","isFirstParty":false}