🟪 Polygon
web3_sha3

Polygon API Documentation


web3_sha3 RPC method

Parameters

The data (String) you want to convert into a SHA3 hash in hexadecimal format.

Returns

The SHA3 result of the given string.

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xc267c60af10faf4b351dbaab3cc116bbfa033f89234a4357a9e018b5c7be5e51"
}

Request

Need RPC API keys?

Get 12.5M archival requests for free today.

POST https://<network>.chainnodes.org/YOUR-API-KEY

Request example

  • HTTPS POST Request with a JSON RPC call in the body

  • Replace YOUR-API-KEY with the API key from your CHAINNODES.ORG Dashboard

  • You can use a different supported network by replacing polygon-mainnet

curl https://polygon-mainnet.chainnodes.org/YOUR-API-KEY \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"web3_sha3","params":["0x436861696e6e6f6465732e6f726720616e642049206c6f766520796f75"],"id":1}'

💡 Confusing?

Ask our experienced blockchain developers in Telegram

JSON-RPC Polygon API Documentation by CHAINNODES is based on Erigon node client. Contact us if you are interested in specific methods that are only available on geth, besu, Nethermind or reth