web3_sha3

Returns the Keccak-256 hash of the given hex-encoded data. Despite the name `sha3`, this returns Keccak-256 — the variant standardized into Ethereum — not the later NIST-standardized SHA3-256. Useful for computing function selectors, event topic hashes, EIP-191/EIP-712 personal-sign digests, and any other Keccak-256 dependent value. ⚡ Compute Units: [15 CU](https://docs.conduit.xyz/rpc-nodes/information/compute-units)

Request

This endpoint expects an object.
datastringRequiredformat: "^0x[0-9a-fA-F]*$"

Data to hash, hex-encoded

Response

Keccak-256 hash of the input data, hex-encoded