⚡ Heavy Workload? We Offer Higher Rate Limits to Accelerate Your dApp Performance

bg pattern bg pattern xs
trx

Tron (TRX)

Method: POST web3_sha3

dropdown
POST

web3_sha3

Returns Keccak-256 (not the standardized SHA3-256) of the given data.

Parameters

data - data

the data to convert into a SHA3 hash

Request

curl --location --request POST 'https://trx.getblock.io/mainnet/fullnode/jsonrpc' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "web3_sha3",
"params": ["0xa85b2199eb52c7201939d4527b5bf19643cc16238f9d90f39412a50ada3de782"],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x11b5a58e51ba3f7dc2ed79d0e12c9d4714c985ebf0c274f0d70d8010685c91c0"
}