{"slug":"api-agentstools-dev-crypto-hash-cb5be0","title":"Compute keccak256/sha256, a 4-byte function selector, an event topic0, or an ENS","host":"api.agentstools.dev","method":"GET","resource":"https://api.agentstools.dev/crypto/hash","category":"market","description":"Compute keccak256/sha256, a 4-byte function selector, an event topic0, or an ENS namehash/labelhash from a string or hex input.","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":6,"reported_payers_30d":5,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"algo":"selector","input":"transfer(address,uint256)"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"algo":{"enum":["keccak256","sha256","selector","event_topic","namehash","labelhash"],"type":"string"},"encoding":{"description":"How to read `input` for keccak256/sha256 (default utf8)","enum":["utf8","hex"],"type":"string"},"input":{"description":"String / signature / ENS name / 0x-hex","type":"string"}},"required":["algo","input"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Compute keccak256/sha256, a 4-byte function selector, an event topic0, or an ENS namehash/labelhash from a string or hex input.","last_updated":"2026-09-22T19:21:19.623Z","schemes":["exact"]}