API Reference

Returns Keccak-256 (not the standardized SHA3-256) of the given data.

Parameters

Params - a string array containing (required):

  • DATA(hex string, required) - The data in hex form to convert into a SHA3 hash.

web3_sha3 takes in a hexadecimal number, not a direct string. So, if you wanted to convert "hello world" to it's Keccak-256 hash you would need to input the hex number for "hello world", which is "68656c6c6f20776f726c64".

Returns

DATA(hex string) - the Keccak-256 hash of the given string.

Language
Click Try It! to start a request and see the response here!