⚡ We welcome businesses to test our enterprise-grade service

/

Ethereum Classic (ETC)

etc
Ethereum Classic (ETC)

Method: POST web3_sha3

dropdown

方法 RPC web3_sha3 例如 Ethereum Classic (ETC)

POST web3_sha3

返回指定数据的SHA3哈希。 结果值是Keccak-256哈希,而不是标准化的SHA3-256。

Parameters

DATA - 没有任何

数据转换为SHA3哈希。

Request

curl --location --request POST 'https://etc.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--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"
}