{"uid":"cap_tpO-_xkXMsx_cMOGTF5N4","slug":"crypto-hash-selector-calculator-keccak256-sha256-ens-abi-selector-90c2e03b","name":"Crypto Hash & Selector Calculator (keccak256, sha256, ENS, ABI selector)","description":"Compute keccak256/sha256, a 4-byte function selector, an event topic0, or an ENS namehash/labelhash from a string or hex input.","url":"https://webtools402.176-109-107-191.sslip.io/crypto/hash","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["algo","input"],"properties":{"algo":{"enum":["keccak256","sha256","selector","event_topic","namehash","labelhash"],"type":"string"},"input":{"type":"string","description":"String / signature / ENS name / 0x-hex"},"encoding":{"enum":["utf8","hex"],"type":"string","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":null,"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_-x_YvxeGrSM3pipQ4kqB7","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":"Computes keccak256, sha256, 4-byte ABI function selectors, event topic0 hashes, ENS namehash, or ENS labelhash from a string or hex input.","exampleAgentPrompt":"What's the keccak256 hash of the UTF-8 string 'Hello, World!' and also give me the 4-byte ABI function selector for transfer(address,uint256)?","exampleUseCases":null,"resultDescription":"Returns the computed hash or selector as a hex string. For keccak256/sha256: a 32-byte hex digest. For selector: a 4-byte hex value. For event_topic: a 32-byte topic0. For namehash/labelhash: a 32-byte ENS-standard hash. Response is a JSON object with the result field.","failureModes":["Missing required 'algo' or 'input' query params returns 400","Invalid algorithm name not in enum returns 400","Hex input that is not valid hex returns 400 or parse error","Malformed ENS name for namehash/labelhash may return an error","Payment not provided or insufficient returns 402"],"whenToPreferThis":"Use this endpoint when an AI agent needs to compute blockchain-relevant hashes on demand — especially Ethereum ABI function selectors, event topic0 values, ENS namehash/labelhash, or general-purpose keccak256/sha256 digests — without running local crypto libraries. Ideal for Solidity development tooling, ENS resolution workflows, or verifying ABI encoding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:29.321Z","isFirstParty":false}