Skip to main content

web3_sha3 RPC Method

Calculates a cryptographic hash.

Updated on
Dec 4, 2024

web3_sha3 RPC Method

To use the web3_sha3 method on the C-Chain, ensure that the end of your URL includes ext/bc/C/ws.

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.flare-mainnet.quiknode.pro/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