web3_sha3 - Cronos

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": "0xabef0720dbe9129048cb811d0f5d2d300cf6c4e4612d5acbf1ebaff090b56a7e"
}

Last updated

© 2019-2024 GetBlock LLC. All rights reserved ID: 21835790. Address: Belgrade, Serbia.