⚡ We welcome businesses to test our enterprise-grade service

gno
Gnosis Chain (GNO)

Method: POST web3_sha3

dropdown

方法 RPC web3_sha3 例如 Gnosis Chain (GNO)

POST web3_sha3

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

Parameters

DATA -

要转换为 SHA3 哈希的数据。

Request

curl --location --request POST 'https://gno.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"
}