web3_sha3
Network: Arc · Mainnet · Chain ID 5042 (0x13b2)
Data: full node. Old-block state is not available on Arc; query recent blocks.
Counts as 1 request. See Request Counting.
Description
Returns the Keccak-256 hash of the given data.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
data | hex | Yes | Data to hash (hex-encoded) |
Request
{
"jsonrpc": "2.0",
"method": "web3_sha3",
"params": ["0x68656c6c6f"],
"id": 1
}Code Examples
curl -X POST https://arc-rpc.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"web3_sha3","params":["0x68656c6c6f"],"id":1}'