Skip to main content
Version: Next

web3 namespace

web3_clientVersion

Returns the current client version.

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "web3_clientVersion",
"params": []
}'

web3_sha3

Returns Keccak of the given data.

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "web3_sha3",
"params": [data]
}'