Web3_sha3

web3_sha3

post

Computes the Keccak-256 (SHA-3) hash of the given hex-encoded data.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstring · enumRequiredExample: web3_sha3Possible values:
paramsstring[] · min: 1 · max: 1Required

Array containing a single hex-encoded data string to hash.

Example: 0x68656c6c6f
idintegerRequiredExample: 1
Responses
chevron-right
200

JSON-RPC response with the Keccak-256 hash of the input data

application/json
jsonrpcstringRequiredExample: 2.0
idintegerRequiredExample: 1
resultstringRequired

The Keccak-256 (SHA-3) hash as a 0x-prefixed hex string.

Example: 0x5d41402abc4b2a76b9719d911017c592
post
/
200

JSON-RPC response with the Keccak-256 hash of the input data

Last updated