POSTweb3_sha3

Tron Mainnethttps://tron-mainnet.nodit.io/

Returns the Keccak-256 hash of the input data. Note that this is Keccak-256, not the standardized SHA3-256.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsoneOf[]required

It contains following parameter in order:

  1. data: The data to hash, as a hexadecimal string. (required)
params[0]string

The data to hash. Pass it as a hexadecimal string.

Responses

응답 본문이 없습니다.

X-API-KEY
RequestCU10
cURL
curl -X POST "https://tron-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "web3_sha3",
  "params": [
    "0x68656c6c6f20776f726c64"
  ]
}'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad"
}