Skip to main content

klay_sha3 RPC Method

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

Updated on
Aug 7, 2024

klay_sha3 RPC Method

Parameters

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

Returns

dATA
string
The SHA3 hash of the given string
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "klay_sha3",
6
"id": 1,
7
"jsonrpc": "2.0",
8
"params": [
9
"0x11223344"
10
]
11
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free