Keccak-256 hash
keccak256Ethereum keccak256 of the input: returns the 32-byte digest and the 4-byte selector. encoding auto (default) hashes 0x-hex input as bytes and anything else as UTF-8 text; force utf8 or hex explicitly. The empty string is allowed. Up to 250000 bytes. Price: $0.01 USDC per call on Base mainnet ($0.001 on Base Sepolia), paid with x402; failed calls are not charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Data to hash, e.g. transfer(address,uint256) or 0xdeadbeef. | |
| encoding | No | auto (default), utf8, or hex. |