cURL
curl --request POST \ --url https://{network}.s.chainbase.online/v1/{api-key} \ --header 'Content-Type: application/json' \ --data ' { "id": 1, "jsonrpc": "2.0", "method": "web3_sha3", "params": [ "0xff" ] } '
{ "id": 1, "jsonrpc": "2.0", "result": "<string>" }
Returns Keccak-256 (not the standardized SHA3-256) of the given data.
Parameters
DATA - the data to convert into a SHA3 hash
DATA
params: [ "0x68656c6c6f20776f726c64" ]
Returns
DATA - The SHA3 result of the given string.
"demo"
1
"2.0"
Successful Response