{"uid":"cap_N8eVgNgRYANPQ_s2zBAPq","slug":"delx-commerce-evm-calldata-word-count-7e9b547a","name":"Delx Commerce — EVM Calldata Word Count","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-calldata-word-count?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"calldata":{"type":"string","maxLength":8192,"description":"Calldata supplied to EVM Calldata Word Count; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"calldata":"0xa9059cbb0000000000000000000000001111111111111111111111111111111111111111","byte_count":36,"shape_valid":true,"complete_words":1,"partial_word_bytes":0},"schema":"delx/util-evm-calldata-word-count/v1","status":"pass","evidence":{"retained":false,"input_sha256":"1048e8d74a53c6ea3249086735deac2cb24ee3dd131a3852df0439253301d8de","external_calls":0},"operation":"evm_preflight:evm_calldata_word_count"}},"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_7HqLFf0u-ggHLWEq0a-4e","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":"Counts the number of 32-byte words in EVM calldata and validates its structural shape, returning byte count, complete words, and partial word bytes.","exampleAgentPrompt":"Count the 32-byte words in this EVM calldata and tell me whether the shape is valid: 0xa9059cbb0000000000000000000000001111111111111111111111111111111111111111.","exampleUseCases":[{"title":"Preflight calldata validation before transaction","prompt":"Before I broadcast this EVM transaction, check how many 32-byte ABI words are in this calldata and whether its shape is valid: 0xa9059cbb000000000000000000000000abcdef1234567890abcdef1234567890abcdef120000000000000000000000000000000000000000000000000de0b6b3a7640000"},{"title":"Debugging malformed smart contract call","prompt":"I'm getting a revert on my contract call — can you count the words in this calldata and tell me if the structure looks correct? 0x23b872dd000000000000000000000000aaaa0000000000000000000000000000bbbbbbbb"},{"title":"Auditing calldata encoding in agent workflow","prompt":"As part of our transaction signing pipeline, analyze this calldata and give me the byte count, complete word count, and any partial word bytes: 0x095ea7b30000000000000000000000001234567890abcdef1234567890abcdef12345678ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"resultDescription":"Returns a JSON object with the original calldata, total byte count, a boolean indicating whether the shape is valid (i.e., properly formed for EVM ABI), the number of complete 32-byte words, and the number of partial word bytes. Also includes an evidence object confirming the input was not retained, an SHA-256 hash of the input, and the number of external calls made (always 0).","failureModes":["Calldata exceeding 8192 characters will be rejected","Non-hex or malformed calldata strings may cause validation failure or shape_valid=false","Payment failure via x402 protocol will block request","Empty calldata input may return zero counts with shape_valid=false"],"whenToPreferThis":"Use this endpoint when you need a fast, trustless, pay-per-use computation of EVM calldata word count without running a local EVM toolchain. Ideal for agent workflows doing preflight validation of transaction calldata before submission, where verifiable evidence (input hash, no retention, no external calls) is required. Prefer over running a local ABI parser when you need an auditable, micro-priced result with cryptographic evidence of computation integrity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:28:18.465Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-calldata-word-count-7e9b547a"}