rsk

Rsk (RSK)

Method: POST web3_sha3

dropdown
POST

web3_sha3

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

Parameters

DATA - array of string

the data to convert into a SHA3 hash.

Request

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


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x6c86d1cab03a3b158d80562912b78b1e563c7ba0f175036939d38d570f0cb663"
}