New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

1 min read

Method web3_sha3 undefined ()
connect with JSON-RPC protocol

web3_sha3

info-circle-fill

Returns a SHA3 hash of the specified data. The result value is aKeccak-256 hash, not the standardized SHA3-256.

Parameters

DATA - None

Data to convert to a SHA3 hash.

Request

curl --location --request POST 'https://cro.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "web3_sha3",
"params": ["0x68656c6c6f20776f726c00"],
"id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0xabef0720dbe9129048cb811d0f5d2d300cf6c4e4612d5acbf1ebaff090b56a7e"
}
banner icon

Start Building with GetBlock RPCs for Free