Skip to main content

web3_sha3

Calculate Keccak-256 hash on the Unichain network.

Parameters​

Varies by method. Please refer to the Ethereum JSON-RPC specification for detailed parameter information.

Returns​

The return value depends on the specific method being called.

Implementation Example​

curl -X POST https://api-unichain-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "web3_sha3",
"params": [],
"id": 1
}'

Response Example​

{
"jsonrpc": "2.0",
"id": 1,
"result": "0x..."
}

Need help? Contact our support team or check the Unichain documentation.