Skip to main content

web3_sha3 RPC Method

Calculates a cryptographic hash.

Updated on
Nov 2, 2023

web3_sha3 RPC Method

Parameters

data
[]string
The data in hexform to convert into a SHA3 hash.

Returns

result
String
The SHA3 result ofthe given string.
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/C/rpc \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"method": "web3_sha3",
6
"params": [
7
"0x736e6f7773746f726d"
8
],
9
"id": 1
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free