etc

ETC

POST

GET

chevron-right

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://etc.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": "0x5e39a0a66544c0668bde22d61c47a8710000ece931f13b84d3b2feb44ec96d3f"
}
banner icon

Start Building with GetBlock RPCs for Free