Skip to main content

web3_sha3 RPC Method

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

Updated on
Oct 10, 2024

web3_sha3 RPC Method

Parameters

data
string
REQUIRED
The data in hexadecimal form to convert into a SHA3 hash

Returns

result
The SHA3 hash of the given string
Request
1
curl https://docs-demo.unichain-sepolia.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"web3_sha3","params":["0x68656c6c6f20776f726c64"],"id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free