post https://api.infstones.com/bsc/mainnet/
Returns Keccak-256 (not the standardized SHA3-256) of the given data.
Parameters
Object Name | Required | Type | Detail |
---|---|---|---|
DATA | ✅ | String | The data to convert into a SHA3 hash. |
"params": [
"0x67656c6c6f20776f726c64"
]
Result
The Keccak-256 (not the standardized SHA3-256) of the given data.
Example
Request
curl <your-endpoint> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"web3_sha3","params":["0x67656c6c6f20776f726c64"],"id":1}'
Return
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1b84adea42d5b7d192fd8a61a85b25abe0757e9a65cab1da470258914053823f"
}