{"uid":"cap_ygFGpLrGtrgWLM3J0Aug8","slug":"crypto-hash-ens-utility-x402helper-xyz-682f9af2","name":"Crypto Hash & ENS Utility (x402helper.xyz)","description":"X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.","url":"https://x402helper.xyz/89e509/crypto/hash?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["algo","input"],"properties":{"algo":{"enum":["keccak256","sha256","selector","event_topic","namehash","labelhash"],"type":"string","default":null},"input":{"type":"string","default":null,"description":"String / signature / ENS name / 0x-hex"},"encoding":{"enum":["utf8","hex"],"type":"string","default":null,"description":"How to read `input` for keccak256/sha256 (default utf8)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0FPjL20bkn9hl0GSKT0qQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes cryptographic hashes and Ethereum-specific encodings (keccak256, sha256, function selectors, event topics, ENS namehash/labelhash) for a given input string, paid via x402 USDC micropayment.","exampleAgentPrompt":"Can you compute the keccak256 hash of the UTF-8 string 'hello world' for me?","exampleUseCases":[{"title":"Solidity function selector lookup","prompt":"What's the 4-byte selector for the Solidity function signature 'transfer(address,uint256)'?"},{"title":"ENS namehash for domain","prompt":"Give me the ENS namehash for 'vitalik.eth' so I can use it in a smart contract call."},{"title":"Event topic hash for log filtering","prompt":"I need the keccak256 event topic for 'Transfer(address,address,uint256)' so I can filter Ethereum logs — can you compute that?"}],"resultDescription":"A JSON object with a 'success' boolean and a 'result' object containing the computed hash or encoding value (e.g. keccak256 digest, sha256 hex, 4-byte selector, event topic, namehash, or labelhash) for the given input and algorithm.","failureModes":["Unsupported algorithm value returns an error (only keccak256, sha256, selector, event_topic, namehash, labelhash are accepted)","Missing required query params (algo or input) returns a validation error","Invalid hex input when encoding is set to 'hex' causes a parsing error","x402 payment failure or insufficient USDC balance blocks the request","Malformed ENS name input may produce unexpected namehash results"],"whenToPreferThis":"Choose this endpoint when you need a quick, on-demand cryptographic hash or Ethereum-specific encoding (especially ENS namehash/labelhash or Solidity selectors) without running local code. It is particularly useful for AI agents operating in serverless or sandboxed environments that cannot execute JavaScript or Solidity libraries directly, and when the $0.002 per-call USDC micropayment via x402 is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:25.852Z","isFirstParty":false,"canonicalSlug":"crypto-hash-ens-utility-x402helper-xyz-682f9af2"}