web3_sha3 - Mantle
web3_sha3. Traces the execution of all transactions in a block specified by its hash, providing detailed execution traces
web3_sha3 - mantle [Value: 10CU]
Traces the execution of all transactions in a block specified by its hash
Use cases
- Generate a Keccak-256 hash of input data
- Verify data integrity by hashing
- Create unique identifiers based on input content
Constraints
- Requires input data to be in hexadecimal format
- Input size affects processing time
- Returned hash may not be human-readable
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --location 'https://mantle.drpc.org' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "web3_sha3",
"params": ["0x68656c6c6f20776f726c64"],
"id": 1
}'
Response
200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x47173285a8d7341e3180db76a8f0a1048e8c9b84c0553e149eb1e8d330baf94d"
}
Request params
idinteger
jsonrpcstring
methodstring
string
datastring
The data to be hashed. The input data should be a hexadecimal string.
Response
200
The version of the client, including the name and version number, as a stringResponse params
object
idinteger
jsonrpcstring
resultstring