Skip to main content

web3_sha3

Overview

The 'web3_sha3' returns Keccak-256 (not the standardized SHA3-256) of the given data.

Request

curl --request POST \
--url https://ethereum-mainnet-geth-archive.node.coinapi.io \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'X-CoinAPI-Key: 73034021-THIS-IS-SAMPLE-KEY' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "web3_sha3"
}'

Response

The method returns an array of 20-byte addresses associated with the client, formatted as hexadecimal strings.

{
"jsonrpc": "2.0",
"id": 1,
"result": []
}
  • Data - the SHA3 result of the given string.