web3_sha3,返回指定数据的Keccak-256(不是标准化的SHA3-256)。
参数:
params: [
'0x68656c6c6f20776f726c64'
]
返回:
例子:
// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"web3_sha3","params":["0x68656c6c6f20776f726c64"],"id":64}'
// Result
{
"id":64,
"jsonrpc": "2.0",
"result": "0x47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad"
}