Skip to main content
POST
web3_sha3
Arc API method that returns the Keccak-256 hash of the given data. This is the same hashing algorithm used by Ethereum for various purposes.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • data — the data to hash (hex encoded)

Response

  • result — the Keccak-256 hash of the input data

Use case

The web3_sha3 method is useful for:
  • Computing function selectors (first 4 bytes of keccak256 of function signature)
  • Computing event topics
  • General-purpose hashing

web3_sha3 code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:web3_sha3
params
array

Response

200 - application/json

Returns the result of web3_sha3.

jsonrpc
string
id
integer
result
string
Last modified on August 3, 2026