# Keccak256 Hash Generator

> Keccak256 Hash Generator is a paid API for AI agents from chargers-borders-cedar-fig.trycloudflare.com, paid per call via x402, price unknown, status unknown (last checked 2026-09-15).

Computes the Keccak-256 cryptographic hash of a given input, commonly used in Ethereum and blockchain applications

## Facts

- Endpoint: POST https://chargers-borders-cedar-fig.trycloudflare.com/tools/keccak256
- Price: price unknown
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/keccak256-hash-generator-536e34b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T--x8UYmVWFIcnqOhruOa

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability keccak256-hash-generator-536e34b9 -d '<json body>'
```

Example prompt: Can you compute the keccak256 hash of the string 'Hello, World!' for me? I need it for an Ethereum smart contract function selector.

## When to prefer this

Choose this endpoint when you need a quick, serverless Keccak-256 hash computation without running a local crypto library — especially useful in blockchain/Ethereum contexts where SHA-3 (standard) and Keccak-256 differ and you specifically need the Ethereum-compatible variant.

## Known failure modes

- Missing or malformed 'input' field returns a 400-level error
- Unsupported HTTP method (e.g. GET) returns 405
- Empty body may return a hash of empty string or an error depending on server validation
- Service unavailability on the Cloudflare tunnel may return 502 or 504

## How this service works

opentools utility endpoint

## Output

Returns a 32-byte (64-character) hexadecimal Keccak-256 hash digest of the provided input, suitable for use in Ethereum smart contracts, ABI encoding, event topic generation, and other blockchain or cryptographic workflows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/keccak256-hash-generator-536e34b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chargers-borders-cedar-fig.trycloudflare.com](https://www.zero.xyz/host/chargers-borders-cedar-fig.trycloudflare.com/llms.txt)
