{"uid":"cap_kVK5wUsccrGDv6TrY-QFj","slug":"delx-commerce-evm-log-topic-count-check-36adbdb2","name":"Delx Commerce — EVM Log Topic Count 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-log-topic-count-check?utm_source=zero.xyz","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_ajQEf0J1FD2QO5BCkiblj","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 a list of EVM log topics does not exceed a specified maximum count, returning the topic count and a pass/fail result.","exampleAgentPrompt":"Check if my EVM log topics list — [\"0xaaaa...bbbb\", \"0xcccc...dddd\"] — is within the maximum of 4 topics allowed, and tell me whether it passes the limit check.","exampleUseCases":[{"title":"Pre-submission log filter validation","prompt":"Before I call eth_getLogs, verify that my 3 topics [\"0xddf252ad...\", \"0x000...abc\", \"0x000...def\"] don't exceed the maximum of 4 allowed topics."},{"title":"Smart contract event preflight check","prompt":"I'm building an EVM event listener — can you confirm that this topics array with 5 entries exceeds the maximum of 4 and would fail the topic count check?"},{"title":"Automated agent transaction preflight","prompt":"As part of my on-chain workflow, check whether the topics [\"0xabc...\", \"0x123...\"] are within the limit of 2 topics so I know if it's safe to proceed with the transaction."}],"resultDescription":"Returns the original topics array, the counted number of topics, a boolean indicating whether the count is within the specified maximum, a pass/fail status string, and verifiable evidence including a SHA256 hash of the input and a flag confirming no data was retained or external calls made.","failureModes":["Topics array exceeds 256 items — request rejected","Individual topic string exceeds 8192 characters — request rejected","Missing or malformed maximum integer — validation cannot proceed","Payment failure via x402 protocol — call not executed","Malformed JSON body — 400 error returned"],"whenToPreferThis":"Use this endpoint when you need a cheap, verifiable, stateless preflight check on EVM log topic counts before executing on-chain queries or transactions. It is ideal for AI agents performing blockchain workflow automation that require tamper-evident, auditable validation evidence (SHA256 input hash, no retention, zero external calls). Prefer it over custom logic when you need cryptographic proof of the check and pay-per-result pricing without signup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:41.770Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-log-topic-count-check-36adbdb2"}