web3_sha3 - Fantom
Example code for the web3_sha3 json-rpc method. Сomplete guide on how to use web3_sha3 json-rpc in GetBlock.io Web3 documentation.
Parameters
DATA
- None
Data to convert to a SHA3 hash.
Request
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "web3_sha3",
"params": ["0x68656c6c6f20776f726c00"],
"id": "getblock.io"}'
Response
{
"id": "getblock.io",
"jsonrpc": "2.0",
"result": "0x5e39a0a66544c0668bde22d61c47a8710000ece931f13b84d3b2feb44ec96d3f"
}
Last updated