跳转到内容

web3_sha3

此内容尚不支持你的语言。

Returns the Keccak-256 hash of the given data.

ParameterTypeRequiredDescription
datahexYesData to hash (hex-encoded)
{
"jsonrpc": "2.0",
"method": "web3_sha3",
"params": [
"0x68656c6c6f"
],
"id": 1
}
Terminal window
curl -X POST https://arb-mainnet.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"web3_sha3","params":["0x68656c6c6f"],"id":1}'